示例#1
0
Action()
{
	int iDebug;
	
	web_cleanup_cookies( );
		
	lr_start_transaction("_TIVApp_001_My_Test");
	
	lr_save_string("TIVApp_001_001_Homepage", "pTransactionName");
	
	web_reg_find("Fail=NotFound",
		"Search=Body",
		"Text=Test site.",
		LAST);

	web_reg_save_param("cServerName",
	    "LB=Set-Cookie: ROUTEID=.",
	    "RB=;",
	    "Notfound=warning",
	    LAST);
	
	web_reg_save_param("cVersion",
	    "LB=version\">",
	    "RB=<",
	    "Notfound=warning",
	    LAST);
	
	lr_start_transaction(lr_eval_string("{pTransactionName}"));
	
	web_url("Homepage", 
		"URL=http://{pURL}/", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=", 
		"Snapshot=t1.inf", 
		"Mode=HTML", 
		LAST);
	// Log Levels:
	// LR_MSG_CLASS_DISABLE_LOG
	// LR_MSG_CLASS_BRIEF_LOG
	// LR_MSG_CLASS_EXTENDED_LOG
	// LR_MSG_CLASS_RESULT_DATA
	// LR_MSG_CLASS_PARAMETERS
	// LR_MSG_CLASS_FULL_TRACE
	iDebug = lr_get_debug_message();

	lr_output_message("TIVMsg: Msg Level was: %d", iDebug);
	
	lr_set_debug_message(LR_MSG_CLASS_EXTENDED_LOG, LR_SWITCH_ON);
	
	lr_debug_message(LR_MSG_CLASS_EXTENDED_LOG | LR_MSG_CLASS_RESULT_DATA,"TIVMsg: %s loaded via server: %s", lr_eval_string("{pTransactionName}"), lr_eval_string("{cServerName}"));
	
	lr_set_debug_message(iDebug, LR_SWITCH_ON);
	
	lr_end_transaction(lr_eval_string("{pTransactionName}"), LR_AUTO);
	
	lr_end_transaction("_TIVApp_001_My_Test", LR_AUTO);
	
	return 0;
}
示例#2
0
Script_View_Action()
{
	lr_start_transaction("T01_Landing_URL");
	truclient_step("1", "Navigate to 'http://stormhelp.saas.h...tml/table1.html'", "snapshot=Action_1.inf");
	lr_end_transaction("T01_Landing_URL",0);
	truclient_step("2", "For ( var i = 1 ; i < 4 ; i++ )", "snapshot=Action_2.inf");
	{
		lr_start_transaction("T02_ClickOn_Refresh_Button");
		truclient_step("2.1", "Click on Refresh button", "snapshot=Action_2.1.inf");
		lr_end_transaction("T02_ClickOn_Refresh_Button",0);
	}
	truclient_step("3", "Evaluate JavaScript object.checked = !object.checked;  on onTable Cell gridcell", "snapshot=Action_3.inf");
}
EnrollAppHomePage()
{
	
	/*Correlation comment - Do not change!  Original value='YIoSW1xVv+XrSHY16uHVDEC4Q+jlB7PBIoHlxz03QQIBYLp3ByBPbq7RWU4qZsNyWH3ohPnCa06EI1OAGxicDg==' Name ='authenticity_token' Type ='Manual'*/
	web_reg_save_param_regexp("ParamName=authenticity_token","RegExp=\\ content=\"(.*?)\"\\ ","Ordinal=2",SEARCH_FILTERS,"Scope=Body","IgnoreRedirections=No",LAST);

	web_reg_find("Text=Welcome to DC Health Link | DC Health Link",
	             LAST);
	
//	web_link("Continue",
//	         "Text=Continue",
//	         "Snapshot=t3.inf",
//	         EXTRARES,
//	         "Url=http://{enrollAppLandingPage}/assets/AvenirLTStd-Light-af804d2ea26c0ab34f6d6f1c148e90b2.woff", "Referer=http://enroll-test.dchbx.org/assets/application-98fd18886e466dc937acbb564355ff71.css", ENDITEM,
//	         LAST);


	
	lr_start_transaction("EMPLYE_0001_LoadHomePage");
	
	web_url("{enrollAppLandingPage}",
	        "URL=http://{enrollAppLandingPage}",
	        "Resource=0",
	        "RecContentType=text/html",
	        "Referer=",
	        "Snapshot=t4.inf",
	        "Mode=HTML",
	        LAST);

	lr_end_transaction("EMPLYE_0001_LoadHomePage", LR_AUTO);
	
	lr_think_time(10);
	
	web_reg_find("Text=Health Insurance Marketplace",
	             LAST);
	
	lr_start_transaction("EMPLYE_0001_Click_on_Employee_Tab");

	web_link("Employee Portal",
	         "Text=Employee Portal",
	         "Snapshot=t5.inf",
	         LAST);

	lr_end_transaction("EMPLYE_0001_Click_on_Employee_Tab",LR_AUTO);
	
	lr_think_time(10);

	return 0;
}
Logout_Curam()
{
	lr_start_transaction("0998_Logout_Curam");
	
	addDynaTraceHeader("NA=0998_Logout_Curam{dp_UserID};PC=UIMIFrameWrapperPage.do_2");
	web_custom_request("UIMIFrameWrapperPage.do_2",
		"URL=https://{p_Webapp_URL}/CitizenPortal/en_US/UIMIFrameWrapperPage.do?uimPageID=LogoutWrapper&o3ctx={o3ctx}&dojo.preventCache=1443210495845",
		"Method=GET",
		"Resource=0",
		"RecContentType=text/html",
		"Referer=https://{p_Webapp_URL}/CitizenPortal/application.do",
		"Snapshot=t29.inf",
		"Mode=HTML",
		"EncType=application/x-www-form-urlencoded",
		LAST);
	
	lr_end_transaction("0998_Logout_Curam", LR_AUTO);
	
	lr_think_time(10);
		
	lr_start_transaction("0999_Logout_Curam");
	addDynaTraceHeader("NA=0999_Logout_Curam;PC=logout.jsp");
	web_url("logout.jsp",
		"URL=https://{p_Webapp_URL}/CitizenPortal/logout.jsp?end_url=https://{p_IA_URL}",
		"Resource=0",
		"RecContentType=text/html",
		"Referer=https://{p_Webapp_URL}/CitizenPortal/en_US/LogoutWrapperPage.do?o3ctx={o3ctx}&dojo.preventCache=1443210495845",
		"Snapshot=t30.inf",
		"Mode=HTML",
		LAST);
	
	lr_end_transaction("0999_Logout_Curam", LR_AUTO);
	
	lr_think_time(14);
	
	lr_start_transaction("1000_Last_Logout");
	
	addDynaTraceHeader("NA=1000_Last_Logout;PC=logout");
	web_submit_form("logout", 
		"Snapshot=t31.inf", 
		ITEMDATA, 
		LAST);
	lr_end_transaction("1000_Last_Logout", LR_AUTO);
	
	lr_think_time(14);
	
	return 0;
}
EmployeeTab()
{
	
	web_reg_find("Text=Employee Health Insurance",LAST);

//	web_add_cookie("has_js=1; DOMAIN=qa2.dchealthlink.com");

	lr_start_transaction("INTEG_EMPLYE_0000_2_Employee_Tab");

	web_link("Employee",
	         "Text=Employee",
	         "Snapshot=t2.inf",
	         EXTRARES,
	         "Url=/sites/all/themes/dchl/css/v2_3up_landing.css?nuf0fm", ENDITEM,
	         "Url=/sites/all/themes/dchl/img/icon/clipboard-green.png", "Referer={IntegratedURL}sites/all/themes/dchl/css/v2_3up_landing.css?nuf0fm", ENDITEM,
	         "Url=/sites/all/themes/dchl/img/icon/progress-green-on.png", "Referer={IntegratedURL}sites/all/themes/dchl/css/v2_3up_landing.css?nuf0fm", ENDITEM,
	         "Url=/sites/all/themes/dchl/img/icon/shop-green.png", "Referer={IntegratedURL}sites/all/themes/dchl/css/v2_3up_landing.css?nuf0fm", ENDITEM,
	         "Url=/sites/all/themes/dchl/img/icon/mouse-click-green.png", "Referer={IntegratedURL}sites/all/themes/dchl/css/v2_3up_landing.css?nuf0fm", ENDITEM,
	         "Url=/sites/all/themes/dchl/img/icon/details-md-grey.png", "Referer={IntegratedURL}sites/all/themes/dchl/css/shared.css?nuf0fm", ENDITEM,
	         "Url=/sites/all/themes/dchl/img/icon/person-circle-gray.png", "Referer={IntegratedURL}sites/all/themes/dchl/css/shared.css?nuf0fm", ENDITEM,
	         "Url=/sites/all/themes/dchl/img/icon/person-gray.png", "Referer={IntegratedURL}sites/all/themes/dchl/css/shared.css?nuf0fm", ENDITEM,
	         "Url=/sites/all/themes/dchl/img/icon/tax-filings-grey.png", "Referer={IntegratedURL}sites/all/themes/dchl/css/shared.css?nuf0fm", ENDITEM,
	         "Url=/sites/all/modules/extlink/extlink.png", "Referer={IntegratedURL}sites/all/modules/extlink/extlink.css?nuf0fm", ENDITEM,
	         LAST);

	lr_end_transaction("INTEG_EMPLYE_0000_2_Employee_Tab", LR_AUTO);


	return 0;
}
SmallBusinessTab()
{
	
	web_reg_find("Text=Small Business Health Insurance",
	             LAST);
	
	lr_start_transaction("INTEG_EMPLYR_0000_2_Small_Business_Tab");

	web_link("Small Business",
	         "Text=Small Business",
	         "Snapshot=t2.inf",
	         EXTRARES,
	         "Url=/sites/all/themes/dchl/css/v2_3up_landing.css?nu66an", ENDITEM,
	         "Url=/sites/all/themes/dchl/img/icon/shop-green.png", "Referer={IntegratedURL}sites/all/themes/dchl/css/v2_3up_landing.css?nu66an", ENDITEM,
	         "Url=/sites/all/themes/dchl/img/icon/clipboard-green.png", "Referer={IntegratedURL}sites/all/themes/dchl/css/v2_3up_landing.css?nu66an", ENDITEM,
	         "Url=/sites/all/themes/dchl/img/icon/mouse-click-green.png", "Referer={IntegratedURL}sites/all/themes/dchl/css/v2_3up_landing.css?nu66an", ENDITEM,
	         "Url=/sites/all/themes/dchl/img/icon/details-md-grey.png", "Referer={IntegratedURL}sites/all/themes/dchl/css/shared.css?nu66an", ENDITEM,
	         "Url=/sites/all/themes/dchl/img/icon/folder-sm-grey.png", "Referer={IntegratedURL}sites/all/themes/dchl/css/shared.css?nu66an", ENDITEM,
	         "Url=/sites/all/themes/dchl/img/icon/tax-filings-grey.png", "Referer={IntegratedURL}sites/all/themes/dchl/css/shared.css?nu66an", ENDITEM,
	         "Url=/sites/all/themes/dchl/img/icon/person-gray.png", "Referer={IntegratedURL}sites/all/themes/dchl/css/shared.css?nu66an", ENDITEM,
	         LAST);

	lr_end_transaction("INTEG_EMPLYR_0000_2_Small_Business_Tab", LR_AUTO);

	return 0;
}
示例#7
0
Logout()
{
	
	lr_start_transaction("EMPLYE_0100_Logout");
	
//	web_submit_data("sign_out",
//		"Action=http://{enrollAppLandingPage}/users/sign_out",
//		"Method=POST",
//		"TargetFrame=",
//		"RecContentType=text/html",
//		"Referer=http://{enrollAppLandingPage}/insured/plan_shoppings/{plan_shoppings}/thankyou?change_plan=&plan_id={plan_id}",
//		"Snapshot=t39.inf",
//		"Mode=HTML",
//		ITEMDATA,
//		"Name=_method", "Value=delete", ENDITEM,
//		"Name=authenticity_token", "Value={authenticity_token_4}", ENDITEM,
//		LAST);
	
		web_url("logout", 
		"URL=https://webpp.dchealthlink.com/oam/server/logout?end_url=https://webpp.dchealthlink.com/fed/user/logout?returnurl=https://preprod.dchealthlink.com", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=https://webpp.dchealthlink.com/oam/server/logout?end_url=https://webpp.dchealthlink.com/fed/user/logout?returnurl=https://preprod.dchealthlink.com", 
		"Snapshot=t81.inf", 
		"Mode=HTML", 
		LAST);	
	
	lr_end_transaction("EMPLYE_0100_Logout",LR_AUTO);
	
	return 0;
}
示例#8
0
OutputUsedDataRegister()
{
	//Connect to second VTS server
	pvci = vtc_connect(VtsServer2,nPort2,VTOPT_KEEP_ALIVE);
    //lr_output_message("pvci=%d\n", pvci);   
    
    lr_start_transaction("BP2_RegisterNew_WriteData");
    
    //Append rows of "used" data as well as unique identifier {_VTS_ID}
    ret = vtc_send_row1(pvci, 
                        "_VTS_ID;first_name;last_name;company_name;address;city;county;postal;phone1;phone2;email;web",
        				"{pVuserID}_{pTimeStamp};{first_name};{last_name};{company_name};{address};{city};{county};{postal};{phone1};{phone2};{email};{web}",
        				";",
        				VTSEND_SAME_ROW,
        				&status);
    
    lr_end_transaction("BP2_RegisterNew_WriteData", LR_AUTO);
    
	//lr_output_message("Row submission ret=%d\n", ret);
        
	//Disconnect from VTS
    vtc_disconnect(pvci);  
    
    return 0;
}
示例#9
0
文件: pre_cci.c 项目: hyteer/work
Action()
{

	lr_start_transaction("kp");


	web_service_call( "StepName=electronInvoice_102",
		"SOAPMethod=ElectronInvoiceSer|ElectronInvoiceSerHttpPort|electronInvoice",
		"ResponseParam=response",
		"Service=ElectronInvoiceSer",
		"ExpectedResponse=SoapResult",
		"Snapshot=t1457769024.inf",
		"BEGIN_ARGUMENTS",
		"xml=<ElectronInvoiceInput><UNI_BSS_HEAD><ORIG_DOMAIN>PTIS</ORIG_DOMAIN><SERVICE_NAME>ElectronInvoiceSer</SERVICE_NAME><OPERATE_NAME>electronInvoice</OPERATE_NAME><ACTION_CODE>0</ACTION_CODE><ACTION_RELATION>0</ACTION_RELATION><ROUTING><ROUTE_TYPE>36</ROUTE_TYPE><ROUTE_VALUE>18674453342</ROUTE_VALUE></ROUTING><PROC_ID>seq00001</PROC_ID><TRANS_IDO>seq00001</TRANS_IDO><TRANS_IDH></TRANS_IDH><PROCESS_TIME>201603111704001</PROCESS_TIME><RESPONSE><RSP_TYPE></RSP_TYPE><RSP_CODE></RSP_CODE><RSP_DESC></RSP_DESC></RESPONSE><COM_BUS_INFO><OPER_ID>yanff</OPER_ID><PROVINCE_CODE>0002</PROVINCE_CODE><EPARCHY_CODE>地市代码表</EPARCHY_CODE><CITY_CODE>区县编码</CITY_CODE><CHANNEL_ID>渠道编码</CHANNEL_ID><ACCESS_TYPE>1</ACCESS_TYPE><ORDER_TYPE>1</ORDER_TYPE></COM_BUS_INFO><SP_RESERVE><TRANS_IDC>ECIP0002seq00001</TRANS_IDC><CUTOFFDAY>20080608</CUTOFFDAY><OSNDUNS>0002</OSNDUNS><HSNDUNS>1100</HSNDUNS><CONV_ID>ECIP0002seq00001200806081200111</CONV_ID></SP_RESERVE><TEST_FLAG>0</TEST_FLAG><MSG_SENDER>1100</MSG_SENDER><MSG_RECEIVER>1101</MSG_RECEIVER></UNI_BSS_HEAD><UNI_BSS_BODY><ELECTRON_INVOICE_REQ><INVOICE_REQ_ID>lyl{lsh}</INVOICE_REQ_ID><MAKE_INVOICE_TYPE>0</MAKE_INVOICE_TYPE><SELLER_TAXPAYER_ID>440300568519737</SELLER_TAXPAYER_ID><SELLER_NAME>电子发票测试</SELLER_NAME><SELLER_ADD>深圳市南山区南海大道1057号科技大厦二期A栋601房</SELLER_ADD><SELLER_PHONE>0755-26027907</SELLER_PHONE><SELLER_BANK_ACCOUNT>31001669701052502638</SELLER_BANK_ACCOUNT><BUYER_TAXPAYER_ID></BUYER_TAXPAYER_ID><BUYER_NAME>张三</BUYER_NAME><BUYER_ADD>深圳市南山区深南大道1057号科技大厦二期A栋6888房</BUYER_ADD><BUYER_BANK_ACCOUNT>98888888701052502638</BUYER_BANK_ACCOUNT><BUYER_PHONE>18888888888</BUYER_PHONE><BUYER_EMAIL>[email protected]</BUYER_EMAIL><WRITE_MANAGER>admin</WRITE_MANAGER><RECE_FEE_MANAGER>admin</RECE_FEE_MANAGER><CHECK_MANAGER>admin</CHECK_MANAGER><ORG_INVOICE_CODE></ORG_INVOICE_CODE><ORG_INVOICE_NUM></ORG_INVOICE_NUM><TOTAL_PRICE_TAX>117</TOTAL_PRICE_TAX><TOTAL_FEE>100</TOTAL_FEE><TOTAL_TAX_PAY>17</TOTAL_TAX_PAY><PROJECT_INFO><INVOICE_COMPANY_NATURE>0</INVOICE_COMPANY_NATURE><PROJECT_NAME>洗衣粉</PROJECT_NAME><UNIT>袋</UNIT><MODEL>500克</MODEL><PROJECT_COUNT>1</PROJECT_COUNT><PROJECT_UNIT_PRICE>100</PROJECT_UNIT_PRICE><PROJECT_FEE>100</PROJECT_FEE><TAX_RATE>0.17</TAX_RATE><TAX_PAY>17</TAX_PAY></PROJECT_INFO><PARA><PARA_ID>保留字段ID</PARA_ID><PARA_VALUE>保留字段值</PARA_VALUE></PARA></ELECTRON_INVOICE_REQ></UNI_BSS_BODY><UNI_BSS_ATTACHED><MEDIA_INFO></MEDIA_INFO></UNI_BSS_ATTACHED></ElectronInvoiceInput>",
		"END_ARGUMENTS",
		"BEGIN_RESULT",
		"out=Param_out",
		"END_RESULT",
		"LAST");

lr_save_string( lr_eval_string("{Param_out}"),"a" );
	lr_replace("a","&lt;","<" );
	lr_replace( "a","&gt;",">" );
	lr_output_message("result:%s", lr_eval_string("{a}"));
   	lr_xml_get_values("XML={a}","FastQuery=/ElectronInvoiceOutput/UNI_BSS_BODY/ELECTRON_INVOICE_RSP/RESP_CODE", "ValueParam=strXml","LAST");
    lr_output_message("result:%s", lr_eval_string("{strXml}"));

	if(atoi(lr_eval_string("{strXml}"))==0){
      lr_output_message("result:%s", "交易成功");
      
	lr_end_transaction("kp", 2);

	}
	else{
      lr_error_message("result:%s", "交易失败");
      
	lr_end_transaction("kp", 2);

	}
   
return 0;
}
ExistingEmpLogin()
{
/*
	web_url("{enrollAppLandingPage}",
		"URL=http://{enrollAppLandingPage}/", 
		"TargetFrame=", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=", 
		"Snapshot=t27.inf", 
		"Mode=HTML", 
		LAST);

/*Correlation comment - Do not change!  Original value='EAwuBFT43sVRZgXcZ2+0HSU3kaJ5/leCM7UVa2rxQ7vhyXiA9F3y8mCaYtKLMvfd52uPZgBSb8cLHxAyw+jypg==' Name ='authenticity_token_5' Type ='Manual'*/
//	web_reg_save_param_regexp("ParamName=authenticity_token_5",	"RegExp=\\ content=\"(.*?)\"\\ ","Ordinal=2",	SEARCH_FILTERS,	"Scope=Body",	"IgnoreRedirections=Yes","RequestUrl=*/sign_in*",LAST);

/*	web_url("Employee Portal", 
		"URL=http://{enrollAppLandingPage}/consumer/employee/welcome", 
		"TargetFrame=", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=http://{enrollAppLandingPage}/", 
		"Snapshot=t28.inf", 
		"Mode=HTML", 
		LAST);
*/
	lr_start_transaction("EMPLYE_0005_ExistingAccountLogin");
	
	web_submit_data("sign_in",
		"Action=http://{enrollAppLandingPage}/users/sign_in",
		"Method=POST",
		"EncodeAtSign=YES",
		"TargetFrame=",
		"RecContentType=text/html",
		"Referer=http://{enrollAppLandingPage}/users/sign_in",
		"Snapshot=t29.inf",
		"Mode=HTML",
		ITEMDATA,
		"Name=utf8", "Value=?", ENDITEM,
		"Name=authenticity_token", "Value={authenticity_token_5}", ENDITEM,
		"Name=user[email]", "Value={EmpWorkEmail}", ENDITEM,
		"Name=user[password]", "Value=Abcd!234", ENDITEM,
		"Name=user[remember_me]", "Value=0", ENDITEM,
		"Name=commit", "Value=Sign in", ENDITEM,
		LAST);
	lr_end_transaction("EMPLYE_0005_ExistingAccountLogin", LR_AUTO);
	
	lr_think_time(10);
	
	return 0;
}
示例#11
0
Action()
{
	int rand_str, i;
	int rand_thinkTime;
	char StrTable[]="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890";
	char targetString[22]="";

	for (i=0; i<26; i++){
		rand_str=rand()%62;
		strncat(targetString, StrTable+rand_str, 1);
	}

	lr_save_string(targetString,"targetString_value");

	lr_start_transaction("Vote");

	web_reg_find("Text=\xCD\xB6\xC6\xB1\xB3\xC9\xB9\xA6!", //投票成功!
		LAST );

	web_add_auto_header("User-Agent", "{UserAgent}");

    web_custom_request("Voting",
        "Method=POST",
        "URL=http://www.4006880288.com/wtg1/mobile/user.php",
        "Body="
			"zpid=38&"
			"opid=owzeBj{targetString_value}&"
			"md_id=70&"
			"act=zuopin_toupiao",
        LAST);

	web_reg_find("Text=\xCD\xB6\xC6\xB1\xB3\xC9\xB9\xA6!", //投票成功!
		LAST );

	web_add_auto_header("User-Agent", "{UserAgent}");

    web_custom_request("VotingOthers",
        "Method=POST",
        "URL=http://www.4006880288.com/wtg1/mobile/user.php",
        "Body=zpid={zpid}&opid=owzeBj{targetString_value}&md_id=70&act=zuopin_toupiao",
        LAST);

	lr_end_transaction("Vote", LR_AUTO);

	rand_thinkTime = 3+ rand()%57;

	lr_think_time(rand_thinkTime);

	return 0;
}
示例#12
0
Action()
{
	truclient_step("1", "Initial Correlation Challenge landing page", "snapshot=Action_1.inf");
	{
		lr_start_transaction("Initial Correlation Challenge Load");
		truclient_step("1.1", "Navigate to 'http://www.myloadtest.c...tion-challenge/'", "snapshot=Action_1.1.inf");
		truclient_step("1.2", "Verify Correlation Challenge 's 'Visible Text' Contain Correlation Challenge", "snapshot=Action_1.2.inf");
		lr_end_transaction("Initial Correlation Challenge Load",0);
	}
	truclient_step("2", "Step 0 - Begin Correlation Challenge", "snapshot=Action_2.inf");
	{
		lr_start_transaction("Step 0 - Begin by clicking next");
		truclient_step("2.1", "Click on Next button", "snapshot=Action_2.1.inf");
		truclient_step("2.2", "Verify Step 1 's 'Visible Text' Contain Step 1", "snapshot=Action_2.2.inf");
		lr_end_transaction("Step 0 - Begin by clicking next",0);
	}
	truclient_step("5", "Step 1 - Enter the random number", "snapshot=Action_5.inf");
	{
		truclient_step("5.1", "Evaluate JavaScript code var content = document.g...lue',array[1]);", "snapshot=Action_5.1.inf");
		truclient_step("5.2", "Click on Step 1 Here is a simple... textbox", "snapshot=Action_5.2.inf");
		truclient_step("5.3", "Type TC.getParam('Step1Value');  in Step 1 Here is a simple... textbox", "snapshot=Action_5.3.inf");
		lr_start_transaction("Step 1 - Enter the random number");
		truclient_step("5.4", "Click on Next button", "snapshot=Action_5.4.inf");
		truclient_step("5.5", "Verify Step 1 's 'Visible Text' Contain Step 2", "snapshot=Action_5.5.inf");
		lr_end_transaction("Step 1 - Enter the random number",0);
	}
	truclient_step("6", "Step 2 - Select the default colour", "snapshot=Action_6.inf");
	{
		lr_start_transaction("Step 2 - Select the default colour");
		truclient_step("6.1", "Click on Next button", "snapshot=Action_6.1.inf");
		truclient_step("6.2", "Verify Step 1 's 'Visible Text' Contain Step 3", "snapshot=Action_6.2.inf");
		lr_end_transaction("Step 2 - Select the default colour",0);
	}
	truclient_step("8", "Step 3 - Select the in-stock items", "snapshot=Action_8.inf");
	{
		truclient_step("8.1", "Evaluate JavaScript code var re = /<td>In S...ount',counter);", "snapshot=Action_8.1.inf");
		truclient_step("8.3", "For ( var i = 1 ; i < eval(TC.getParam(...p3Value_count')) ; i++ )", "snapshot=Action_8.3.inf");
		{
			truclient_step("8.3.1", "Evaluate JavaScript code Step3Value=window.Step3V...'+i.toString())", "snapshot=Action_8.3.1.inf");
			truclient_step("8.3.2", "Click on Step3Value checkbox", "snapshot=Action_8.3.2.inf");
		}
		lr_start_transaction("Step 3 - Select the in-stock items");
		truclient_step("8.5", "Click on Next button", "snapshot=Action_8.5.inf");
		truclient_step("8.6", "Verify Step 1 's 'Visible Text' Contain Step 4", "snapshot=Action_8.6.inf");
		lr_end_transaction("Step 3 - Select the in-stock items",0);
	}
	truclient_step("9", "Step 4 - Final step", "snapshot=Action_9.inf");
	{
		lr_start_transaction("Step 4 - Final step");
		truclient_step("9.1", "Click on Next button", "snapshot=Action_9.1.inf");
		truclient_step("9.2", "Verify Correlation Challenge 's 'Visible Text' Contain Correlation Challenge", "snapshot=Action_9.2.inf");
		lr_end_transaction("Step 4 - Final step",0);
	}

	return 0;
}
IntegratedLandingPage()
{
	web_set_sockets_option("SSL_VERSION", "TLS1.1");

	web_reg_find("Text=Welcome to DC's Health Insurance Marketplace",
	             LAST);		
	
	lr_start_transaction("INTEG_UNASSISTED_0001_Integrated_Landing_Page");

	web_url("preprod.dchealthlink.com",
	        "URL={IntegratedURL}",
	        "Resource=0",
	        "RecContentType=text/html",
	        "Referer=",
	        "Snapshot=t60.inf",
	        "Mode=HTML",
	        EXTRARES,
	        "Url=/sites/all/modules/date/date_popup/themes/datepicker.1.7.css?nuobvv", ENDITEM,
	        "Url=/sites/all/modules/date/date_api/date.css?nuobvv", ENDITEM,
	        "Url=/sites/all/modules/calendar/css/calendar_multiday.css?nuobvv", ENDITEM,
	        "Url=/sites/all/modules/fences/field.css?nuobvv", ENDITEM,
	        "Url=/sites/all/modules/extlink/extlink.css?nuobvv", ENDITEM,
	        "Url=/sites/all/themes/dchl/css/bootstrap-theme.min.css?nuobvv", ENDITEM,
	        "Url=/sites/all/themes/dchl/css/bootstrap.min.css?nuobvv", ENDITEM,
	        "Url=/sites/all/modules/views/css/views.css?nuobvv", ENDITEM,
	        "Url=/sites/all/themes/dchl/css/bootstrap-theme.xtras.css?nuobvv", ENDITEM,
	        "Url=/sites/all/themes/dchl/css/shared.css?nuobvv", ENDITEM,
	        "Url=/sites/all/modules/ctools/css/ctools.css?nuobvv", ENDITEM,
	        "Url=/sites/all/themes/dchl/css/home.css?nuobvv", ENDITEM,
	        "Url=/sites/all/modules/custom/dchl_google_translate/dchl_google_translate.css?nuobvv", ENDITEM,
	        "Url=/sites/all/themes/dchl/img/stock/home-page-layout.jpg", "Referer={IntegratedURL}sites/all/themes/dchl/css/home.css?nuobvv", ENDITEM,
	        "Url=/sites/all/modules/extlink/extlink.png", "Referer={IntegratedURL}sites/all/modules/extlink/extlink.css?nuobvv", ENDITEM,
	        LAST);


	
//	web_link("I ACCEPT THE TERMS", 
//		"Text=I ACCEPT THE TERMS", 
//		"Snapshot=t2.inf", 
//		LAST);
	
	lr_end_transaction("INTEG_UNASSISTED_0001_Integrated_Landing_Page", LR_AUTO);

	
	return 0;
}
示例#14
0
ThankYou()
{
	
//	/*Correlation comment - Do not change!  Original value='QuYWdfLguh37O3Dh636EiCbi6rxzb12ujqySje47AkH/ZtgBocL7eaDsJADo/1EbpVrNA4iF8ZXcMJ59GvnAdg==' Name ='authenticity_token_7' Type ='ResponseBased'*/
//	web_reg_save_param_regexp(
//		"ParamName=authenticity_token_7",
//		"RegExp=\\ content=\"(.*?)\"\\ ",
//		"Ordinal=2",
//		SEARCH_FILTERS,
//		"Scope=Body",
//		"IgnoreRedirections=No",
//		LAST);

	web_reg_find("Text=Confirm Your Plan Selection",LAST);

	lr_think_time(9);
	
	lr_start_transaction("INTEG_UNASSISTED_0019_Thank_You");

//	web_submit_data("thankyou",
//	                "Action={enrollPreprodURL}/insured/plan_shoppings/{plan_shoppings}/thankyou?change_plan=&coverage_kind=health&enrollment_kind=sep&market_kind=individual&plan_id={plan_id}",
//	                "Method=POST",
//	                "RecContentType=text/html",
//	                "Referer={enrollPreprodURL}/insured/plan_shoppings/{plan_shoppings}?coverage_kind=health&enrollment_kind=sep&market_kind=individual",
//	                "Snapshot=t78.inf",
//	                "Mode=HTML",
//	                ITEMDATA,
//	                "Name=_method", "Value=post", ENDITEM,
//	                "Name=authenticity_token", "Value={authenticity_token_6}", ENDITEM,
//	                LAST);

	web_url("thankyou",
	        "URL={enrollPreprodURL}/insured/plan_shoppings/{plan_shoppings}/thankyou?change_plan=&coverage_kind=health&enrollment_kind=sep&market_kind=shop&plan_id={plan_id}",
	        "Resource=0",
	        "RecContentType=text/html",
	        "Referer={enrollPreprodURL}/insured/plan_shoppings/{plan_shoppings}?coverage_kind=health&enrollment_kind=sep&market_kind=shop",
	        "Snapshot=t14.inf",
	        "Mode=HTML",
	        LAST);
	
	lr_end_transaction("INTEG_UNASSISTED_0019_Thank_You", LR_AUTO);

	
	return 0;
}
示例#15
0
vuser_end()
{
	lr_start_transaction("Выход");
	
		web_reg_find("Text=Почта",
			LAST);

		web_url("passport_2", 
			"URL=https://passport.yandex.ru/passport?mode=logout&yu={LOGOUT_ID}",
			"Resource=0",
			"RecContentType=text/html", 
			"Snapshot=t108.inf", 
			"Mode=HTML", 
			LAST);

	lr_end_transaction("Выход", LR_AUTO);
	
	return 0;
}
示例#16
0
GetSourceDataRegister()  
{
	//Connect to first VTS server (may prefer to do this in vuser_init)
	pvci = vtc_connect(VtsServer1,nPort1,VTOPT_KEEP_ALIVE);
    //lr_output_message("pvci=%d\n", pvci);
	
    lr_start_transaction("BP1_RegisterNew_GetData");
    
	//Retrieve the topmost row, removes the row from the table.
	//To take data from the table non destructively, use the lrvtc_query_row function.	
	ret = vtc_retrieve_row(pvci, &colnames, &rowdata);
	//lr_output_message("Row retrieval ret=%d\n", ret);
	
	// Because the vtc_retrieve_row function returns an array, not a populated list
	// We have to check the content and save the parameters ourselves
	// If we stick to lrvtc_retrieve_row this step is unneeded

	if (!colnames){
	//	lr_output_message("No data found");
		lr_save_string("","first_name");
	}else
		for (inx=0; colnames[inx]; inx++){
			lr_save_string(rowdata[inx],colnames[inx]);
		}
	
    lr_end_transaction("BP1_RegisterNew_GetData", LR_AUTO);
    
    //Can refer to the variables returned from VTS using the parameter names.
    //lr_output_message("First name was  : %s . Last name was : %s", 
    //                  lr_eval_string("{first_name}"),
    //                  lr_eval_string("{last_name}"));
    
    //Deallocate the buffers containing arrays of returned strings
    vtc_free_list(colnames);
	vtc_free_list(rowdata);    

	//Disconnect from VTS (may prefer to do this in vuser_end)
    vtc_disconnect(pvci);  

	return 0;    
}
示例#17
0
Action()
{
	lr_start_transaction("T01_Landing_URL");
	truclient_step("1", "Navigate to 'http://stormhelp.saas.h...tml/table2.html'", "snapshot=Action_1.inf");
	lr_end_transaction("T01_Landing_URL",0);
	truclient_step("2", "Evaluate JavaScript var rows = object.rows.length; on element (1)", "snapshot=Action_2.inf");
	truclient_step("3", "For ( var i = 1 ; i <= rows ; i++ )", "snapshot=Action_3.inf");
	{
		truclient_step("3.1", "If Open gridcell exists", "snapshot=Action_3.1.inf");
		{
			truclient_step("3.1.1", "Evaluate JavaScript var theOpenText = object; on Open gridcell", "snapshot=Action_3.1.1.inf");
			truclient_step("3.1.2", "Evaluate JavaScript code var clickOn = theOpenTex...clickOn.click();", "snapshot=Action_3.1.2.inf");
		}
		truclient_step("Else");
		{
			truclient_step("3.1.1", "Break", "snapshot=Action_3.1.1.inf");
		}
	}

	return 0;
}
FinancialAssistanceCalculator()
{
	lr_start_transaction("INTEG_UNASSISTED_0003_Financial_Assistance_Calculator");

	web_reg_find("Text=DC Plan Comparison Tool 2016",
	             LAST);

	web_link("Financial Assistance Calculator",
	         "Text=Financial Assistance Calculator",
	         "Ordinal=1",
	         "Snapshot=t3.inf",
	         EXTRARES,
	         "Url=http://dc.checkbookhealth.org/hie/dc/2016/assets/img/icons/info-md-blue.png", "Referer=http://dc.checkbookhealth.org/hie/dc/2016/assets/css/globalV2.css", ENDITEM,
	         "Url=http://dc.checkbookhealth.org/hie/dc/2016/assets/img/icons/video-md-blue.png", "Referer=http://dc.checkbookhealth.org/hie/dc/2016/assets/css/globalV2.css", ENDITEM,
	         "Url=http://dc.checkbookhealth.org/hie/dc/2016/assets/img/icons/reload-md-blue.png", "Referer=http://dc.checkbookhealth.org/hie/dc/2016/assets/css/globalV2.css", ENDITEM,
	         LAST);

	lr_end_transaction("INTEG_UNASSISTED_0003_Financial_Assistance_Calculator", LR_AUTO);

	
	return 0;
}
示例#19
0
EnrollPage()
{

	web_reg_find("Text=DC Plan Comparison Tool 2015 - Enroll",
	             LAST);	
	
	lr_start_transaction("INTEG_UNASSISTED_0008_Enroll_Page");

	web_url("toEnroll.cfm",
	        "URL={CheckbookURL}/{Checkbook_specifics}/toEnroll.cfm?noLayout&track&planList=86052DC0400004-01&age=25&healthStatus=&medicalExpense=&smoker=&native=0&pregnant=0&county=Washington%20DC&canceledInsurance=&findSubsidy=NO&calculateSubsidy=0&householdNumber=1&income=&sort=2&docIDs=&coverage=&metal=&planType=&carrier=&doctorsFilter=&premiumFilter=&yearlyFilter=&badYearFilter=&deductibleFilter=&qualityFilter=&qm1=&qm2=&qm3=&qm4=&qm5=&qm6=&qm7=&qm8=&qm9=&qm10=&qm11=&qm12=&qm13=&qm14=&qm15=&network=",
	        "Resource=0",
	        "RecContentType=text/html",
	        "Referer={CheckbookURL}/{Checkbook_specifics}/plan.cfm?data="
	        "eyJGT1JNVkFMVUVTIjp7fSwiVVJMVkFMVUVTIjp7ImNvdmVyYWdlIjoiIiwicGxhbkxpc3QiOiI4NjA1MkRDMDQwMDAwNC0wMSIsInBsYW5UeXBlIjoiIiwiZmluZFN1YnNpZHkiOmZhbHNlLCJkZWR1Y3RpYmxlRmlsdGVyIjoiIiwibmF0aXZlIjowLCJzb3J0IjoyLCJoZWFsdGhTdGF0dXMiOiIiLCJjb3VudHkiOiJXYXNoaW5ndG9uIERDIiwibmV0d29yayI6IiIsImNhcnJpZXIiOiIiLCJkb2NJRHMiOiIiLCJxbTE1IjoiIiwibWVkaWNhbEV4cGVuc2UiOiIiLCJiYWRZZWFyRmlsdGVyIjoiIiwicW00IjoiIiwicW0xMiI6IiIsImNhbmNlbGVkSW5zdXJhbmNlIjoiIiwibWV0YWwiOiIiLCJxbTExIjoiIiwicW01IjoiIiwicW0xNCI6IiIsInFtNiI6IiIsInFtMT"
	        "MiOiIiLCJob3VzZWhvbGROdW1iZXIiOjEsInFtNyI6IiIsInFtOCI6IiIsImFnZSI6MjUsInFtOSI6IiIsInFtMTAiOiIiLCJxdWFsaXR5RmlsdGVyIjoiIiwieWVhcmx5RmlsdGVyIjoiIiwicW0xIjoiIiwiaW5jb21lIjoiIiwicW0yIjoiIiwiY2FsY3VsYXRlU3Vic2lkeSI6MCwicW0zIjoiIiwicHJlbWl1bUZpbHRlciI6IiIsInByZWduYW50IjowLCJkb2N0b3JzRmlsdGVyIjoiIiwic21va2VyIjoiIn19",
	        "Snapshot=t67.inf",
	        "Mode=HTML",
	        LAST);

	lr_end_transaction("INTEG_UNASSISTED_0008_Enroll_Page", LR_AUTO);
	
	return 0;
}
示例#20
0
int wi_end_transaction(){
	int rc=LR_PASS;
	
	/* Defined as globals at top of vuser_init():
	int 			  intHttpRetCode;
	int 			  intHttpMilliseconds;
	float 			floatHttpMilliseconds;
	int 			  intHttpSize;
	float 			floatHttpKBytes;
	*/

	// Using pTransName saved in wi_start_transaction before the transaction:
    lr_end_transaction(lr_eval_string("{pTransName}"),LR_AUTO);

    // Verify bad 400 HTTP return code from server and associated response such as "{error : invalid_grant}"
    // using LoadRunner internal function web_get_int_property():
	    intHttpRetCode 		= web_get_int_property(HTTP_INFO_RETURN_CODE);
  	    intHttpSize 		= web_get_int_property(HTTP_INFO_DOWNLOAD_SIZE);
	    intHttpMilliseconds = web_get_int_property(HTTP_INFO_DOWNLOAD_TIME);
	  floatHttpMilliseconds = (float)intHttpMilliseconds / 1000; // Convert from milliseconds to seconds.

	if (intHttpRetCode == 200 // no problem! OK
	||  intHttpRetCode == 304 // Already cached.
	){
		// move on.
	}else{
		wi_startPrintingError();
    	lr_error_message(">> HTML Return Code=%d, pJSONResponse=%s." 
		                 , intHttpRetCode
		                 , lr_eval_string("{pJSONResponse}") 
		                 );
		wi_stopPrinting();
		rc=LR_FAIL;
	}

    return rc;
} // wi_end_transaction
示例#21
0
Portfolio()
{
	lr_think_time(1);
	lr_start_transaction("Portfolio");


	status = web_url("Portfolio2",
		"URL=http://{Server}/TRADE/portfolio.aspx",
		"Resource=0",
		"RecContentType=text/html",
		"Referer=http://{Server}/trade2/Order.aspx",
		"Snapshot=t81.inf",
		"Mode=HTTP",
		LAST);
if (status == LR_FAIL)
{
     lr_error_message("Error: %s", "Portfolio Failed - Aborted VU");
     lr_abort();
}


lr_end_transaction("Portfolio", LR_AUTO);
return 0;
}
示例#22
0
Action()
{
		lr_start_transaction("WT3_T03_URL_Landing");

	web_url("index.htm", 
		"URL=http://127.0.0.1:1080/WebTours/index.htm", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=", 
		"Snapshot=t1.inf", 
		"Mode=HTML", 
		LAST);

	/* Request with GET method to URL "http://127.0.0.1:1080/favicon.ico" failed during recording. Server response : 404*/

	lr_end_transaction("WT3_T03_URL_Landing",LR_AUTO);


	lr_start_transaction("WT3_T08_SignIn");

	web_submit_data("login.pl_5", 
		"Action=http://127.0.0.1:1080/cgi-bin/login.pl", 
		"Method=POST", 
		"RecContentType=text/html", 
		"Referer=http://127.0.0.1:1080/cgi-bin/nav.pl?username=unknown&password=nobody", 
		"Snapshot=t7.inf", 
		"Mode=HTML", 
		ITEMDATA, 
		"Name=userSession", "Value={userSession_capture}", ENDITEM, 
		"Name=username", "Value=jojo", ENDITEM, 
		"Name=password", "Value=bean", ENDITEM, 
		"Name=JSFormSubmit", "Value=on", ENDITEM, 
		"Name=login.x", "Value=43", ENDITEM, 
		"Name=login.y", "Value=11", ENDITEM, 
		LAST);

	lr_end_transaction("WT3_T08_SignIn",LR_AUTO);

	lr_start_transaction("WT3_T21_Travel_Home");

	web_image("Home Button", 
		"Alt=Home Button", 
		"Snapshot=t8.inf", 
		LAST);

	lr_end_transaction("WT3_T21_Travel_Home",LR_AUTO);

	lr_start_transaction("WT3_T22_Travel_Search_Flight");

	web_image("Search Flights Button", 
		"Alt=Search Flights Button", 
		"Ordinal=1", 
		"Snapshot=t9.inf", 
		LAST);

	/* Request with GET method to URL "http://127.0.0.1:1080/WebTours/classes/" failed during recording. Server response : 403*/

	/* Request with GET method to URL "http://127.0.0.1:1080/WebTours/classes/" failed during recording. Server response : 403*/

	lr_end_transaction("WT3_T22_Travel_Search_Flight",LR_AUTO);

	lr_start_transaction("WT3_T23_Travel_Flight_Lookup");

	web_submit_form("reservations.pl", 
		"Snapshot=t10.inf", 
		ITEMDATA, 
		"Name=depart", "Value=Denver", ENDITEM, 
		"Name=departDate", "Value=07/18/2015", ENDITEM, 
		"Name=arrive", "Value=Los Angeles", ENDITEM, 
		"Name=returnDate", "Value=07/19/2015", ENDITEM, 
		"Name=numPassengers", "Value=1", ENDITEM, 
		"Name=roundtrip", "Value=<OFF>", ENDITEM, 
		"Name=seatPref", "Value=None", ENDITEM, 
		"Name=seatType", "Value=Coach", ENDITEM, 
		"Name=findFlights.x", "Value=39", ENDITEM, 
		"Name=findFlights.y", "Value=10", ENDITEM, 
		LAST);

	lr_end_transaction("WT3_T23_Travel_Flight_Lookup",LR_AUTO);

	lr_start_transaction("WT3_T24_Find_Flight");

	web_submit_form("reservations.pl_2", 
		"Snapshot=t11.inf", 
		ITEMDATA, 
		"Name=outboundFlight", "Value=030;251;07/18/2015", ENDITEM, 
		"Name=reserveFlights.x", "Value=47", ENDITEM, 
		"Name=reserveFlights.y", "Value=4", ENDITEM, 
		LAST);

	lr_end_transaction("WT3_T24_Find_Flight",LR_AUTO);

	lr_start_transaction("WT3_T25_Travel_Payment_Details");

	web_submit_form("reservations.pl_3", 
		"Snapshot=t12.inf", 
		ITEMDATA, 
		"Name=firstName", "Value=Jojo", ENDITEM, 
		"Name=lastName", "Value=Bean", ENDITEM, 
		"Name=address1", "Value=123 wood duck dr", ENDITEM, 
		"Name=address2", "Value=Euless/TX/76039", ENDITEM, 
		"Name=pass1", "Value=Jojo Bean", ENDITEM, 
		"Name=creditCard", "Value=123456789", ENDITEM, 
		"Name=expDate", "Value=12/15", ENDITEM, 
		"Name=saveCC", "Value=<OFF>", ENDITEM, 
		"Name=buyFlights.x", "Value=61", ENDITEM, 
		"Name=buyFlights.y", "Value=4", ENDITEM, 
		LAST);

	lr_end_transaction("WT3_T25_Travel_Payment_Details",LR_AUTO);

	lr_start_transaction("WT3_T33Travel_Check_Itinerary");

	web_image("Itinerary Button", 
		"Alt=Itinerary Button", 
		"Ordinal=1", 
		"Snapshot=t13.inf", 
		LAST);

	lr_end_transaction("WT3_T33Travel_Check_Itinerary",LR_AUTO);

	lr_start_transaction("WT3_T09_SignOut");

	web_image("SignOff Button", 
		"Alt=SignOff Button", 
		"Ordinal=1", 
		"Snapshot=t14.inf", 
		LAST);

	lr_end_transaction("WT3_T09_SignOut",LR_AUTO);

	return 0;
}
Curam_StartApp_Misc_URLS()
{
	
	lr_start_transaction("0010_Curam_StartApp_Misc_URLS");
	
		addDynaTraceHeader("NA=0010_Curam_StartApp_Misc_URLS_1_{dp_UserID};PC=0010_ExternalApplication.html");
		web_custom_request("0010_ExternalApplication.html", 
		"URL=https://{p_Webapp_URL}/CitizenPortal/CDEJ/jscript/curam/app/templates/ExternalApplication.html", 
		"Method=GET", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=https://{p_Webapp_URL}/CitizenPortal/application.do", 
		"Snapshot=t11.inf", 
		"Mode=HTML", 
		LAST);

	addDynaTraceHeader("NA=0010_Curam_StartApp_Misc_URLS_2_{dp_UserID};PC=Menu.html");
	web_custom_request("Menu.html", 
		"URL=https://{p_Webapp_URL}/CitizenPortal/CDEJ/jscript/ibmidxtk/idx/oneui/templates/Menu.html", 
		"Method=GET", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=https://{p_Webapp_URL}/CitizenPortal/application.do", 
		"Snapshot=t12.inf", 
		"Mode=HTML", 
		LAST);

	addDynaTraceHeader("NA=0010_Curam_StartApp_Misc_URLS_3_{dp_UserID};PC=_MenuColumn.html");
	web_custom_request("_MenuColumn.html", 
		"URL=https://{p_Webapp_URL}/CitizenPortal/CDEJ/jscript/ibmidxtk/idx/oneui/templates/_MenuColumn.html", 
		"Method=GET", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=https://{p_Webapp_URL}/CitizenPortal/application.do", 
		"Snapshot=t13.inf", 
		"Mode=HTML", 
		LAST);

	addDynaTraceHeader("NA=0010_Curam_StartApp_Misc_URLS_4_{dp_UserID};PC=HoverCard.html");
	web_custom_request("HoverCard.html", 
		"URL=https://{p_Webapp_URL}/CitizenPortal/CDEJ/jscript/ibmidxtk/idx/oneui/templates/HoverCard.html", 
		"Method=GET", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=https://{p_Webapp_URL}/CitizenPortal/application.do", 
		"Snapshot=t14.inf", 
		"Mode=HTML", 
		LAST);

	addDynaTraceHeader("NA=0010_Curam_StartApp_Misc_URLS_5_{dp_UserID};PC=MenuDialog.html");
	web_custom_request("MenuDialog.html", 
		"URL=https://{p_Webapp_URL}/CitizenPortal/CDEJ/jscript/ibmidxtk/idx/oneui/templates/MenuDialog.html", 
		"Method=GET", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=https://{p_Webapp_URL}/CitizenPortal/application.do", 
		"Snapshot=t15.inf", 
		"Mode=HTML", 
		LAST);

	addDynaTraceHeader("NA=0010_Curam_StartApp_Misc_URLS_6_{dp_UserID};PC=MenuHeading.html");
	web_custom_request("MenuHeading.html", 
		"URL=https://{p_Webapp_URL}/CitizenPortal/CDEJ/jscript/ibmidxtk/idx/oneui/templates/MenuHeading.html", 
		"Method=GET", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=https://{p_Webapp_URL}/CitizenPortal/application.do", 
		"Snapshot=t16.inf", 
		"Mode=HTML", 
		LAST);

	addDynaTraceHeader("NA=0010_Curam_StartApp_Misc_URLS_7_{dp_UserID};PC=HoverHelpTooltip.html");
	web_custom_request("HoverHelpTooltip.html", 
		"URL=https://{p_Webapp_URL}/CitizenPortal/CDEJ/jscript/ibmidxtk/idx/oneui/templates/HoverHelpTooltip.html", 
		"Method=GET", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=https://{p_Webapp_URL}/CitizenPortal/application.do", 
		"Snapshot=t17.inf", 
		"Mode=HTML", 
		LAST);

	addDynaTraceHeader("NA=0010_Curam_StartApp_Misc_URLS_8_{dp_UserID};PC=InlineDropDown.html");
	web_custom_request("InlineDropDown.html", 
		"URL=https://{p_Webapp_URL}/CitizenPortal/CDEJ/jscript/cwtk/widget/templates/InlineDropDown.html", 
		"Method=GET", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=https://{p_Webapp_URL}/CitizenPortal/application.do", 
		"Snapshot=t18.inf", 
		"Mode=HTML", 
		LAST);

	addDynaTraceHeader("NA=0010_Curam_StartApp_Misc_URLS_9_{dp_UserID};PC=Rotator.html");
	web_custom_request("Rotator.html", 
		"URL=https://{p_Webapp_URL}/CitizenPortal/CDEJ/jscript/cwtk/widget/templates/Rotator.html", 
		"Method=GET", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=https://{p_Webapp_URL}/CitizenPortal/application.do", 
		"Snapshot=t19.inf", 
		"Mode=HTML", 
		LAST);

	addDynaTraceHeader("NA=0010_Curam_StartApp_Misc_URLS_10_{dp_UserID};PC=MenuItem.html");
	web_custom_request("MenuItem.html", 
		"URL=https://{p_Webapp_URL}/CitizenPortal/CDEJ/jscript/cwtk/widget/templates/MenuItem.html", 
		"Method=GET", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=https://{p_Webapp_URL}/CitizenPortal/application.do", 
		"Snapshot=t20.inf", 
		"Mode=HTML", 
		LAST);

	addDynaTraceHeader("NA=0010_Curam_StartApp_Misc_URLS_11_{dp_UserID};PC=TitlePane.html");
	web_custom_request("TitlePane.html", 
		"URL=https://{p_Webapp_URL}/CitizenPortal/CDEJ/jscript/cwtk/widget/templates/TitlePane.html", 
		"Method=GET", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=https://{p_Webapp_URL}/CitizenPortal/application.do", 
		"Snapshot=t21.inf", 
		"Mode=HTML", 
		LAST);

	addDynaTraceHeader("NA=0010_Curam_StartApp_Misc_URLS_12_{dp_UserID};PC=DropDown.html");
	web_custom_request("DropDown.html", 
		"URL=https://{p_Webapp_URL}/CitizenPortal/CDEJ/jscript/cwtk/widget/templates/DropDown.html", 
		"Method=GET", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=https://{p_Webapp_URL}/CitizenPortal/application.do", 
		"Snapshot=t22.inf", 
		"Mode=HTML", 
		LAST);

	addDynaTraceHeader("NA=0010_Curam_StartApp_Misc_URLS_13_{dp_UserID};PC=ContrastModeChooser.html");
	web_custom_request("ContrastModeChooser.html", 
		"URL=https://{p_Webapp_URL}/CitizenPortal/CDEJ/jscript/cwtk/widget/templates/ContrastModeChooser.html", 
		"Method=GET", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=https://{p_Webapp_URL}/CitizenPortal/application.do", 
		"Snapshot=t23.inf", 
		"Mode=HTML", 
		LAST);

	addDynaTraceHeader("NA=0010_Curam_StartApp_Misc_URLS_14_{dp_UserID};PC=PathResolver");
	web_submit_data("PathResolver", 
		"Action=https://{p_Webapp_URL}/CitizenPortal/servlet/PathResolver?r=j&p=/config/tablayout/extapp[CITWSAPP]", 
		"Method=POST", 
		"RecContentType=text/plain", 
		"Referer=https://{p_Webapp_URL}/CitizenPortal/application.do", 
		"Snapshot=t24.inf", 
		"Mode=HTML", 
		ITEMDATA, 
		"Name=dojo.preventCache", "Value=1443210486406", ENDITEM, 
		LAST);

	addDynaTraceHeader("NA=0010_Curam_StartApp_Misc_URLS_15_{dp_UserID};PC=CitizenWorkspace_userHomeResolverPage.do");
	web_custom_request("CitizenWorkspace_userHomeResolverPage.do",
		"URL=https://{p_Webapp_URL}/CitizenPortal/en_US/CitizenWorkspace_userHomeResolverPage.do?o3ctx={o3ctx}&testParam1=1&testParam2=2&dojo.preventCache=1443210486411",
		"Method=GET",
		"Resource=0",
		"RecContentType=text/html",
		"Referer=https://{p_Webapp_URL}/CitizenPortal/application.do",
		"Snapshot=t25.inf",
		"Mode=HTML",
		"EncType=application/x-www-form-urlencoded",
		LAST);

	addDynaTraceHeader("NA=0010_Curam_StartApp_Misc_URLS_16_{dp_UserID};PC=CitizenWorkspace_userHomeResolverPage.do_2");
	web_custom_request("CitizenWorkspace_userHomeResolverPage.do_2",
		"URL=https://{p_Webapp_URL}/CitizenPortal/en_US/CitizenWorkspace_userHomeResolverPage.do?o3ctx={o3ctx}&dojo.preventCache=1443210487060",
		"Method=GET",
		"Resource=0",
		"RecContentType=text/html",
		"Referer=https://{p_Webapp_URL}/CitizenPortal/application.do",
		"Snapshot=t26.inf",
		"Mode=HTML",
		"EncType=application/x-www-form-urlencoded",
		LAST);

	addDynaTraceHeader("NA=0010_Curam_StartApp_Misc_URLS_17_{dp_UserID};PC=application-banner-fragment.jspx");
	web_custom_request("application-banner-fragment.jspx", 
		"URL=https://{p_Webapp_URL}/CitizenPortal/CDEJ/extapp/application-banner-fragment.jspx?dojo.preventCache=1443210487043", 
		"Method=GET", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=https://{p_Webapp_URL}/CitizenPortal/application.do", 
		"Snapshot=t27.inf", 
		"Mode=HTML", 
		"EncType=application/x-www-form-urlencoded", 
		LAST);

	addDynaTraceHeader("NA=0010_Curam_StartApp_Misc_URLS_18_{dp_UserID};PC=UIMIFrameWrapperPage.do");
	web_custom_request("UIMIFrameWrapperPage.do",
		"URL=https://{p_Webapp_URL}/CitizenPortal/en_US/UIMIFrameWrapperPage.do?uimPageID=StandardUser_home&o3ctx={o3ctx}&pageParams=&dojo.preventCache=1443210488053",
		"Method=GET",
		"Resource=0",
		"RecContentType=text/html",
		"Referer=https://{p_Webapp_URL}/CitizenPortal/application.do",
		"Snapshot=t28.inf",
		"Mode=HTML",
		"EncType=application/x-www-form-urlencoded",
		EXTRARES,
		"URL=../servlet/PathResolver?r=i&p=/config/tablayout/image[ext-banner-user-arrow.png]", "Referer=https://{p_Webapp_URL}/CitizenPortal/CDEJ/extapp/themes/curam-extapp/application-banner.css", ENDITEM,
		"URL=../CDEJ/jscript/curam/core-uim.js", "Referer=https://{p_Webapp_URL}/CitizenPortal/en_US/StandardUser_homePage.do?pageParams=&o3ctx={o3ctx}&dojo.preventCache=1443210488053", ENDITEM,
		"URL=../CDEJ/jscript/dojotk/dojo/nls/cdej_en-us.js", "Referer=https://{p_Webapp_URL}/CitizenPortal/en_US/StandardUser_homePage.do?pageParams=&o3ctx={o3ctx}&dojo.preventCache=1443210488053", ENDITEM,
		"URL=../CDEJ/jscript/curam/application/nls/TabMenu.js", "Referer=https://{p_Webapp_URL}/CitizenPortal/en_US/StandardUser_homePage.do?pageParams=&o3ctx={o3ctx}&dojo.preventCache=1443210488053", ENDITEM,
		"URL=../CDEJ/jscript/curam/application/nls/en/TabMenu.js", "Referer=https://{p_Webapp_URL}/CitizenPortal/en_US/StandardUser_homePage.do?pageParams=&o3ctx={o3ctx}&dojo.preventCache=1443210488053", ENDITEM,
		"URL=../CDEJ/jscript/curam/application/nls/en-us/TabMenu.js", "Referer=https://{p_Webapp_URL}/CitizenPortal/en_US/StandardUser_homePage.do?pageParams=&o3ctx={o3ctx}&dojo.preventCache=1443210488053", ENDITEM,
		LAST);

	lr_end_transaction("0010_Curam_StartApp_Misc_URLS", LR_AUTO);
		
	lr_think_time(4);


	
	return 0;
}
示例#24
0
Action()
{

	web_set_sockets_option("SSL_VERSION", "TLS1.1");

	web_url("10.83.84.161", 
		"URL=https://{host_10_83_84_161}/", 
		"TargetFrame=", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=", 
		"Snapshot=t1.inf", 
		"Mode=HTML", 
		EXTRARES, 
		"Url=http://{host_download_cdn_mozilla_net}/pub/firefox/releases/39.0/update/win32/en-US/firefox-39.0.complete.mar", "Referer=", ENDITEM, 
		"Url=/assets/AvenirLTStd-Light-af804d2ea26c0ab34f6d6f1c148e90b2.woff", "Referer=https://{host_10_83_84_161}/assets/application-1d6fbb9c01f0a4dc6b6bda4791921934.css", ENDITEM, 
		"Url=/assets/jquery-ui/ui-bg_flat_75_ffffff_40x100-d20cf782ea2d212335fa15f2ecb5e412.png", "Referer=https://{host_10_83_84_161}/assets/application-1d6fbb9c01f0a4dc6b6bda4791921934.css", ENDITEM, 
		"Url=/assets/jquery-ui/ui-bg_highlight-soft_75_cccccc_1x100-fcf0ee4ce3fcc9eb7d15fc0c2f96b827.png", "Referer=https://{host_10_83_84_161}/assets/application-1d6fbb9c01f0a4dc6b6bda4791921934.css", ENDITEM, 
		"Url=/assets/jquery-ui/ui-icons_222222_256x240-c9d45cbe79fa6dab691c8b7438a5c815.png", "Referer=https://{host_10_83_84_161}/assets/application-1d6fbb9c01f0a4dc6b6bda4791921934.css", ENDITEM, 
		"Url=/assets/jquery-ui/ui-bg_glass_75_e6e6e6_1x400-79e6a336ebef984293eef201f783ce65.png", "Referer=https://{host_10_83_84_161}/assets/application-1d6fbb9c01f0a4dc6b6bda4791921934.css", ENDITEM, 
		"Url=/assets/jquery-ui/ui-bg_glass_75_dadada_1x400-5219036e0b535359bab02dc6d9a329c3.png", "Referer=https://{host_10_83_84_161}/assets/application-1d6fbb9c01f0a4dc6b6bda4791921934.css", ENDITEM, 
		"Url=/assets/jquery-ui/ui-bg_glass_55_fbf9ee_1x400-b78c474f171fc7320cb93907b8d44b77.png", "Referer=https://{host_10_83_84_161}/assets/application-1d6fbb9c01f0a4dc6b6bda4791921934.css", ENDITEM, 
		"Url=/assets/jquery-ui/ui-bg_glass_65_ffffff_1x400-bddba5b8ad3fb6e9bb6e44d64bf147af.png", "Referer=https://{host_10_83_84_161}/assets/application-1d6fbb9c01f0a4dc6b6bda4791921934.css", ENDITEM, 
		"Url=/assets/glyphicons-halflings-regular-d6e0ff593059a0d876be4db9d38ed499.woff", "Referer=https://{host_10_83_84_161}/assets/application-1d6fbb9c01f0a4dc6b6bda4791921934.css", ENDITEM, 
		"Url=/assets/fontawesome-webfont-910e0931fc81458bc886f7722d35e127.woff?v=4.3.0", "Referer=https://{host_10_83_84_161}/assets/application-1d6fbb9c01f0a4dc6b6bda4791921934.css", ENDITEM, 
		LAST);

	lr_start_transaction("Click on Employer Portal");

	web_url("Employer Portal", 
		"URL=https://{host_10_83_84_161}/employers/employer_profiles/new", 
		"TargetFrame=", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=https://{host_10_83_84_161}/", 
		"Snapshot=t2.inf", 
		"Mode=HTML", 
		LAST);

	lr_end_transaction("Click on Employer Portal",LR_AUTO);

	lr_think_time(11);

	lr_start_transaction("Click on Create Account");

	web_url("Create account", 
		"URL=https://{host_10_83_84_161}/users/sign_up", 
		"TargetFrame=", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=https://{host_10_83_84_161}/users/sign_in", 
		"Snapshot=t3.inf", 
		"Mode=HTML", 
		LAST);

	lr_end_transaction("Click on Create Account",LR_AUTO);

	lr_start_transaction("Create Account");

	web_submit_data("users", 
		"Action=https://{host_10_83_84_161}/users", 
		"Method=POST", 
		"TargetFrame=", 
		"RecContentType=text/html", 
		"Referer=https://{host_10_83_84_161}/users/sign_up", 
		"Snapshot=t4.inf", 
		"Mode=HTML", 
		"EncodeAtSign=YES", 
		ITEMDATA, 
		"Name=utf8", "Value=✓", ENDITEM, 
		"Name=authenticity_token", "Value=/P95Yzs+gqpD9H1/1ck4rNJhXnPk2LLEt/pxHx09KlYPn6QDtLjVds25saf2czOEmFfV2nDBdS7CTcR86ouNWQ==", ENDITEM, 
		"Name=user[referer]", "Value=https://10.83.84.161/users/sign_in", ENDITEM, 
		"Name=user[email]", "[email protected]", ENDITEM, 
		"Name=user[password]", "Value=P@ssw0rd1", ENDITEM, 
		"Name=user[password_confirmation]", "Value=P@ssw0rd1", ENDITEM, 
		"Name=user[invitation_id]", "Value=", ENDITEM, 
		"Name=commit", "Value=Create account", ENDITEM, 
		EXTRARES, 
		"Url=http://{host_download_cdn_mozilla_net}/pub/firefox/releases/39.0/update/win32/en-US/firefox-39.0.complete.mar", "Referer=", ENDITEM, 
		LAST);

	lr_end_transaction("Create Account",LR_AUTO);

	lr_start_transaction("1_transaction");

	web_submit_data("employer_profiles", 
		"Action=https://{host_10_83_84_161}/employers/employer_profiles", 
		"Method=POST", 
		"TargetFrame=", 
		"RecContentType=text/html", 
		"Referer=https://{host_10_83_84_161}/employers", 
		"Snapshot=t5.inf", 
		"Mode=HTML", 
		ITEMDATA, 
		"Name=utf8", "Value=✓", ENDITEM, 
		"Name=authenticity_token", "Value=FNzQ6QFJzaSj6/C+E5jus4dT9UrkJFBJDEbFa9WD2wjnvA2Jjs+aeC2mPGYwIuWbzWV+43A9l6N58XAIIjV8Bw==", ENDITEM, 
		"Name=organization[first_name]", "Value=Perf", ENDITEM, 
		"Name=organization[last_name]", "Value=Test", ENDITEM, 
		"Name=organization[dob]", "Value=1978-07-15", ENDITEM, 
		"Name=jq_datepicker_ignore_organization[dob]", "Value=07/15/1978", ENDITEM, 
		"Name=organization[legal_name]", "Value=Perftest00004", ENDITEM, 
		"Name=organization[dba]", "Value=PerfTest00004", ENDITEM, 
		"Name=organization[fein]", "Value=090900004", ENDITEM, 
		"Name=organization[entity_kind]", "Value=tax_exempt_organization", ENDITEM, 
		"Name=organization[office_locations_attributes][0][address_attributes][kind]", "Value=primary", ENDITEM, 
		"Name=organization[office_locations_attributes][0][address_attributes][address_1]", "Value=609 H street NE", ENDITEM, 
		"Name=organization[office_locations_attributes][0][address_attributes][address_2]", "Value=", ENDITEM, 
		"Name=organization[office_locations_attributes][0][address_attributes][city]", "Value=washington", ENDITEM, 
		"Name=organization[office_locations_attributes][0][address_attributes][state]", "Value=DC", ENDITEM, 
		"Name=organization[office_locations_attributes][0][address_attributes][zip]", "Value=20002", ENDITEM, 
		"Name=organization[office_locations_attributes][0][phone_attributes][kind]", "Value=phone main", ENDITEM, 
		"Name=organization[office_locations_attributes][0][phone_attributes][area_code]", "Value=718", ENDITEM, 
		"Name=organization[office_locations_attributes][0][phone_attributes][number]", "Value=121-2111", ENDITEM, 
		"Name=organization[office_locations_attributes][0][phone_attributes][extension]", "Value=", ENDITEM, 
		LAST);

	lr_end_transaction("1_transaction",LR_AUTO);

	lr_think_time(13);

	lr_start_transaction("Click on Benefits");

	web_url("Benefits Benefits", 
		"URL=https://{host_10_83_84_161}/employers/employer_profiles/55ba29d24842583b6fe80400/show_profile?tab=benefits", 
		"TargetFrame=", 
		"Resource=0", 
		"RecContentType=text/javascript", 
		"Referer=https://{host_10_83_84_161}/employers/employer_profiles/55ba29d24842583b6fe80400", 
		"Snapshot=t6.inf", 
		"Mode=HTML", 
		LAST);

	lr_end_transaction("Click on Benefits",LR_AUTO);

	lr_think_time(9);

	lr_start_transaction("Click on Add Plan");

	web_url("new", 
		"URL=https://{host_10_83_84_161}/employers/employer_profiles/55ba29d24842583b6fe80400/plan_years/new", 
		"TargetFrame=", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=https://{host_10_83_84_161}/employers/employer_profiles/55ba29d24842583b6fe80400", 
		"Snapshot=t7.inf", 
		"Mode=HTML", 
		EXTRARES, 
		"Url=http://{host_download_cdn_mozilla_net}/pub/firefox/releases/39.0/update/win32/en-US/firefox-39.0.complete.mar", "Referer=", ENDITEM, 
		"Url=recommend_dates?start_on=2015-09-01", ENDITEM, 
		"Url=search_reference_plan?reference_plan_id=5453a543791e4bcd33000007&location_id=benefit-group-55ba29ed4842583b6cfa0400&_=1438263763124", ENDITEM, 
		"Url=calc_employer_contributions?start_on=2015-09-01&reference_plan_id=5453a543791e4bcd33000007&location_id=benefit-group-55ba29ed4842583b6cfa0400&relation_benefits%5B0%5D%5Brelationship%5D=employee&relation_benefits%5B0%5D%5Bpremium_pct%5D=0&relation_benefits%5B0%5D%5Boffered%5D=true&relation_benefits%5B1%5D%5Brelationship%5D=spouse&relation_benefits%5B1%5D%5Bpremium_pct%5D=0&relation_benefits%5B1%5D%5Boffered%5D=true&relation_benefits%5B2%5D%5Brelationship%5D=domestic_partner&"
		"relation_benefits%5B2%5D%5Bpremium_pct%5D=0&relation_benefits%5B2%5D%5Boffered%5D=true&relation_benefits%5B3%5D%5Brelationship%5D=child_under_26&relation_benefits%5B3%5D%5Bpremium_pct%5D=0&relation_benefits%5B3%5D%5Boffered%5D=true&relation_benefits%5B4%5D%5Brelationship%5D=child_26_and_over&relation_benefits%5B4%5D%5Bpremium_pct%5D=0&relation_benefits%5B4%5D%5Boffered%5D=false&_=1438263763125", ENDITEM, 
		"Url=calc_employer_contributions?start_on=2015-09-01&reference_plan_id=5453a543791e4bcd33000007&location_id=benefit-group-55ba29ed4842583b6cfa0400&relation_benefits%5B0%5D%5Brelationship%5D=employee&relation_benefits%5B0%5D%5Bpremium_pct%5D=100&relation_benefits%5B0%5D%5Boffered%5D=true&relation_benefits%5B1%5D%5Brelationship%5D=spouse&relation_benefits%5B1%5D%5Bpremium_pct%5D=0&relation_benefits%5B1%5D%5Boffered%5D=true&relation_benefits%5B2%5D%5Brelationship%5D=domestic_partner&"
		"relation_benefits%5B2%5D%5Bpremium_pct%5D=0&relation_benefits%5B2%5D%5Boffered%5D=true&relation_benefits%5B3%5D%5Brelationship%5D=child_under_26&relation_benefits%5B3%5D%5Bpremium_pct%5D=0&relation_benefits%5B3%5D%5Boffered%5D=true&relation_benefits%5B4%5D%5Brelationship%5D=child_26_and_over&relation_benefits%5B4%5D%5Bpremium_pct%5D=0&relation_benefits%5B4%5D%5Boffered%5D=false&_=1438263763126", ENDITEM, 
		"Url=calc_employer_contributions?start_on=2015-09-01&reference_plan_id=5453a543791e4bcd33000007&location_id=benefit-group-55ba29ed4842583b6cfa0400&relation_benefits%5B0%5D%5Brelationship%5D=employee&relation_benefits%5B0%5D%5Bpremium_pct%5D=100&relation_benefits%5B0%5D%5Boffered%5D=true&relation_benefits%5B1%5D%5Brelationship%5D=spouse&relation_benefits%5B1%5D%5Bpremium_pct%5D=100&relation_benefits%5B1%5D%5Boffered%5D=true&relation_benefits%5B2%5D%5Brelationship%5D=domestic_partner&"
		"relation_benefits%5B2%5D%5Bpremium_pct%5D=0&relation_benefits%5B2%5D%5Boffered%5D=true&relation_benefits%5B3%5D%5Brelationship%5D=child_under_26&relation_benefits%5B3%5D%5Bpremium_pct%5D=0&relation_benefits%5B3%5D%5Boffered%5D=true&relation_benefits%5B4%5D%5Brelationship%5D=child_26_and_over&relation_benefits%5B4%5D%5Bpremium_pct%5D=0&relation_benefits%5B4%5D%5Boffered%5D=false&_=1438263763127", ENDITEM, 
		"Url=calc_employer_contributions?start_on=2015-09-01&reference_plan_id=5453a543791e4bcd33000007&location_id=benefit-group-55ba29ed4842583b6cfa0400&relation_benefits%5B0%5D%5Brelationship%5D=employee&relation_benefits%5B0%5D%5Bpremium_pct%5D=100&relation_benefits%5B0%5D%5Boffered%5D=true&relation_benefits%5B1%5D%5Brelationship%5D=spouse&relation_benefits%5B1%5D%5Bpremium_pct%5D=100&relation_benefits%5B1%5D%5Boffered%5D=true&relation_benefits%5B2%5D%5Brelationship%5D=domestic_partner&"
		"relation_benefits%5B2%5D%5Bpremium_pct%5D=100&relation_benefits%5B2%5D%5Boffered%5D=true&relation_benefits%5B3%5D%5Brelationship%5D=child_under_26&relation_benefits%5B3%5D%5Bpremium_pct%5D=0&relation_benefits%5B3%5D%5Boffered%5D=true&relation_benefits%5B4%5D%5Brelationship%5D=child_26_and_over&relation_benefits%5B4%5D%5Bpremium_pct%5D=0&relation_benefits%5B4%5D%5Boffered%5D=false&_=1438263763128", ENDITEM, 
		"Url=calc_employer_contributions?start_on=2015-09-01&reference_plan_id=5453a543791e4bcd33000007&location_id=benefit-group-55ba29ed4842583b6cfa0400&relation_benefits%5B0%5D%5Brelationship%5D=employee&relation_benefits%5B0%5D%5Bpremium_pct%5D=100&relation_benefits%5B0%5D%5Boffered%5D=true&relation_benefits%5B1%5D%5Brelationship%5D=spouse&relation_benefits%5B1%5D%5Bpremium_pct%5D=100&relation_benefits%5B1%5D%5Boffered%5D=true&relation_benefits%5B2%5D%5Brelationship%5D=domestic_partner&"
		"relation_benefits%5B2%5D%5Bpremium_pct%5D=100&relation_benefits%5B2%5D%5Boffered%5D=true&relation_benefits%5B3%5D%5Brelationship%5D=child_under_26&relation_benefits%5B3%5D%5Bpremium_pct%5D=100&relation_benefits%5B3%5D%5Boffered%5D=true&relation_benefits%5B4%5D%5Brelationship%5D=child_26_and_over&relation_benefits%5B4%5D%5Bpremium_pct%5D=0&relation_benefits%5B4%5D%5Boffered%5D=false&_=1438263763129", ENDITEM, 
		LAST);

	lr_end_transaction("Click on Add Plan",LR_AUTO);

	lr_start_transaction("Add Plan Year");

	web_submit_data("plan_years", 
		"Action=https://{host_10_83_84_161}/employers/employer_profiles/55ba29d24842583b6fe80400/plan_years", 
		"Method=POST", 
		"TargetFrame=", 
		"RecContentType=text/html", 
		"Referer=https://{host_10_83_84_161}/employers/employer_profiles/55ba29d24842583b6fe80400/plan_years/new", 
		"Snapshot=t8.inf", 
		"Mode=HTML", 
		ITEMDATA, 
		"Name=utf8", "Value=✓", ENDITEM, 
		"Name=authenticity_token", "Value=ofoa4VyUNi/KIR3H3UF+LBsFe84RBR7gnpGl54O2uWFSmseB0xJh80Rs0R/++3UEUTPwZ4Uc2QrrJhCEdAAebg==", ENDITEM, 
		"Name=plan_year[start_on]", "Value=2015-09-01", ENDITEM, 
		"Name=plan_year[end_on]", "Value=2016-08-31", ENDITEM, 
		"Name=plan_year[open_enrollment_start_on]", "Value=2015-07-23", ENDITEM, 
		"Name=jq_datepicker_ignore_plan_year[open_enrollment_start_on]", "Value=07/23/2015", ENDITEM, 
		"Name=plan_year[open_enrollment_end_on]", "Value=2015-08-10", ENDITEM, 
		"Name=jq_datepicker_ignore_plan_year[open_enrollment_end_on]", "Value=08/10/2015", ENDITEM, 
		"Name=plan_year[fte_count]", "Value=10", ENDITEM, 
		"Name=plan_year[pte_count]", "Value=0", ENDITEM, 
		"Name=plan_year[msp_count]", "Value=0", ENDITEM, 
		"Name=plan_year[benefit_groups_attributes][0][title]", "Value=2015 Employer Benefits", ENDITEM, 
		"Name=plan_year[benefit_groups_attributes][0][effective_on_offset]", "Value=0", ENDITEM, 
		"Name=plan_year[benefit_groups_attributes][0][plan_option_kind]", "Value=single_plan", ENDITEM, 
		"Name=plan_year[benefit_groups_attributes][0][carrier_for_elected_plan]", "Value=53e67210eb899a4603000007", ENDITEM, 
		"Name=plan_year[benefit_groups_attributes][0][metal_level_for_elected_plan]", "Value=", ENDITEM, 
		"Name=plan_year[benefit_groups_attributes][0][reference_plan_id]", "Value=5453a543791e4bcd33000007", ENDITEM, 
		"Name=reference_plan", "Value=5453a543791e4bcd33000007", ENDITEM, 
		"Name=reference_plan", "Value=", ENDITEM, 
		"Name=reference_plan", "Value=", ENDITEM, 
		"Name=reference_plan", "Value=", ENDITEM, 
		"Name=reference_plan", "Value=", ENDITEM, 
		"Name=reference_plan", "Value=", ENDITEM, 
		"Name=reference_plan", "Value=", ENDITEM, 
		"Name=reference_plan", "Value=", ENDITEM, 
		"Name=plan_year[benefit_groups_attributes][0][relationship_benefits_attributes][0][relationship]", "Value=employee", ENDITEM, 
		"Name=plan_year[benefit_groups_attributes][0][relationship_benefits_attributes][0][premium_pct]", "Value=100", ENDITEM, 
		"Name=plan_year[benefit_groups_attributes][0][relationship_benefits_attributes][1][relationship]", "Value=spouse", ENDITEM, 
		"Name=plan_year[benefit_groups_attributes][0][relationship_benefits_attributes][1][premium_pct]", "Value=100", ENDITEM, 
		"Name=plan_year[benefit_groups_attributes][0][relationship_benefits_attributes][1][offered]", "Value=false", ENDITEM, 
		"Name=plan_year[benefit_groups_attributes][0][relationship_benefits_attributes][1][offered]", "Value=true", ENDITEM, 
		"Name=plan_year[benefit_groups_attributes][0][relationship_benefits_attributes][2][relationship]", "Value=domestic_partner", ENDITEM, 
		"Name=plan_year[benefit_groups_attributes][0][relationship_benefits_attributes][2][premium_pct]", "Value=100", ENDITEM, 
		"Name=plan_year[benefit_groups_attributes][0][relationship_benefits_attributes][2][offered]", "Value=false", ENDITEM, 
		"Name=plan_year[benefit_groups_attributes][0][relationship_benefits_attributes][2][offered]", "Value=true", ENDITEM, 
		"Name=plan_year[benefit_groups_attributes][0][relationship_benefits_attributes][3][relationship]", "Value=child_under_26", ENDITEM, 
		"Name=plan_year[benefit_groups_attributes][0][relationship_benefits_attributes][3][premium_pct]", "Value=100", ENDITEM, 
		"Name=plan_year[benefit_groups_attributes][0][relationship_benefits_attributes][3][offered]", "Value=false", ENDITEM, 
		"Name=plan_year[benefit_groups_attributes][0][relationship_benefits_attributes][3][offered]", "Value=true", ENDITEM, 
		"Name=plan_year[benefit_groups_attributes][0][relationship_benefits_attributes][4][relationship]", "Value=child_26_and_over", ENDITEM, 
		"Name=plan_year[benefit_groups_attributes][0][relationship_benefits_attributes][4][premium_pct]", "Value=0", ENDITEM, 
		"Name=plan_year[benefit_groups_attributes][0][relationship_benefits_attributes][4][offered]", "Value=false", ENDITEM, 
		LAST);

	lr_end_transaction("Add Plan Year",LR_AUTO);

	lr_start_transaction("Logout");

	web_submit_data("sign_out", 
		"Action=https://{host_10_83_84_161}/users/sign_out", 
		"Method=POST", 
		"TargetFrame=", 
		"RecContentType=text/html", 
		"Referer=https://{host_10_83_84_161}/employers/employer_profiles/55ba29d24842583b6fe80400", 
		"Snapshot=t9.inf", 
		"Mode=HTML", 
		ITEMDATA, 
		"Name=_method", "Value=delete", ENDITEM, 
		"Name=authenticity_token", "Value=uJKq/evPiiL+OSPwzKCCfLxPbn+XTE4a2a1drnfcijlL8nedZEnd/nB07yjvGolU9nnl1gNVifCsGujNgGotNg==", ENDITEM, 
		LAST);

	lr_end_transaction("Logout",LR_AUTO);

	lr_start_transaction("Click on Employer Portal");

	web_url("Employer Portal_2", 
		"URL=https://{host_10_83_84_161}/employers/employer_profiles/new", 
		"TargetFrame=", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=https://{host_10_83_84_161}/", 
		"Snapshot=t10.inf", 
		"Mode=HTML", 
		EXTRARES, 
		"Url=http://{host_download_cdn_mozilla_net}/pub/firefox/releases/39.0/update/win32/en-US/firefox-39.0.complete.mar", "Referer=", ENDITEM, 
		LAST);

	lr_end_transaction("Click on Employer Portal",LR_AUTO);

	web_submit_data("sign_in", 
		"Action=https://{host_10_83_84_161}/users/sign_in", 
		"Method=POST", 
		"TargetFrame=", 
		"RecContentType=text/html", 
		"Referer=https://{host_10_83_84_161}/users/sign_in", 
		"Snapshot=t11.inf", 
		"Mode=HTML", 
		"EncodeAtSign=YES", 
		ITEMDATA, 
		"Name=utf8", "Value=✓", ENDITEM, 
		"Name=authenticity_token", "Value=zBaxPdHP5LFqZW1HDrCCBTo52Gch3x56HssLy6T8csq+LmFvRRYHbqw3fR81auygX8+uXqlmqj1wuq3mgJARLQ==", ENDITEM, 
		"Name=user[email]", "[email protected]", ENDITEM, 
		"Name=user[password]", "Value=P@ssw0rd1", ENDITEM, 
		"Name=user[remember_me]", "Value=0", ENDITEM, 
		"Name=commit", "Value=Sign in", ENDITEM, 
		LAST);

	lr_think_time(12);

	lr_start_transaction("Click on Benefits");

	web_url("Benefits Benefits_2", 
		"URL=https://{host_10_83_84_161}/employers/employer_profiles/55ba29d24842583b6fe80400/show_profile?tab=benefits", 
		"TargetFrame=", 
		"Resource=0", 
		"RecContentType=text/javascript", 
		"Referer=https://{host_10_83_84_161}/employers/employer_profiles/55ba29d24842583b6fe80400", 
		"Snapshot=t12.inf", 
		"Mode=HTML", 
		LAST);

	lr_end_transaction("Click on Benefits",LR_AUTO);

	lr_start_transaction("Click on Benefit Group");

	lr_end_transaction("Click on Benefit Group",LR_AUTO);

	return 0;
}
示例#25
0
Action()
{

    lr_start_transaction("MTK_Web_010_OpenHomePage");

//	web_add_cookie("external_no_cache=1; DOMAIN=89.238.153.133");

    web_url("index.php",
            "URL=http://89.238.153.133/index.php",
            "Resource=0",
            "RecContentType=text/html",
            "Referer=",
            "Snapshot=t1.inf",
            "Mode=HTML",
            EXTRARES,
            LAST);

    lr_end_transaction("MTK_Web_010_OpenHomePage",LR_AUTO);

    lr_think_time(5);



    for (i=1; i<=5; i++)
    {
        lr_save_string(lr_eval_string("{pSearchTerm}"), "sSearchTerm");

        web_reg_save_param_ex(
            "ParamName=cFirstLink",
            "LB=<li class=\"item first\">\n                <a href=\"http:\/\/89.238.153.133\/index.php\/",
            "RB=\"",
            "NotFound=warning",
            SEARCH_FILTERS,
            LAST);

        lr_start_transaction("MTK_Web_020_ProductSearch");

        web_url("result",
                "URL=http://89.238.153.133/index.php/catalogsearch/result/?q={sSearchTerm}",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://89.238.153.133/index.php",
                "Snapshot=t4.inf",
                "Mode=HTML",
                EXTRARES,
                LAST);

        lr_end_transaction("MTK_Web_020_ProductSearch",LR_AUTO);

        lr_think_time(5);

        lr_start_transaction("MTK_Web_030_SelectItem");

        web_url("ItemSelection",
                "URL=http://89.238.153.133/index.php/{cFirstLink}",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://89.238.153.133/index.php/catalogsearch/result/?q={sSearchTerm}",
                "Snapshot=t5.inf",
                "Mode=HTML",
                EXTRARES,
                LAST);

        lr_end_transaction("MTK_Web_030_SelectItem",LR_AUTO);

        lr_think_time(5);
    }

    web_reg_save_param_ex(
        "ParamName=cPageURLs",
        "LB=<a href=\"",
        "RB=\"",
        "Ordinal=ALL",
        SEARCH_FILTERS,
        LAST);

    lr_start_transaction("MTK_Web_040_ReturnHome");

    web_url("index.php_2",
            "URL=http://89.238.153.133/index.php/",
            "Resource=0",
            "RecContentType=text/html",
            "Referer=http://89.238.153.133/index.php/",
            "Snapshot=t20.inf",
            "Mode=HTML",
            LAST);

    lr_end_transaction("MTK_Web_040_ReturnHome",LR_AUTO);

    lr_think_time(5);

    for (i=1; i<=10; i++)
    {

        web_reg_save_param_ex(
            "ParamName=cPageURLs",
            "LB=<a href=\"",
            "RB=\"",
            "Ordinal=ALL",
            SEARCH_FILTERS,
            LAST);

        lr_save_string(lr_paramarr_random( "cPageURLs" ),"cRandURL");

        lr_start_transaction("MTK_Web_050_SelectRandomLink");

        web_url("RandURL",
                "URL={cRandURL}",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://89.238.153.133/index.php/",
                "Snapshot=t21.inf",
                "Mode=HTML",
                EXTRARES,
                LAST);

        lr_end_transaction("MTK_Web_050_SelectRandomLink",LR_AUTO);

        lr_think_time(5);
    }

    return 0;
}
示例#26
0
Action()
{

//	web_add_cookie("external_no_cache=1; DOMAIN=89.238.153.133");

	lr_start_transaction("MBP_Web_010_OpenHomePage");

	web_url("index.php", 
		"URL=http://89.238.153.133/index.php", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=", 
		"Snapshot=t1.inf", 
		"Mode=HTML", 
		EXTRARES, 
		LAST);
		
	lr_end_transaction("MBP_Web_010_OpenHomePage", LR_AUTO);
	
	lr_think_time(5);


/*Correlation comment - Do not change!  Original value='250TaLL3Uu2cKWjj' Name ='CorrelationParameter' Type ='Manual'*/
	web_reg_save_param_regexp(
		"ParamName=CorrelationParameter",
		"RegExp=form_key/(.*?)/\"\\ method",
		SEARCH_FILTERS,
		"Scope=Body",
		"IgnoreRedirections=No",
		"RequestUrl=*/sony-vaio-vgn-txn27n-b-11-1-notebook-pc.html*",
		LAST);

/*Correlation comment - Do not change!  Original value='aHR0cDovLzg5LjIzOC4xNTMuMTMzL2luZGV4LnBocC9zb255LXZhaW8tdmduLXR4bjI3bi1iLTExLTEtbm90ZWJvb2stcGMuaHRtbD9fX19TSUQ9VQ' Name ='CorrelationParameter_1' Type ='Manual'*/
	web_reg_save_param_regexp(
		"ParamName=CorrelationParameter_1",
		"RegExp=uenc/(.*?),,",
		SEARCH_FILTERS,
		"Scope=Body",
		"IgnoreRedirections=No",
		"RequestUrl=*/sony-vaio-vgn-txn27n-b-11-1-notebook-pc.html*",
		LAST);

	lr_start_transaction("MBP_Web_020_SelectProduct");

	web_url("sony-vaio-vgn-txn27n-b-11-1-notebook-pc.html", 
		"URL=http://89.238.153.133/index.php/sony-vaio-vgn-txn27n-b-11-1-notebook-pc.html", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=http://89.238.153.133/index.php", 
		"Snapshot=t2.inf", 
		"Mode=HTML", 
		EXTRARES, 
		LAST);
		
		lr_end_transaction("MBP_Web_020_SelectProduct", LR_AUTO);
		
		lr_think_time(5);

	/*6: Type "1" in Qty textbox*/
	/*7: Click on Add to Cart button*/
	
	lr_start_transaction("MBP_Web_030_AddToCart");

	web_submit_data("250TaLL3Uu2cKWjj",
		"Action=http://89.238.153.133/index.php/checkout/cart/add/uenc/{CorrelationParameter_1},,/product/27/form_key/{CorrelationParameter}/",
		"Method=POST",
		"RecContentType=text/html",
		"Referer=http://89.238.153.133/index.php/sony-vaio-vgn-txn27n-b-11-1-notebook-pc.html",
		"Snapshot=t3.inf",
		"Mode=HTML",
		ITEMDATA,
		"Name=form_key", "Value={CorrelationParameter}", ENDITEM,
		"Name=product", "Value=27", ENDITEM,
		"Name=related_product", "Value=", ENDITEM,
		"Name=qty", "Value=1", ENDITEM,
		LAST);
	
	lr_end_transaction("MBP_Web_030_AddToCart", LR_AUTO);
	
	lr_think_time(5);


	/*8: Click on Proceed to Checkout button*/

	lr_start_transaction("MBP_Web_040_ProceedToCheckout");

	web_url("onepage", 
		"URL=http://89.238.153.133/index.php/checkout/onepage/", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=http://89.238.153.133/index.php/checkout/cart/", 
		"Snapshot=t4.inf", 
		"Mode=HTML", 
		EXTRARES, 
		"Url=/js/varien/accordion.js", ENDITEM, 
		"Url=/skin/frontend/base/default/js/opcheckout.js", ENDITEM, 
		LAST);
	
	lr_end_transaction("MBP_Web_040_ProceedToCheckout", LR_AUTO);
	
	lr_think_time(5);

	/*9: Select "Register" from Checkout as a Guest or... listbox*/

	/*10: Click on Continue button*/

	lr_start_transaction("MBP_Web_050_RegisterCustomer");
	
	
	web_submit_data("saveMethod", 
		"Action=http://89.238.153.133/index.php/checkout/onepage/saveMethod/", 
		"Method=POST", 
		"RecContentType=text/html", 
		"Referer=http://89.238.153.133/index.php/checkout/onepage/", 
		"Snapshot=t5.inf", 
		"Mode=HTML", 
		ITEMDATA, 
		"Name=method", "Value=register", ENDITEM, 
		LAST);
	
	web_url("progress", 
		"URL=http://89.238.153.133/index.php/checkout/onepage/progress/?prevStep=billing", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=http://89.238.153.133/index.php/checkout/onepage/", 
		"Snapshot=t6.inf", 
		"Mode=HTML", 
		LAST);

	lr_end_transaction("MBP_Web_050_RegisterCustomer", LR_AUTO);	
	
	lr_think_time(5);
	
	lr_start_transaction("MBP_Web_060_EnterCustomerDetails");
	
	web_custom_request("saveBilling", 
		"URL=http://89.238.153.133/index.php/checkout/onepage/saveBilling/", 
		"Method=POST", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=http://89.238.153.133/index.php/checkout/onepage/", 
		"Snapshot=t7.inf", 
		"Mode=HTML", 
		"EncType=application/x-www-form-urlencoded; charset=UTF-8", 
		"Body=billing%5Baddress_id%5D=&billing%5Bfirstname%5D=John&billing%5Blastname%5D=Smith&billing%5Bcompany%5D=&billing%5Bemail%5D={pUniqueNumber}%40mail.com&billing%5Bstreet%5D%5B%5D=1%20High%20Street&billing%5Bstreet%5D%5B%5D=&billing%5Bcity%5D=Any%20City&billing%5Bregion_id%5D=&billing%5Bregion%5D=&billing%5Bpostcode%5D=M1%205AN&billing%5Bcountry_id%5D=GB&billing%5Btelephone%5D=01234567895412&billing%5Bfax%5D=&billing%5Bcustomer_password%5D=q2w3e4r5t6&billing%5Bconfirm_password%5D=q2w3e4r5t6&"
		"billing%5Bsave_in_address_book%5D=1&billing%5Buse_for_shipping%5D=1", 
		LAST);

	web_submit_data("getAdditional", 
		"Action=http://89.238.153.133/index.php/checkout/onepage/getAdditional/", 
		"Method=POST", 
		"RecContentType=text/html", 
		"Referer=http://89.238.153.133/index.php/checkout/onepage/", 
		"Snapshot=t8.inf", 
		"Mode=HTML", 
		ITEMDATA, 
		LAST);

	web_url("progress_2", 
		"URL=http://89.238.153.133/index.php/checkout/onepage/progress/?prevStep=billing", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=http://89.238.153.133/index.php/checkout/onepage/", 
		"Snapshot=t9.inf", 
		"Mode=HTML", 
		LAST);
	
	lr_end_transaction("MBP_Web_060_EnterCustomerDetails", LR_AUTO);
	
	lr_think_time(5);


	web_url("progress_3", 
		"URL=http://89.238.153.133/index.php/checkout/onepage/progress/?prevStep=shipping", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=http://89.238.153.133/index.php/checkout/onepage/", 
		"Snapshot=t10.inf", 
		"Mode=HTML", 
		LAST);

	/*41: Select "Check / Money order" from checkmo Check / Money... radiogroup*/
	
	lr_start_transaction("MBP_Web_070_ConfirmDeliveryMethod");


	web_submit_data("saveShippingMethod", 
		"Action=http://89.238.153.133/index.php/checkout/onepage/saveShippingMethod/", 
		"Method=POST", 
		"RecContentType=text/html", 
		"Referer=http://89.238.153.133/index.php/checkout/onepage/", 
		"Snapshot=t11.inf", 
		"Mode=HTML", 
		ITEMDATA, 
		"Name=shipping_method", "Value=flatrate_flatrate", ENDITEM, 
		LAST);

	web_url("progress_4", 
		"URL=http://89.238.153.133/index.php/checkout/onepage/progress/?prevStep=shipping_method", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=http://89.238.153.133/index.php/checkout/onepage/", 
		"Snapshot=t12.inf", 
		"Mode=HTML", 
		LAST);
	
	lr_end_transaction("MBP_Web_070_ConfirmDeliveryMethod", LR_AUTO);	
	
	lr_think_time(5);
	
	lr_start_transaction("MBP_Web_080_ConfirmPaymentMethod");
	
	web_url("progress_5", 
		"URL=http://89.238.153.133/index.php/checkout/onepage/progress/", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=http://89.238.153.133/index.php/checkout/onepage/", 
		"Snapshot=t13.inf", 
		"Mode=HTML", 
		LAST);

	/*42: Click on Continue button*/

	web_submit_data("savePayment", 
		"Action=http://89.238.153.133/index.php/checkout/onepage/savePayment/", 
		"Method=POST", 
		"RecContentType=text/html", 
		"Referer=http://89.238.153.133/index.php/checkout/onepage/", 
		"Snapshot=t14.inf", 
		"Mode=HTML", 
		ITEMDATA, 
		"Name=payment[method]", "Value=checkmo", ENDITEM, 
		LAST);

	lr_end_transaction("MBP_Web_080_ConfirmPaymentMethod", LR_AUTO);	
	
	lr_think_time(5);
	
	/*43: Click on Place Order button*/

	lr_start_transaction("MBP_Web_090_PlaceOrder");
	
	web_url("progress_6", 
		"URL=http://89.238.153.133/index.php/checkout/onepage/progress/?prevStep=payment", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=http://89.238.153.133/index.php/checkout/onepage/", 
		"Snapshot=t15.inf", 
		"Mode=HTML", 
		LAST);
	
	lr_end_transaction("MBP_Web_090_PlaceOrder", LR_AUTO);
	
	lr_think_time(5);
	

	return 0;
}
示例#27
0
Recording_Travel()
{

	web_url("index.htm", 
		"URL=http://127.0.0.1:1080/WebTours/index.htm", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=", 
		"Snapshot=t30.inf", 
		"Mode=HTML", 
		LAST);

	web_set_sockets_option("SSL_VERSION", "TLS1.1");

	/* Request with GET method to URL "http://127.0.0.1:1080/favicon.ico" failed during recording. Server response : 404*/

	lr_think_time(60);

	lr_start_transaction("Invoke_URL");

	lr_end_transaction("Invoke_URL",LR_AUTO);

	lr_start_transaction("LogIn");

	web_submit_form("login.pl", 
		"Snapshot=t31.inf", 
		ITEMDATA, 
		"Name=username", "Value=jojo1", ENDITEM, 
		"Name=password", "Value=bean", ENDITEM, 
		"Name=login.x", "Value=57", ENDITEM, 
		"Name=login.y", "Value=7", ENDITEM, 
		LAST);

	lr_end_transaction("LogIn",LR_AUTO);

	lr_think_time(35);

	lr_start_transaction("T21_Home");

	web_image("Home Button", 
		"Alt=Home Button", 
		"Snapshot=t32.inf", 
		LAST);

	lr_end_transaction("T21_Home",LR_AUTO);

	lr_start_transaction("T22_Search_Flight");

	web_reg_find("Text=Find Flight", 
		LAST);

	lr_think_time(54);

	web_image("Search Flights Button", 
		"Alt=Search Flights Button", 
		"Snapshot=t33.inf", 
		LAST);

	/* Request with GET method to URL "http://127.0.0.1:1080/WebTours/classes/" failed during recording. Server response : 403*/

	/* Request with GET method to URL "http://127.0.0.1:1080/WebTours/classes/" failed during recording. Server response : 403*/

	lr_end_transaction("T22_Search_Flight",LR_AUTO);

	lr_start_transaction("T23_ Flight_Lookup");

	web_reg_find("Text=Flight departing from", 
		LAST);

	lr_think_time(93);

	web_submit_form("reservations.pl", 
		"Snapshot=t34.inf", 
		ITEMDATA, 
		"Name=depart", "Value=Denver", ENDITEM, 
		"Name=departDate", "Value=04/14/2015", ENDITEM, 
		"Name=arrive", "Value=Los Angeles", ENDITEM, 
		"Name=returnDate", "Value=04/15/2015", ENDITEM, 
		"Name=numPassengers", "Value=1", ENDITEM, 
		"Name=roundtrip", "Value=<OFF>", ENDITEM, 
		"Name=seatPref", "Value=None", ENDITEM, 
		"Name=seatType", "Value=Coach", ENDITEM, 
		"Name=findFlights.x", "Value=40", ENDITEM, 
		"Name=findFlights.y", "Value=6", ENDITEM, 
		LAST);

	lr_end_transaction("T23_ Flight_Lookup",LR_AUTO);

	lr_start_transaction("T24_ Payment_Details");

	web_reg_find("Text=Payment Details", 
		LAST);

	lr_think_time(68);

	web_submit_form("reservations.pl_2", 
		"Snapshot=t35.inf", 
		ITEMDATA, 
		"Name=outboundFlight", "Value=030;251;04/14/2015", ENDITEM, 
		"Name=reserveFlights.x", "Value=46", ENDITEM, 
		"Name=reserveFlights.y", "Value=11", ENDITEM, 
		LAST);

	web_reg_find("Text=Invoice", 
		LAST);

	lr_think_time(56);

	web_submit_form("reservations.pl_3", 
		"Snapshot=t36.inf", 
		ITEMDATA, 
		"Name=firstName", "Value=whatever", ENDITEM, 
		"Name=lastName", "Value=whatever", ENDITEM, 
		"Name=address1", "Value=whatever", ENDITEM, 
		"Name=address2", "Value=whatever", ENDITEM, 
		"Name=pass1", "Value=whatever whatever", ENDITEM, 
		"Name=creditCard", "Value=", ENDITEM, 
		"Name=expDate", "Value=", ENDITEM, 
		"Name=saveCC", "Value=<OFF>", ENDITEM, 
		"Name=buyFlights.x", "Value=41", ENDITEM, 
		"Name=buyFlights.y", "Value=9", ENDITEM, 
		LAST);

	lr_end_transaction("T24_ Payment_Details",LR_AUTO);

	lr_start_transaction("T25_Invoice");

	lr_end_transaction("T25_Invoice",LR_AUTO);

	lr_start_transaction("T26_ Click_Book Another ");

	web_reg_find("Text=Find Flight", 
		LAST);

	lr_think_time(75);

	web_submit_form("reservations.pl_4", 
		"Snapshot=t37.inf", 
		ITEMDATA, 
		"Name=Book Another.x", "Value=43", ENDITEM, 
		"Name=Book Another.y", "Value=6", ENDITEM, 
		LAST);

	/* Request with GET method to URL "http://127.0.0.1:1080/WebTours/classes/" failed during recording. Server response : 403*/

	/* Request with GET method to URL "http://127.0.0.1:1080/WebTours/classes/" failed during recording. Server response : 403*/

	lr_end_transaction("T26_ Click_Book Another ",LR_AUTO);

	lr_start_transaction("T27_Search_Flight2");

	web_reg_find("Text=Find Flight", 
		LAST);

	lr_think_time(65);

	web_image("Search Flights Button_2", 
		"Alt=Search Flights Button", 
		"Snapshot=t38.inf", 
		LAST);

	/* Request with GET method to URL "http://127.0.0.1:1080/WebTours/classes/" failed during recording. Server response : 403*/

	/* Request with GET method to URL "http://127.0.0.1:1080/WebTours/classes/" failed during recording. Server response : 403*/

	web_reg_find("Text=Flight departing from", 
		LAST);

	lr_think_time(25);

	web_submit_form("reservations.pl_5", 
		"Snapshot=t39.inf", 
		ITEMDATA, 
		"Name=depart", "Value=Denver", ENDITEM, 
		"Name=departDate", "Value=04/14/2015", ENDITEM, 
		"Name=arrive", "Value=Portland", ENDITEM, 
		"Name=returnDate", "Value=04/15/2015", ENDITEM, 
		"Name=numPassengers", "Value=1", ENDITEM, 
		"Name=roundtrip", "Value=<OFF>", ENDITEM, 
		"Name=seatPref", "Value=None", ENDITEM, 
		"Name=seatType", "Value=Coach", ENDITEM, 
		"Name=findFlights.x", "Value=18", ENDITEM, 
		"Name=findFlights.y", "Value=10", ENDITEM, 
		LAST);

	lr_end_transaction("T27_Search_Flight2",LR_AUTO);

	lr_start_transaction("T28_ Flight_Lookup2");

	web_reg_find("Text=Payment Details", 
		LAST);

	lr_think_time(49);

	web_submit_form("reservations.pl_6", 
		"Snapshot=t40.inf", 
		ITEMDATA, 
		"Name=outboundFlight", "Value=050;275;04/14/2015", ENDITEM, 
		"Name=reserveFlights.x", "Value=64", ENDITEM, 
		"Name=reserveFlights.y", "Value=6", ENDITEM, 
		LAST);

	lr_end_transaction("T28_ Flight_Lookup2",LR_AUTO);

	lr_start_transaction("T29_ Payment_Details2");

	web_reg_find("Text=Thank you for booking", 
		LAST);

	lr_think_time(53);

	web_submit_form("reservations.pl_7", 
		"Snapshot=t41.inf", 
		ITEMDATA, 
		"Name=firstName", "Value=whatever", ENDITEM, 
		"Name=lastName", "Value=whatever", ENDITEM, 
		"Name=address1", "Value=whatever", ENDITEM, 
		"Name=address2", "Value=whatever", ENDITEM, 
		"Name=pass1", "Value=whatever whatever", ENDITEM, 
		"Name=creditCard", "Value=12345678", ENDITEM, 
		"Name=expDate", "Value=15/16", ENDITEM, 
		"Name=saveCC", "Value=<OFF>", ENDITEM, 
		"Name=buyFlights.x", "Value=34", ENDITEM, 
		"Name=buyFlights.y", "Value=6", ENDITEM, 
		LAST);

	lr_end_transaction("T29_ Payment_Details2",LR_AUTO);

	lr_start_transaction("T30_Invoice2");

	lr_end_transaction("T30_Invoice2",LR_AUTO);

	lr_start_transaction("T31_Check_Itinerary");

	web_reg_find("Text=Itinerary", 
		LAST);

	lr_think_time(79);

	web_image("Itinerary Button", 
		"Alt=Itinerary Button", 
		"Snapshot=t42.inf", 
		LAST);

	lr_end_transaction("T31_Check_Itinerary",LR_AUTO);

	lr_think_time(34);

	lr_start_transaction("LogOff");

	web_image("SignOff Button", 
		"Alt=SignOff Button", 
		"Snapshot=t43.inf", 
		LAST);

	return 0;
}
示例#28
0
Action()
{

	web_set_sockets_option("SSL_VERSION", "TLS1.1");

	web_reg_find("Text=SII - Login Ui", 
		LAST);

	web_url("index.php", 
		"URL=https://sii.itcelaya.edu.mx/sii/index.php?r=cruge/ui/login", 
		"TargetFrame=", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=", 
		"Snapshot=t1.inf", 
		"Mode=HTML", 
		LAST);

	web_concurrent_start(NULL);

	web_url("fontawesome-webfont.eot", 
		"URL=https://sii.itcelaya.edu.mx/sii/font-awesome/fonts/fontawesome-webfont.eot?", 
		"TargetFrame=", 
		"Resource=1", 
		"RecContentType=application/vnd.ms-fontobject", 
		"Referer=https://sii.itcelaya.edu.mx/sii/index.php?r=cruge/ui/login", 
		"Snapshot=t2.inf", 
		LAST);

	web_url("glyphicons-halflings-regular.eot", 
		"URL=https://sii.itcelaya.edu.mx/sii/fonts/glyphicons-halflings-regular.eot?", 
		"TargetFrame=", 
		"Resource=1", 
		"RecContentType=application/vnd.ms-fontobject", 
		"Referer=https://sii.itcelaya.edu.mx/sii/index.php?r=cruge/ui/login", 
		"Snapshot=t3.inf", 
		LAST);

	web_concurrent_end(NULL);

	web_set_sockets_option("SSL_VERSION", "TLS1.1");

	lr_think_time(39);

	lr_start_transaction("openURL");

	lr_end_transaction("openURL",LR_AUTO);

	lr_think_time(1000);

	lr_start_transaction("login");

	web_url("fwlink", 
		"URL=https://go.microsoft.com/fwlink/?LinkId=141260", 
		"TargetFrame=", 
		"Resource=0", 
		"RecContentType=text/xml", 
		"Referer=", 
		"Snapshot=t4.inf", 
		"Mode=HTML", 
		LAST);

	web_reg_find("Text=SII - Aplicaciones AplicacionesAlumno", 
		LAST);

	web_submit_data("index.php_2", 
		"Action=https://sii.itcelaya.edu.mx/sii/index.php?r=cruge/ui/login", 
		"Method=POST", 
		"TargetFrame=", 
		"RecContentType=text/html", 
		"Referer=https://sii.itcelaya.edu.mx/sii/index.php?r=cruge/ui/login", 
		"Snapshot=t5.inf", 
		"Mode=HTML", 
		ITEMDATA, 
		"Name=CrugeLogon[username]", "Value=08030379", ENDITEM, 
		"Name=CrugeLogon[password]", "Value=swatch001aren--", ENDITEM, 
		"Name=yt0", "Value=Aceptar", ENDITEM, 
		LAST);

	web_concurrent_start(NULL);

	web_url("jquery.fancybox-1.3.4.pack.js", 
		"URL=https://sii.itcelaya.edu.mx/sii/fancybox/jquery.fancybox-1.3.4.pack.js", 
		"TargetFrame=", 
		"Resource=1", 
		"RecContentType=application/javascript", 
		"Referer=https://sii.itcelaya.edu.mx/sii/index.php?r=alumno/aplicacionesAlumno/aplicaciones", 
		"Snapshot=t6.inf", 
		LAST);

	web_url("jquery.easing-1.3.pack.js", 
		"URL=https://sii.itcelaya.edu.mx/sii/fancybox/jquery.easing-1.3.pack.js", 
		"TargetFrame=", 
		"Resource=1", 
		"RecContentType=application/javascript", 
		"Referer=https://sii.itcelaya.edu.mx/sii/index.php?r=alumno/aplicacionesAlumno/aplicaciones", 
		"Snapshot=t7.inf", 
		LAST);

	web_url("jquery.dataTables.css", 
		"URL=https://sii.itcelaya.edu.mx/sii/datatables/css/jquery.dataTables.css", 
		"TargetFrame=", 
		"Resource=1", 
		"RecContentType=text/css", 
		"Referer=https://sii.itcelaya.edu.mx/sii/index.php?r=alumno/aplicacionesAlumno/aplicaciones", 
		"Snapshot=t8.inf", 
		LAST);

	web_url("alertify.core.css", 
		"URL=https://sii.itcelaya.edu.mx/sii/alertify/alertify.core.css", 
		"TargetFrame=", 
		"Resource=1", 
		"RecContentType=text/css", 
		"Referer=https://sii.itcelaya.edu.mx/sii/index.php?r=alumno/aplicacionesAlumno/aplicaciones", 
		"Snapshot=t9.inf", 
		LAST);

	web_url("blank.gif", 
		"URL=https://sii.itcelaya.edu.mx/sii/fancybox/blank.gif", 
		"TargetFrame=", 
		"Resource=1", 
		"RecContentType=image/gif", 
		"Referer=https://sii.itcelaya.edu.mx/sii/index.php?r=alumno/aplicacionesAlumno/aplicaciones", 
		"Snapshot=t10.inf", 
		LAST);

	web_url("fancybox.png", 
		"URL=https://sii.itcelaya.edu.mx/sii/fancybox/fancybox.png", 
		"TargetFrame=", 
		"Resource=1", 
		"RecContentType=image/png", 
		"Referer=https://sii.itcelaya.edu.mx/sii/index.php?r=alumno/aplicacionesAlumno/aplicaciones", 
		"Snapshot=t11.inf", 
		LAST);

	web_concurrent_end(NULL);

	lr_end_transaction("login",LR_AUTO);

	lr_think_time(1000);

	lr_start_transaction("GoToChangePassOption");

	web_reg_find("Text=SII - Profile Site", 
		LAST);

	lr_think_time(50);

	web_url("Cambiar contraseña", 
		"URL=https://sii.itcelaya.edu.mx/sii/index.php?r=site/profile", 
		"TargetFrame=", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=https://sii.itcelaya.edu.mx/sii/index.php?r=alumno/aplicacionesAlumno/aplicaciones", 
		"Snapshot=t12.inf", 
		"Mode=HTML", 
		LAST);

	web_url("line-03.gif", 
		"URL=https://sii.itcelaya.edu.mx/sii/images/line-03.gif", 
		"TargetFrame=", 
		"Resource=1", 
		"RecContentType=image/gif", 
		"Referer=https://sii.itcelaya.edu.mx/sii/index.php?r=site/profile", 
		"Snapshot=t13.inf", 
		LAST);

	web_reg_find("Text=SII - Profile Site", 
		LAST);

	web_submit_data("index.php_3", 
		"Action=https://sii.itcelaya.edu.mx/sii/index.php?r=site/profile", 
		"Method=POST", 
		"TargetFrame=", 
		"RecContentType=text/html", 
		"Referer=https://sii.itcelaya.edu.mx/sii/index.php?r=site/profile", 
		"Snapshot=t14.inf", 
		"Mode=HTML", 
		ITEMDATA, 
		"Name=CrugeStoredUser[newPassword]", "Value=", ENDITEM, 
		"Name=submit", "Value=Guardar", ENDITEM, 
		LAST);

	lr_end_transaction("GoToChangePassOption",LR_AUTO);

	lr_think_time(1000);

	lr_start_transaction("1_transaction");

	web_reg_find("Text=SII - Profile Site", 
		LAST);

	lr_think_time(36);

	web_submit_data("index.php_4", 
		"Action=https://sii.itcelaya.edu.mx/sii/index.php?r=site/profile", 
		"Method=POST", 
		"TargetFrame=", 
		"RecContentType=text/html", 
		"Referer=https://sii.itcelaya.edu.mx/sii/index.php?r=site/profile", 
		"Snapshot=t15.inf", 
		"Mode=HTML", 
		ITEMDATA, 
		"Name=CrugeStoredUser[newPassword]", "Value=swatch001aren--", ENDITEM, 
		"Name=submit", "Value=Guardar", ENDITEM, 
		LAST);

	lr_end_transaction("1_transaction",LR_AUTO);

	lr_think_time(1000);

	lr_start_transaction("logout");

	web_reg_find("Text=SII - Logout Site", 
		LAST);

	web_url("Salir", 
		"URL=https://sii.itcelaya.edu.mx/sii/index.php?r=site/logoutSII", 
		"TargetFrame=", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=", 
		"Snapshot=t16.inf", 
		"Mode=HTML", 
		LAST);

	web_set_sockets_option("SSL_VERSION", "TLS1.1");

	web_reg_find("Text=SII - Login Ui", 
		LAST);

	web_url("sii", 
		"URL=https://sii.itcelaya.edu.mx/sii/?r=cruge/ui/logout", 
		"TargetFrame=", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=", 
		"Snapshot=t17.inf", 
		"Mode=HTML", 
		LAST);

	lr_end_transaction("logout",LR_AUTO);

	lr_think_time(1000);

	lr_start_transaction("faileduser");

	web_reg_find("Text=SII - Login Ui", 
		LAST);

	lr_think_time(45);

	web_submit_data("index.php_5", 
		"Action=https://sii.itcelaya.edu.mx/sii/index.php?r=cruge/ui/login", 
		"Method=POST", 
		"TargetFrame=", 
		"RecContentType=text/html", 
		"Referer=https://sii.itcelaya.edu.mx/sii/index.php?r=cruge/ui/login", 
		"Snapshot=t18.inf", 
		"Mode=HTML", 
		ITEMDATA, 
		"Name=CrugeLogon[username]", "Value=08030380", ENDITEM, 
		"Name=CrugeLogon[password]", "Value=asdsdasdasdas", ENDITEM, 
		"Name=yt0", "Value=Aceptar", ENDITEM, 
		LAST);

	return 0;
}
PrimaryIcomeSection()
{
	lr_start_transaction("11_MaleWithAPTC_25_Tax_Filer");
	
	web_reg_find("Text=eligibility for", LAST );	
	
	web_reg_save_param("p_o3synch_13", "LB=__o3synch\" type=\"hidden\" value=\"", "RB=\"/>", "NotFound=Error", "Search=ALL", LAST);

	addDynaTraceHeader("NA=11_MaleWithAPTC_25_Tax_Filer_{dp_UserID};PC=ProcessScript.do_13");
	web_submit_data("ProcessScript.do_13",
		"Action=https://{p_Webapp_URL}/CitizenPortal/ieg/ProcessScript.do?executionID={executionID}",
		"Method=POST",
		"TargetFrame=",
		"RecContentType=text/html",
		"Referer=https://{p_Webapp_URL}/CitizenPortal/ieg/Screening.do?executionID={executionID}&id={id}&o3ctx=1048688",
		"Snapshot=t46.inf",
		"Mode=HTML",
		ITEMDATA,
		"Name=__o3id6", "Value=true", ENDITEM,
		"Name=__o3id0", "Value={executionID}", ENDITEM,
		"Name=__o3id1", "Value=1048692", ENDITEM,
		"Name=__o3id2", "Value=HealthCarePortal", ENDITEM,
		"Name=__o3id3", "Value=TaxFilersPage", ENDITEM,
		"Name=__o3id4", "Value=12", ENDITEM,
		"Name=__o3id5", "Value=true", ENDITEM,
		"Name=validate-save-and-exit", "Value=true", ENDITEM,
		"Name=iegExecutionID", "Value={executionID}", ENDITEM,
		"Name=scriptID", "Value=HealthCarePortal", ENDITEM,
		"Name=pageID", "Value=TaxFilersPage", ENDITEM,
		"Name=syncToken", "Value=12", ENDITEM,
		"Name=iegScriptVersion", "Value=V1", ENDITEM,
		"Name=iegScriptType", "Value=Portal", ENDITEM,
		"Name=forwardParams", "Value=&id={id}", ENDITEM,
		"Name=o3ctx", "Value=1048692", ENDITEM,
		"Name=__o3fmeta", "Value={\"__o3id2\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/scriptID\",\"\",\"IEG_ANSWERS\",false],\"__o3id1\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/o3ctx\",\"\",\"IEG_ANSWERS\",false],\"__o3id0\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/executionID\",\"\",\"IEG_ANSWERS\",false],\"__o3id6\":[\"/data/si/ACTION/answers$currentPageAnswers/ans/IEG_BOOLEAN/Person.isTaxFiler.0\",\"\",\"IEG_BOOLEAN\",false],\"__o3id5\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/validate-save-and-exit\",\"\",\"IEG_ANSWERS\",false],\"__o3id4\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/syncToken\",\"\",\"IEG_ANSWERS\",false],\"__o3id3\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/pageID\",\"\",\"IEG_ANSWERS\",false]}", ENDITEM,
		"Name=__o3fmeta_mandatory_data", "Value=", ENDITEM,
		"Name=__o3synch", "Value={p_o3synch_12}", ENDITEM,
		LAST);

	lr_end_transaction("11_MaleWithAPTC_25_Tax_Filer",LR_AUTO);

	lr_think_time(ithinktime);
	
	lr_start_transaction("11_MaleWithAPTC_26_Tax_Dependent");
	
	web_reg_save_param("p_o3synch_14", "LB=__o3synch\" type=\"hidden\" value=\"", "RB=\"/>", "NotFound=Error", "Search=ALL", LAST);

	web_reg_find("Text=summary page", LAST );
	
	addDynaTraceHeader("NA=11_MaleWithAPTC_26_Tax_Dependent_{dp_UserID};PC=ProcessScript.do_14");
	web_custom_request("ProcessScript.do_14",
		"URL=https://{p_Webapp_URL}/CitizenPortal/ieg/ProcessScript.do?executionID={executionID}",
		"Method=POST",
		"TargetFrame=",
		"Resource=0",
		"RecContentType=text/html",
		"Referer=https://{p_Webapp_URL}/CitizenPortal/ieg/Screening.do?executionID={executionID}&id={id}&o3ctx=1048688",
		"Snapshot=t47.inf",
		"Mode=HTML",
		"EncType=application/x-www-form-urlencoded; charset=UTF-8",
		"Body=wasPersonTabs=true&__o3id7=YN2&__o3id8=&__o3id0={executionID}&__o3id1=1048692&__o3id2=HealthCarePortal&__o3id3=TaxNotFilingTogetherPage&__o3id4=13&__o3id5=true&validate-save-and-exit=true&iegExecutionID={executionID}&scriptID=HealthCarePortal&pageID=TaxNotFilingTogetherPage&syncToken=13&iegScriptVersion=V1&iegScriptType=Portal&forwardParams=%26id%3D{id}&o3ctx=1048692&__o3fmeta=%7B%22__o3id8%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FIEG_YES_NO%2FPerson.isClaimedAsYourself%22%2C%22Is%20this%20person%20you%3F%22%2C%22IEG_YES_NO%22%2Cfalse%5D%2C%22__o3id7%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FIEG_YES_NO%2FPerson.isClaimedAsDependentOfExternalPerson%22%2C%22Is%20anyone%20outside%20this%20Application%20Group%20expected%20to%20enter%20{p_FN}%20as%20dependent%20on%20their%20tax%20return%3F%22%2C%22IEG_YES_NO%22%2Ctrue%5D%2C%22__o3id2%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FscriptID%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfal"
		"se%5D%2C%22__o3id1%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2Fo3ctx%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id0%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FexecutionID%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id6%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FIEG_STRING%2FPerson.TaxFilerRelationship.personID%22%2C%22%22%2C%22IEG_STRING%22%2Cfalse%5D%2C%22__o3id5%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2Fvalidate-save-and-exit%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id4%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FsyncToken%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id3%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FpageID%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%7D&__o3fmeta_mandatory_data=__o3id8%2C__o3id7&__o3synch={p_o3synch_13}",
		LAST);

	lr_end_transaction("11_MaleWithAPTC_26_Tax_Dependent",LR_AUTO);

	lr_think_time(ithinktime);
	
	lr_start_transaction("11_MaleWithAPTC_27_Group_Summary");

	web_reg_find("Text=Group Income",  LAST );
	
	web_reg_save_param("p_o3synch_15", "LB=__o3synch\" type=\"hidden\" value=\"", "RB=\"/>", "NotFound=Error", "Search=ALL", LAST);

	addDynaTraceHeader("NA=11_MaleWithAPTC_27_Group_Summary_{dp_UserID};PC=ProcessScript.do_15");
	web_submit_data("ProcessScript.do_15",
		"Action=https://{p_Webapp_URL}/CitizenPortal/ieg/ProcessScript.do?executionID={executionID}",
		"Method=POST",
		"TargetFrame=",
		"RecContentType=text/html",
		"Referer=https://{p_Webapp_URL}/CitizenPortal/ieg/Screening.do?executionID={executionID}&id={id}&o3ctx=1048688",
		"Snapshot=t48.inf",
		"Mode=HTML",
		ITEMDATA,
		"Name=__o3id0", "Value={executionID}", ENDITEM,
		"Name=__o3id1", "Value=1048692", ENDITEM,
		"Name=__o3id2", "Value=HealthCarePortal", ENDITEM,
		"Name=__o3id3", "Value=HouseholdSummary2", ENDITEM,
		"Name=__o3id4", "Value=14", ENDITEM,
		"Name=__o3id5", "Value=true", ENDITEM,
		"Name=validate-save-and-exit", "Value=true", ENDITEM,
		"Name=iegExecutionID", "Value={executionID}", ENDITEM,
		"Name=scriptID", "Value=HealthCarePortal", ENDITEM,
		"Name=pageID", "Value=HouseholdSummary2", ENDITEM,
		"Name=syncToken", "Value=14", ENDITEM,
		"Name=iegScriptVersion", "Value=V1", ENDITEM,
		"Name=iegScriptType", "Value=Portal", ENDITEM,
		"Name=forwardParams", "Value=&id={id}", ENDITEM,
		"Name=o3ctx", "Value=1048692", ENDITEM,
		"Name=__o3fmeta", "Value={\"__o3id2\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/scriptID\",\"\",\"IEG_ANSWERS\",false],\"__o3id1\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/o3ctx\",\"\",\"IEG_ANSWERS\",false],\"__o3id0\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/executionID\",\"\",\"IEG_ANSWERS\",false],\"__o3id5\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/validate-save-and-exit\",\"\",\"IEG_ANSWERS\",false],\"__o3id4\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/syncToken\",\"\",\"IEG_ANSWERS\",false],\"__o3id3\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/pageID\",\"\",\"IEG_ANSWERS\",false]}", ENDITEM,
		"Name=__o3fmeta_mandatory_data", "Value=", ENDITEM,
		"Name=__o3synch", "Value={p_o3synch_14}", ENDITEM,
		LAST);

	lr_end_transaction("11_MaleWithAPTC_27_Group_Summary",LR_AUTO);

	lr_think_time(ithinktime);

	lr_start_transaction("11_MaleWithAPTC_28_Group_Income");
	
	web_reg_save_param("p_o3synch_16", "LB=__o3synch\" type=\"hidden\" value=\"", "RB=\"/>", "NotFound=Error", "Search=ALL", LAST);

	addDynaTraceHeader("NA=11_MaleWithAPTC_28_Group_Income_{dp_UserID};PC=ProcessScript.do_16");
	web_submit_data("ProcessScript.do_16",
		"Action=https://{p_Webapp_URL}/CitizenPortal/ieg/ProcessScript.do?executionID={executionID}",
		"Method=POST",
		"TargetFrame=",
		"RecContentType=text/html",
		"Referer=https://{p_Webapp_URL}/CitizenPortal/ieg/Screening.do?executionID={executionID}&id={id}&o3ctx=1048688",
		"Snapshot=t49.inf",
		"Mode=HTML",
		ITEMDATA,
		"Name=__o3id0", "Value={executionID}", ENDITEM,
		"Name=__o3id1", "Value=1048692", ENDITEM,
		"Name=__o3id2", "Value=HealthCarePortal", ENDITEM,
		"Name=__o3id3", "Value=IncomeBreaker", ENDITEM,
		"Name=__o3id4", "Value=15", ENDITEM,
		"Name=__o3id5", "Value=true", ENDITEM,
		"Name=validate-save-and-exit", "Value=true", ENDITEM,
		"Name=iegExecutionID", "Value={executionID}", ENDITEM,
		"Name=scriptID", "Value=HealthCarePortal", ENDITEM,
		"Name=pageID", "Value=IncomeBreaker", ENDITEM,
		"Name=syncToken", "Value=15", ENDITEM,
		"Name=iegScriptVersion", "Value=V1", ENDITEM,
		"Name=iegScriptType", "Value=Portal", ENDITEM,
		"Name=forwardParams", "Value=&id={id}", ENDITEM,
		"Name=o3ctx", "Value=1048692", ENDITEM,
		"Name=__o3fmeta", "Value={\"__o3id2\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/scriptID\",\"\",\"IEG_ANSWERS\",false],\"__o3id1\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/o3ctx\",\"\",\"IEG_ANSWERS\",false],\"__o3id0\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/executionID\",\"\",\"IEG_ANSWERS\",false],\"__o3id5\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/validate-save-and-exit\",\"\",\"IEG_ANSWERS\",false],\"__o3id4\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/syncToken\",\"\",\"IEG_ANSWERS\",false],\"__o3id3\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/pageID\",\"\",\"IEG_ANSWERS\",false]}", ENDITEM,
		"Name=__o3fmeta_mandatory_data", "Value=", ENDITEM,
		"Name=__o3synch", "Value={p_o3synch_15}", ENDITEM,
		LAST);

	lr_end_transaction("11_MaleWithAPTC_28_Group_Income",LR_AUTO);

	lr_think_time(ithinktime);

	lr_start_transaction("11_MaleWithAPTC_29_Income");

	web_reg_find("Text=Income Type",  LAST );
	
	web_reg_save_param("p_o3synch_17", "LB=__o3synch\" type=\"hidden\" value=\"", "RB=\"/>", "NotFound=Error", "Search=ALL", LAST);

	addDynaTraceHeader("NA=11_MaleWithAPTC_29_Income_{dp_UserID};PC=ProcessScript.do_17");
	web_custom_request("ProcessScript.do_17",
		"URL=https://{p_Webapp_URL}/CitizenPortal/ieg/ProcessScript.do?executionID={executionID}",
		"Method=POST",
		"TargetFrame=",
		"Resource=0",
		"RecContentType=text/html",
		"Referer=https://{p_Webapp_URL}/CitizenPortal/ieg/Screening.do?executionID={executionID}&id={id}&o3ctx=1048688",
		"Snapshot=t50.inf",
		"Mode=HTML",
		"EncType=application/x-www-form-urlencoded; charset=UTF-8",
		"Body=wasPersonTabs=true&__o3id6=YN1&__o3id0={executionID}&__o3id1=1048692&__o3id2=HealthCarePortal&__o3id3=AnyManualIncomePage&__o3id4=16&__o3id5=true&validate-save-and-exit=true&iegExecutionID={executionID}&scriptID=HealthCarePortal&pageID=AnyManualIncomePage&syncToken=16&iegScriptVersion=V1&iegScriptType=Portal&forwardParams=%26id%3D{id}&o3ctx=1048692&__o3fmeta=%7B%22__o3id2%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FscriptID%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id1%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2Fo3ctx%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id0%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FexecutionID%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id6%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FIEG_YES_NO%2FhasManualIncome%22%2C%22Does%20{p_FN}%20have%20any%20income%3F%22%2C%22IEG_YES_NO%22%2Ctrue%5D%2C%22__o3id5%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%"
		"24currentPageAnswers%2Fhf%2Fvalidate-save-and-exit%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id4%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FsyncToken%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id3%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FpageID%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%7D&__o3fmeta_mandatory_data=__o3id6&__o3synch={p_o3synch_16}",
		LAST);

	lr_end_transaction("11_MaleWithAPTC_29_Income",LR_AUTO);

	lr_think_time(ithinktime);

	lr_start_transaction("11_MaleWithAPTC_30_Income_Details");

	web_reg_find("Text=Form 1040", LAST );
	
	web_reg_save_param("p_o3synch_18", "LB=__o3synch\" type=\"hidden\" value=\"", "RB=\"/>", "NotFound=Error", "Search=ALL", LAST);

	addDynaTraceHeader("NA=11_MaleWithAPTC_30_Income_Details_{dp_UserID};PC=ProcessScript.do_18");
	web_custom_request("ProcessScript.do_18",
		"URL=https://{p_Webapp_URL}/CitizenPortal/ieg/ProcessScript.do?executionID={executionID}",
		"Method=POST",
		"TargetFrame=",
		"Resource=0",
		"RecContentType=text/html",
		"Referer=https://{p_Webapp_URL}/CitizenPortal/ieg/Screening.do?executionID={executionID}&id={id}&o3ctx=1048688",
		"Snapshot=t51.inf",
		"Mode=HTML",
		"EncType=application/x-www-form-urlencoded; charset=UTF-8",
		"Body=wasPersonTabs=true&__o3id6=HCIT26001&__o3id7=TFT1&__o3id8=ABCD%20Inc&__o3id9=28000&__o3ida=&__o3idb=FC7&__o3idc=2012-04-10&__o3idd=&__o3ide=YN2&__o3id0={executionID}&__o3id1=1048692&__o3id2=HealthCarePortal&__o3id3=DCHXManualIncomePage&__o3id4=17&__o3id5=true&validate-save-and-exit=true&iegExecutionID={executionID}&scriptID=HealthCarePortal&pageID=DCHXManualIncomePage&syncToken=17&iegScriptVersion=V1&iegScriptType=Portal&forwardParams=%26id%3D{id}&o3ctx=1048692&__o3fmeta=%7B%22__o3id9%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FIEG_MONEY%2FIncomeItem.amount%22%2C%22Amount%20(Before%20taxes%20and%20deductions)%22%2C%22IEG_MONEY%22%2Ctrue%5D%2C%22__o3id8%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FIEG_STRING%2FIncomeItem.employer%22%2C%22What%20is%20the%20name%20of%20your%20Employer%3F%22%2C%22IEG_STRING%22%2Cfalse%5D%2C%22__o3id7%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FTAXFORM_TYPE%2FIncomeItem.taxform%22%2C%22Please%"
		"20indicate%20which%20tax%20form%20is%20used%20to%20report%20this%20income.%22%2C%22TAXFORM_TYPE%22%2Cfalse%5D%2C%22__o3id2%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FscriptID%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id1%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2Fo3ctx%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id0%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FexecutionID%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id6%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FINCOME_TYPE%2FIncomeItem.incomeType%22%2C%22Income%20Type%22%2C%22INCOME_TYPE%22%2Ctrue%5D%2C%22__o3id5%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2Fvalidate-save-and-exit%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id4%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FsyncToken%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id3%22%3A%5B%22%2Fdata%2Fsi%2FAC"
		"TION%2Fanswers%24currentPageAnswers%2Fhf%2FpageID%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3ide%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FIEG_YES_NO%2FhasMoreManualIncome%22%2C%22Does%20{p_FN}%20have%20any%20more%20income%3F%22%2C%22IEG_YES_NO%22%2Ctrue%5D%2C%22__o3idd%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FIEG_DATE%2FIncomeItem.endDate%22%2C%22End%20Date%22%2C%22IEG_DATE%22%2Cfalse%5D%2C%22__o3idc%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FIEG_DATE%2FIncomeItem.startDate%22%2C%22Start%20Date%22%2C%22IEG_DATE%22%2Ctrue%5D%2C%22__o3idb%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FFREQUENCY_CODE%2FIncomeItem.frequency%22%2C%22Frequency%22%2C%22FREQUENCY_CODE%22%2Ctrue%5D%2C%22__o3ida%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FIEG_MONEY%2FIncomeItem.taxExemptAmount%22%2C%22What%20portion%20of%20this%20amount%20is%20tax%20exempt%3F%22%2C%22IEG_MONEY%22%2Cfa"
		"lse%5D%7D&__o3fmeta_mandatory_data=__o3id9%2C__o3id6%2C__o3ide%2C__o3idc%2C__o3idb&__o3synch={p_o3synch_17}",
		LAST);

	lr_end_transaction("11_MaleWithAPTC_30_Income_Details",LR_AUTO);

	lr_think_time(ithinktime);

	lr_start_transaction("11_MaleWithAPTC_31_Income_Adjustment");

	web_reg_find("Text=Adjustments",  LAST );	
	
	web_reg_save_param("p_o3synch_19", "LB=__o3synch\" type=\"hidden\" value=\"", "RB=\"/>", "NotFound=Error", "Search=ALL", LAST);

	addDynaTraceHeader("NA=11_MaleWithAPTC_31_Income_Adjustment_{dp_UserID};PC=ProcessScript.do_19");
	web_custom_request("ProcessScript.do_19",
		"URL=https://{p_Webapp_URL}/CitizenPortal/ieg/ProcessScript.do?executionID={executionID}",
		"Method=POST",
		"TargetFrame=",
		"Resource=0",
		"RecContentType=text/html",
		"Referer=https://{p_Webapp_URL}/CitizenPortal/ieg/Screening.do?executionID={executionID}&id={id}&o3ctx=1048688",
		"Snapshot=t52.inf",
		"Mode=HTML",
		"EncType=application/x-www-form-urlencoded; charset=UTF-8",
		"Body=wasPersonTabs=true&__o3id6=YN2&__o3id0={executionID}&__o3id1=1048692&__o3id2=HealthCarePortal&__o3id3=AnyIncomeDeductionPage&__o3id4=18&__o3id5=true&validate-save-and-exit=true&iegExecutionID={executionID}&scriptID=HealthCarePortal&pageID=AnyIncomeDeductionPage&syncToken=18&iegScriptVersion=V1&iegScriptType=Portal&forwardParams=%26id%3D{id}&o3ctx=1048692&__o3fmeta=%7B%22__o3id2%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FscriptID%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id1%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2Fo3ctx%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id0%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FexecutionID%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id6%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FIEG_YES_NO%2FanyDeductableItem%22%2C%22Does%20{p_FN}%20have%20any%20of%20the%20adjustments%20to%20income%20that%20are%20listed%20in%20Form%201040%2C%20lines%2"
		"023%20to%2035%3F%22%2C%22IEG_YES_NO%22%2Cfalse%5D%2C%22__o3id5%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2Fvalidate-save-and-exit%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id4%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FsyncToken%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id3%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FpageID%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%7D&__o3fmeta_mandatory_data=&__o3synch={p_o3synch_18}",
		LAST);

	lr_end_transaction("11_MaleWithAPTC_31_Income_Adjustment",LR_AUTO);

	lr_think_time(ithinktime);
	
	lr_start_transaction("11_MaleWithAPTC_32_Annual_Income");
	
	web_reg_save_param("p_o3synch_20", "LB=__o3synch\" type=\"hidden\" value=\"", "RB=\"/>", "NotFound=Error", "Search=ALL", LAST);

	addDynaTraceHeader("NA=11_MaleWithAPTC_32_Annual_Income_{dp_UserID};PC=ProcessScript.do_20");
	web_custom_request("ProcessScript.do_20",
		"URL=https://{p_Webapp_URL}/CitizenPortal/ieg/ProcessScript.do?executionID={executionID}",
		"Method=POST",
		"TargetFrame=",
		"Resource=0",
		"RecContentType=text/html",
		"Referer=https://{p_Webapp_URL}/CitizenPortal/ieg/Screening.do?executionID={executionID}&id={id}&o3ctx=1048688",
		"Snapshot=t53.inf",
		"Mode=HTML",
		"EncType=application/x-www-form-urlencoded; charset=UTF-8",
		"Body=wasPersonTabs=true&__o3id6=YN1&__o3id7=28%2C000.00&__o3id0={executionID}&__o3id1=1048692&__o3id2=HealthCarePortal&__o3id3=ProjectedAnnualIncomePage&__o3id4=19&__o3id5=true&validate-save-and-exit=true&iegExecutionID={executionID}&scriptID=HealthCarePortal&pageID=ProjectedAnnualIncomePage&syncToken=19&iegScriptVersion=V1&iegScriptType=Portal&forwardParams=%26id%3D{id}&o3ctx=1048692&__o3fmeta=%7B%22__o3id7%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FIEG_MONEY%2FProjectedAnnualIncome.projectedIncome%22%2C%22What%20do%20you%20expect%20the%20annual%20income%20to%20be%20in%202015%3F%22%2C%22IEG_MONEY%22%2Cfalse%5D%2C%22__o3id2%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FscriptID%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id1%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2Fo3ctx%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id0%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FexecutionID%22%2C%22%2"
		"2%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id6%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FIEG_YES_NO%2FPerson.isAnnualIncomeCorrect%22%2C%22Is%20this%20what%20you%20expect%20{p_FN}'s%20annual%20income%20to%20be%20in%202015%3F%22%2C%22IEG_YES_NO%22%2Ctrue%5D%2C%22__o3id5%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2Fvalidate-save-and-exit%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id4%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FsyncToken%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id3%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FpageID%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%7D&__o3fmeta_mandatory_data=__o3id6&__o3synch={p_o3synch_19}",
		LAST);
	
	lr_end_transaction("11_MaleWithAPTC_32_Annual_Income",LR_AUTO);

	lr_think_time(ithinktime);

	lr_start_transaction("11_MaleWithAPTC_33_Additional_Info");
	
	web_reg_save_param("p_o3synch_21", "LB=__o3synch\" type=\"hidden\" value=\"", "RB=\"/>", "NotFound=Error", "Search=ALL", LAST);

	addDynaTraceHeader("NA=11_MaleWithAPTC_33_Additional_Info_1_{dp_UserID};PC=ProcessScript.do_21");
	web_submit_data("ProcessScript.do_21",
		"Action=https://{p_Webapp_URL}/CitizenPortal/ieg/ProcessScript.do?executionID={executionID}",
		"Method=POST",
		"TargetFrame=",
		"RecContentType=text/html",
		"Referer=https://{p_Webapp_URL}/CitizenPortal/ieg/Screening.do?executionID={executionID}&id={id}&o3ctx=1048688",
		"Snapshot=t54.inf",
		"Mode=HTML",
		ITEMDATA,
		"Name=__o3id0", "Value={executionID}", ENDITEM,
		"Name=__o3id1", "Value=1048692", ENDITEM,
		"Name=__o3id2", "Value=HealthCarePortal", ENDITEM,
		"Name=__o3id3", "Value=AdditionalHouseholdBreaker", ENDITEM,
		"Name=__o3id4", "Value=20", ENDITEM,
		"Name=__o3id5", "Value=true", ENDITEM,
		"Name=validate-save-and-exit", "Value=true", ENDITEM,
		"Name=iegExecutionID", "Value={executionID}", ENDITEM,
		"Name=scriptID", "Value=HealthCarePortal", ENDITEM,
		"Name=pageID", "Value=AdditionalHouseholdBreaker", ENDITEM,
		"Name=syncToken", "Value=20", ENDITEM,
		"Name=iegScriptVersion", "Value=V1", ENDITEM,
		"Name=iegScriptType", "Value=Portal", ENDITEM,
		"Name=forwardParams", "Value=&id={id}", ENDITEM,
		"Name=o3ctx", "Value=1048692", ENDITEM,
		"Name=__o3fmeta", "Value={\"__o3id2\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/scriptID\",\"\",\"IEG_ANSWERS\",false],\"__o3id1\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/o3ctx\",\"\",\"IEG_ANSWERS\",false],\"__o3id0\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/executionID\",\"\",\"IEG_ANSWERS\",false],\"__o3id5\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/validate-save-and-exit\",\"\",\"IEG_ANSWERS\",false],\"__o3id4\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/syncToken\",\"\",\"IEG_ANSWERS\",false],\"__o3id3\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/pageID\",\"\",\"IEG_ANSWERS\",false]}", ENDITEM,
		"Name=__o3fmeta_mandatory_data", "Value=", ENDITEM,
		"Name=__o3synch", "Value={p_o3synch_20}", ENDITEM,
		LAST);
	
	web_reg_save_param("p_o3synch_22", "LB=__o3synch\" type=\"hidden\" value=\"", "RB=\"/>", "NotFound=Error", "Search=ALL", LAST);

	addDynaTraceHeader("NA=11_MaleWithAPTC_33_Additional_Info_2_{dp_UserID};PC=ProcessScript.do_22");
	web_submit_data("ProcessScript.do_22",
		"Action=https://{p_Webapp_URL}/CitizenPortal/ieg/ProcessScript.do?executionID={executionID}",
		"Method=POST",
		"TargetFrame=",
		"RecContentType=text/html",
		"Referer=https://{p_Webapp_URL}/CitizenPortal/ieg/Screening.do?executionID={executionID}&id={id}&o3ctx=1048688",
		"Snapshot=t55.inf",
		"Mode=HTML",
		ITEMDATA,
		"Name=__o3id0", "Value={executionID}", ENDITEM,
		"Name=__o3id1", "Value=1048692", ENDITEM,
		"Name=__o3id2", "Value=HealthCarePortal", ENDITEM,
		"Name=__o3id3", "Value=AdditionalIAInfromationPage", ENDITEM,
		"Name=__o3id4", "Value=21", ENDITEM,
		"Name=__o3id5", "Value=true", ENDITEM,
		"Name=validate-save-and-exit", "Value=true", ENDITEM,
		"Name=iegExecutionID", "Value={executionID}", ENDITEM,
		"Name=scriptID", "Value=HealthCarePortal", ENDITEM,
		"Name=pageID", "Value=AdditionalIAInfromationPage", ENDITEM,
		"Name=syncToken", "Value=21", ENDITEM,
		"Name=iegScriptVersion", "Value=V1", ENDITEM,
		"Name=iegScriptType", "Value=Portal", ENDITEM,
		"Name=forwardParams", "Value=&id={id}", ENDITEM,
		"Name=o3ctx", "Value=1048692", ENDITEM,
		"Name=__o3fmeta", "Value={\"__o3id7\":[\"/data/si/ACTION/answers$currentPageAnswers/ans/IEG_BOOLEAN/Person.isEnrolledOrEligibleForESC.0\",\"\",\"IEG_BOOLEAN\",false],\"__o3id2\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/scriptID\",\"\",\"IEG_ANSWERS\",false],\"__o3id1\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/o3ctx\",\"\",\"IEG_ANSWERS\",false],\"__o3id0\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/executionID\",\"\",\"IEG_ANSWERS\",false],\"__o3id6\":[\"/data/si/ACTION/answers$currentPageAnswers/ans/IEG_BOOLEAN/Person.isIncarcerated.0\",\"\",\"IEG_BOOLEAN\",false],\"__o3id5\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/validate-save-and-exit\",\"\",\"IEG_ANSWERS\",false],\"__o3id4\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/syncToken\",\"\",\"IEG_ANSWERS\",false],\"__o3id3\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/pageID\",\"\",\"IEG_ANSWERS\",false]}", ENDITEM,
		"Name=__o3fmeta_mandatory_data", "Value=", ENDITEM,
		"Name=__o3synch", "Value={p_o3synch_21}", ENDITEM,
		LAST);

	lr_end_transaction("11_MaleWithAPTC_33_Additional_Info",LR_AUTO);

	lr_think_time(ithinktime);

	lr_start_transaction("11_MaleWithAPTC_34_Disabilities");
	
	web_reg_save_param("p_o3synch_23", "LB=__o3synch\" type=\"hidden\" value=\"", "RB=\"/>", "NotFound=Error", "Search=ALL", LAST);

	addDynaTraceHeader("NA=11_MaleWithAPTC_34_Disabilities_{dp_UserID};PC=ProcessScript.do_23");
	web_custom_request("ProcessScript.do_23",
		"URL=https://{p_Webapp_URL}/CitizenPortal/ieg/ProcessScript.do?executionID={executionID}",
		"Method=POST",
		"TargetFrame=",
		"Resource=0",
		"RecContentType=text/html",
		"Referer=https://{p_Webapp_URL}/CitizenPortal/ieg/Screening.do?executionID={executionID}&id={id}&o3ctx=1048688",
		"Snapshot=t56.inf",
		"Mode=HTML",
		"EncType=application/x-www-form-urlencoded; charset=UTF-8",
		"Body=__o3id6=YN2&__o3id8=YN2&__o3ida=YN2&__o3idc=YN2&__o3id0={executionID}&__o3id1=1048692&__o3id2=HealthCarePortal&__o3id3=AdditionalInfoForAllPage&__o3id4=22&__o3id5=true&validate-save-and-exit=true&iegExecutionID={executionID}&scriptID=HealthCarePortal&pageID=AdditionalInfoForAllPage&syncToken=22&iegScriptVersion=V1&iegScriptType=Portal&forwardParams=%26id%3D{id}&o3ctx=1048692&__o3fmeta=%7B%22__o3id9%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FIEG_BOOLEAN%2FPerson.isBlind.0%22%2C%22%22%2C%22IEG_BOOLEAN%22%2Cfalse%5D%2C%22__o3id8%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FIEG_YES_NO%2FanyoneBlind%22%2C%22Is%20anyone%20in%20the%20Application%20Group%20blind%3F%22%2C%22IEG_YES_NO%22%2Ctrue%5D%2C%22__o3id7%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FIEG_BOOLEAN%2FPerson.haveMedicalBill.0%22%2C%22%22%2C%22IEG_BOOLEAN%22%2Cfalse%5D%2C%22__o3id2%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FscriptID%22%2"
		"C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id1%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2Fo3ctx%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id0%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FexecutionID%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id6%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FIEG_YES_NO%2FanyoneHasUnpaidMedicalBills%22%2C%22Does%20anyone%20in%20the%20household%20need%20help%20paying%20for%20medical%20bills%20from%20the%20last%203%20months%3F%22%2C%22IEG_YES_NO%22%2Cfalse%5D%2C%22__o3id5%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2Fvalidate-save-and-exit%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id4%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FsyncToken%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id3%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FpageID%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%"
		"22__o3idd%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FIEG_BOOLEAN%2FPerson.hasLongTermCare.0%22%2C%22%22%2C%22IEG_BOOLEAN%22%2Cfalse%5D%2C%22__o3idc%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FIEG_YES_NO%2FlongTermCare%22%2C%22Does%20anyone%20in%20the%20Application%20Group%20need%20help%20with%20activities%20of%20daily%20living%20(i.e.%20bathing%2C%20eating)%20through%20home%20health%20services%2C%20a%20nursing%20home%2C%20or%20other%20medical%20facility%3F%22%2C%22IEG_YES_NO%22%2Ctrue%5D%2C%22__o3idb%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FIEG_BOOLEAN%2FPerson.isDisabled.0%22%2C%22%22%2C%22IEG_BOOLEAN%22%2Cfalse%5D%2C%22__o3ida%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FIEG_YES_NO%2FanyoneDisabled%22%2C%22Is%20anyone%20in%20the%20Application%20Group%20disabled%3F%22%2C%22IEG_YES_NO%22%2Ctrue%5D%7D&__o3fmeta_mandatory_data=__o3id8%2C__o3idc%2C__o3ida&__o3synch={p_o3synch_22}",
		LAST);
	
	lr_end_transaction("11_MaleWithAPTC_34_Disabilities",LR_AUTO);

	lr_think_time(ithinktime);
	
	return 0;
}
EmployerCreateAccount()
{
	int savedcount, duplicatecount;
	web_set_sockets_option("SSL_VERSION", "TLS1.1");
		
	web_reg_save_param("AUTH_TOKEN_1", "LB=<meta name=\"csrf-token\" content=\"", "RB=\" />", LAST); 
	
	lr_start_transaction("INTEG_EMPLYR_0002_Click_on_Create_Account");

	web_url("Create account", 
		"URL={HTTP}://{EnrollAppLandingPage}/users/sign_up", 
		"TargetFrame=", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer={HTTP}://{EnrollAppLandingPage}/users/sign_in", 
		"Snapshot=t3.inf", 
		"Mode=HTML", 
		LAST);

	lr_end_transaction("INTEG_EMPLYR_0002_Click_on_Create_Account",LR_AUTO);
	
	lr_think_time(11);
	
	web_reg_save_param("AUTH_TOKEN_2", "LB=<meta name=\"csrf-token\" content=\"", "RB=\" />", LAST);
	web_reg_find("Text/IC=Your account has been created", "SaveCount=CreateAccountCount", LAST);

	lr_start_transaction("INTEG_EMPLYR_0003_Create_Account_Submit");
	
	web_submit_data("users", 
		"Action={HTTP}://{EnrollAppLandingPage}/users", 
		"Method=POST", 
		"TargetFrame=", 
		"RecContentType=text/html", 
		"Referer={HTTP}://{EnrollAppLandingPage}/users/sign_up", 
		"Snapshot=t4.inf", 
		"Mode=HTML", 
		"EncodeAtSign=YES", 
		ITEMDATA, 
		"Name=utf8", "Value=✓", ENDITEM, 
		"Name=authenticity_token", "Value={AUTH_TOKEN_1}", ENDITEM,  
		"Name=user[referer]", "Value={HTTP}://{EnrollAppLandingPage}/users/sign_in", ENDITEM, 
		"Name=user[email]", "Value={pEmpPrefix}{FEIN}@test.com", ENDITEM, 
		"Name=user[password]", "Value=Abcd!234", ENDITEM,
		"Name=user[password_confirmation]", "Value=Abcd!234", ENDITEM, 
		"Name=user[invitation_id]", "Value=", ENDITEM, 
		"Name=commit", "Value=Create account", ENDITEM, 	
		LAST);

	if (strcmp(lr_eval_string("{CreateAccountCount}"), "0") == 0)
	{
		lr_end_transaction("INTEG_EMPLYR_0003_Create_Account_Submit",LR_FAIL);
		lr_error_message("Failed to Create Account for::: %s%[email protected]", lr_eval_string("{pEmpPrefix}"), lr_eval_string("{FEIN}"));
		lr_exit(LR_EXIT_ITERATION_AND_CONTINUE, LR_AUTO);		
	}
	else
	{
		lr_log_message("Successfully created account for ::: %s%[email protected]", lr_eval_string("{pEmpPrefix}"), lr_eval_string("{FEIN}"));
		lr_end_transaction("INTEG_EMPLYR_0003_Create_Account_Submit",LR_PASS);
	}


	
	return 0;
}