Beispiel #1
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;
}
Labor_Load_6()
{
	char error_dll_msg[500];
	int dll[8];

	web_cleanup_cookies();
	web_cache_cleanup();


	web_add_auto_header("Accept-Encoding", "gzip, deflate");
	web_add_auto_header("Accept-Language", "en-us");
	web_add_auto_header("User-Agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2)");

	/*
	 * BP: Go to https://www.mysodexho.com
	 */

	web_add_cookie("SDXRunStatus=1; DOMAIN=www.mysodexho.com");

	web_url("www.mysodexho.com", 
		"URL=http://www.mysodexho.com/", 
		"TargetFrame=", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=", 
		"Snapshot=t1.inf", 
		"Mode=HTML", 
		LAST);

	web_reg_find("Text=User ID:", "SaveCount=p_homepage", LAST);

	web_url("index.asp", 
		"URL=https://www.mysodexho.com/index.asp", 
		"TargetFrame=", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=", 
		"Snapshot=t2.inf", 
		"Mode=HTML", 
		EXTRARES, 
		"Url=/Styles/LNav.jpg", ENDITEM, 
		"Url=/Images/LNav.jpg", ENDITEM, 
		"Url=/Images/MS-login-small.swf", ENDITEM, 
		LAST);


	lr_start_transaction("Labor_Load_6");

	//Customer specific error message if homepage doesn't load
	if(atoi(lr_eval_string("{p_homepage}")) < 1)
	{
		lr_error_message("MySodexo site is unavailable for Labor Load 6");
		lr_end_transaction("Labor_Load_6", LR_FAIL);
		return 0;
	}

	/* BP: Login with username and password */

	web_reg_find("Text=Labor Management", "SaveCount=p_menu", LAST);
	web_reg_find("Text=About MySodexo", "SaveCount=p_login", LAST);

	web_submit_data("Validator.aspx", 
		"Action=https://www.mysodexho.com/SSOValidator/Validator.aspx", 
		"Method=POST", 
		"TargetFrame=", 
		"RecContentType=text/html", 
		"Referer=https://www.mysodexho.com/index.asp", 
		"Snapshot=t3.inf", 
		"Mode=HTML", 
		ITEMDATA, 
		"Name=userid", "Value={enc_user}", ENDITEM, 
		"Name=password", "Value={enc_pwd}", ENDITEM,  
		"Name=AppID", "Value=MSA", ENDITEM, 
		"Name=Login.x", "Value=63", ENDITEM, 
		"Name=Login.y", "Value=9", ENDITEM, 
		EXTRARES, 
		"Url=../Images/MainPageHeader.swf", "Referer=https://www.mysodexho.com/MsaSecmod/first.aspx", ENDITEM, 
		"Url=../Images/MainPagenav-background-withstripe.jpg", "Referer=https://www.mysodexho.com/MsaSecmod/first.aspx", ENDITEM, 
		LAST);

	//Customer specific error message if login fails
	if(atoi(lr_eval_string("{p_login}")) < 1)
	{
		lr_error_message("MSA Login failed with account \"%s\" for Labor Load 6", lr_eval_string("{enc_user}"));
		lr_end_transaction("Labor_Load_6", LR_FAIL);
		return 0;
	}

	//Customer specific error message if menu doesn't load
	if(atoi(lr_eval_string("{p_menu}")) < 1)
	{
		lr_error_message("MySodexo Menu is not functional for Labor Load 6");
		lr_end_transaction("Labor_Load_6", LR_FAIL);
		return 0;
	}

	/* BP: Click on My Applications -> Applications -> Labor Management - ADP*/

	web_url("lmprodadp.asp", 
		"URL=https://www.mysodexho.com/applications/Spot_Request/lmprodadp.asp", 
		"TargetFrame=", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=", 
		"Snapshot=t4.inf", 
		"Mode=HTML", 
		LAST);

	web_url("HttpHandler.aspx", 
		"URL=https://www.mysodexho.com/MsaSecmod/HttpHandler.aspx?Action=UserAppAccessHist&AppID=2362", 
		"TargetFrame=", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=https://www.mysodexho.com/MsaSecmod/first.aspx", 
		"Snapshot=t5.inf", 
		"Mode=HTML", 
		LAST);

	web_reg_find("Text=Launch Labor Management", "SaveCount=p_LMlink", LAST);

	web_submit_data("index.aspx", 
		"Action=https://lms.mysodexho.com/UIORAADP/index.aspx", 
		"Method=POST", 
		"TargetFrame=", 
		"RecContentType=text/html", 
		"Referer=https://www.mysodexho.com/applications/Spot_Request/lmprodadp.asp", 
		"Snapshot=t6.inf", 
		"Mode=HTML", 
		ITEMDATA, 
		"Name=userid", "Value={enc_user}", ENDITEM, 
		"Name=AppID", "Value=SLMSQAS", ENDITEM, 
		"Name=splashtitle", "Value=Labor_Management_Splash_Screen", ENDITEM, 
		EXTRARES, 
		"Url=Styles/LNav.jpg", ENDITEM, 
		"Url=images/launch-button-over.jpg", ENDITEM, 
		"Url=images/Resource-over.jpg", ENDITEM, 
		"Url=images/header-space2-over.jpg", ENDITEM, 
		LAST);

	//Customer specific error message if "Launch Labor Management" link doesn't appear
	if(atoi(lr_eval_string("{p_LMlink}")) < 1)
	{
		lr_error_message("Labor Management Communications page does not rendor and \"Launch Labor Management\" link is not present for Labor Load 6");
		lr_end_transaction("Labor_Load_6", LR_FAIL);
		return 0;
	}
/*
	web_custom_request("default.asp", 
		"URL=https://content.mysodexho.com/lm_app/default.asp", 
		"Method=HEAD", 
		"TargetFrame=", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=https://lms.mysodexho.com/UIORAADP/index.aspx", 
		"Mode=HTML", 
		LAST);
*/
	web_reg_find("Text=Labor Management news and update information is temporarily unavailable", "SaveCount=p_LMtridion", LAST);

	web_url("default.asp_2", 
		"URL=https://content.mysodexho.com/lm_app/default.asp", 
		"TargetFrame=", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=https://lms.mysodexho.com/UIORAADP/index.aspx", 
		"Snapshot=t7.inf", 
		"Mode=HTML", 
		LAST);

	//Customer specific error message for Labor Management launch page
	//If the text check is found, print the message
	if(atoi(lr_eval_string("{p_LMtridion}")) >= 1)
	{
		lr_error_message("The Tridion Content is unavailable and the Static Page has Rendered for Labor Load 6");
		lr_end_transaction("Labor_Load_6", LR_FAIL);
	}


	/* BP: Click the "Launch Labor Management" link at the top */

	web_url("lmsplash.html", 
		"URL=https://lms.mysodexho.com/UIORAADP/lmsplash.html", 
		"TargetFrame=", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=", 
		"Snapshot=t8.inf", 
		"Mode=HTML", 
		LAST);

	web_revert_auto_header("Accept-Language");

	web_url("default.aspx", 
		"URL=https://lms.mysodexho.com/UIORAADP/default.aspx?userid={enc_user}", 
		"TargetFrame=", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=", 
		"Snapshot=t9.inf", 
		"Mode=HTML", 
		//EXTRARES, 
		//"Url=BootStrapper.dll", "Referer=https://lms.mysodexho.com/UIORAADP/default.aspx?userid={enc_user}", ENDITEM, 
		//"Url=BootStrapper.DLL", "Referer=", ENDITEM, 
		//"Url=LMCore.DLL", "Referer=", ENDITEM, 
		//"Url=Utilities.DLL", "Referer=", ENDITEM, 
		//"Url=LMProxy.DLL", "Referer=", ENDITEM, 
		//"Url=ProxyManager.DLL", "Referer=", ENDITEM, 
		//"Url=BootStrapper.dll.config", "Referer=", ENDITEM, 
		LAST);


	//The portion below was added manually, pulled from the EXTRARES above

			//initialize the error_dll_msg string
			sprintf(error_dll_msg,"Labor Management Home Page did not render for Labor Load 6\nThe following DLLs failed to load:\n");

			web_reg_find("Text/BIN=\\x00mnuEditEmployee", "SaveCount=p_dll0", LAST);
		
			web_url("BootStrapper.dll", 
				"URL=https://lms.mysodexho.com/UIORAADP/BootStrapper.dll", 
				"Resource=0", 
				"RecContentType=application/x-msdownload", 
				"Referer=https://lms.mysodexho.com/UIORAADP/default.aspx?userid={enc_user}", 
				LAST);

			if((dll[0] = atoi(lr_eval_string("{p_dll0}"))) < 1)
				strcat(error_dll_msg,"BootStapper.dll\n");

			web_revert_auto_header("Accept-Language");

			web_reg_find("Text=<configuration>", "SaveCount=p_dll1", LAST);
				
			web_url("BootStrapper.dll.config", 
				"URL=https://lms.mysodexho.com/UIORAADP/BootStrapper.dll.config", 
				"Resource=0", 
				"RecContentType=application/octet-stream", 
				"Referer=", 
				LAST);

			if((dll[1] = atoi(lr_eval_string("{p_dll1}"))) < 1)
				strcat(error_dll_msg,"BootStrapper.dll.config\n");

			web_reg_find("Text/BIN=\\x00mnuEditSchedule", "SaveCount=p_dll2",LAST);
		
			web_url("BootStrapper.DLL", 
				"URL=https://lms.mysodexho.com/UIORAADP/BootStrapper.DLL", 
				"Resource=0", 
				"RecContentType=application/x-msdownload", 
				"Referer=", 
				LAST);

			if((dll[2] = atoi(lr_eval_string("{p_dll2}"))) < 1)
				strcat(error_dll_msg,"BootStrapper.DLL\n");

			web_reg_find("Text=This program cannot be run in DOS mode", "SaveCount=p_dll3", LAST);
		
			web_url("LMCore.DLL", 
				"URL=https://lms.mysodexho.com/UIORAADP/LMCore.DLL", 
				"Resource=0", 
				"RecContentType=application/x-msdownload", 
				"Referer=", 
				LAST);

			if((dll[3] = atoi(lr_eval_string("{p_dll3}"))) < 1)
				strcat(error_dll_msg,"LMCore.DLL\n");

			web_reg_find("Text=Time Adjustment", "SaveCount=p_dll4", LAST);
		
			web_url("Utilities.DLL", 
				"URL=https://lms.mysodexho.com/UIORAADP/Utilities.DLL", 
				"Resource=0", 
				"RecContentType=application/x-msdownload", 
				"Referer=", 
				LAST);

			if((dll[4] = atoi(lr_eval_string("{p_dll4}"))) < 1)
				strcat(error_dll_msg,"Utilities.DLL\n");

			web_reg_find("Text=This program cannot be run in DOS mode", "SaveCount=p_dll5", LAST);
		
			web_url("LMProxy.DLL", 
				"URL=https://lms.mysodexho.com/UIORAADP/LMProxy.DLL", 
				"Resource=0", 
				"RecContentType=application/x-msdownload", 
				"Referer=", 
				LAST);

			if((dll[5] = atoi(lr_eval_string("{p_dll5}"))) < 1)
				strcat(error_dll_msg,"LMProxy.DLL\n");

			web_reg_find("Text=This program cannot be run in DOS mode", "SaveCount=p_dll6", LAST);
		
			web_url("ProxyManager.DLL", 
				"URL=https://lms.mysodexho.com/UIORAADP/ProxyManager.DLL", 
				"Resource=0", 
				"RecContentType=application/x-msdownload", 
				"Referer=", 
				LAST);

			if((dll[6] = atoi(lr_eval_string("{p_dll6}"))) < 1)
				strcat(error_dll_msg,"ProxyManager.DLL\n");

			web_reg_find("Text=Microsoft.Xml.Serialization.GeneratedAssembly", "SaveCount=p_dll7", LAST);
		
			web_url("LMProxy.XmlSerializers.DLL", 
				"URL=https://lms.mysodexho.com/UIORAADP/LMProxy.XmlSerializers.DLL", 
				"Resource=0", 
				"RecContentType=application/x-msdownload", 
				"Referer=", 
				LAST);

			if((dll[7] = atoi(lr_eval_string("{p_dll7}"))) < 1)
				strcat(error_dll_msg,"LMProxy.XmlSerializers.DLL\n");

	//end manual code entries

	//Customer specific error message if "Launch Labor Management" link doesn't appear
	//If ONE of them fails, print the message
	if(!(dll[0] && dll[1] && dll[2] && dll[3] && dll[4] && dll[5] && dll[6] && dll[7]))
	{
		lr_error_message(error_dll_msg);
		lr_end_transaction("Labor_Load_6", LR_FAIL);
		return 0;
	}
	
	web_add_auto_header("User-Agent", "Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.832)");
	web_add_header("Content-Type", "text/xml; charset=utf-8");
	web_add_header("SOAPAction", "\"http://tempuri.org/GetConnectionStatus\"");

	soap_request("StepName=GetConnectionStatus", 
		"URL=https://lms.mysodexho.com/LMBrokerServices6/LMRequestManager.asmx", 
		"SOAPEnvelope=<?xml version=\"1.0\" encoding=\"utf-8\"?><soap:Envelope "
		"xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsi=\""
		"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://"
		"www.w3.org/2001/XMLSchema\"><soap:Body><GetConnectionStatus xmlns=\""
		"http://tempuri.org/\" /></soap:Body></soap:Envelope>", 
		"Snapshot=t11.inf", 
		"ResponseParam=response", 
		LAST);

	web_add_header("Content-Type", "text/xml; charset=utf-8");
	web_add_header("SOAPAction", "\"http://tempuri.org/GetUserDetails\"");

	soap_request("StepName=GetUserDetails", 
		"URL=https://lms.mysodexho.com/LMBrokerServices6/LMRequestManager.asmx", 
		"SOAPEnvelope=<?xml version=\"1.0\" encoding=\"utf-8\"?><soap:Envelope "
		"xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsi=\""
		"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://"
		"www.w3.org/2001/XMLSchema\"><soap:Body><GetUserDetails xmlns=\"http://"
		"tempuri.org/\"><submit>{enc_user}|01/01/2000/12/00|01/01/2000/12/00</submit"
		"></GetUserDetails></soap:Body></soap:Envelope>", 
		"Snapshot=t12.inf", 
		"ResponseParam=response", 
		LAST);

	/* BP: Click Edit -> Employee */

	web_add_header("Content-Type", "text/xml; charset=utf-8");
	web_add_header("SOAPAction", "\"http://tempuri.org/GetConnectionStatus\"");

	soap_request("StepName=GetConnectionStatus_2", 
		"URL=https://lms.mysodexho.com/LMBrokerServices6/LMRequestManager.asmx", 
		"SOAPEnvelope=<?xml version=\"1.0\" encoding=\"utf-8\"?><soap:Envelope "
		"xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsi=\""
		"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://"
		"www.w3.org/2001/XMLSchema\"><soap:Body><GetConnectionStatus xmlns=\""
		"http://tempuri.org/\" /></soap:Body></soap:Envelope>", 
		"Snapshot=t13.inf", 
		"ResponseParam=response", 
		LAST);

	web_add_header("Content-Type", "text/xml; charset=utf-8");
	web_add_header("SOAPAction", "\"http://tempuri.org/InvokeDAL\"");

	soap_request("StepName=InvokeDAL", 
		"URL=https://lms.mysodexho.com/LMBrokerServices6/LMRequestManager.asmx", 
		"SOAPEnvelope=<?xml version=\"1.0\" encoding=\"utf-8\"?><soap:Envelope "
		"xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsi=\""
		"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://"
		"www.w3.org/2001/XMLSchema\"><soap:Body><InvokeDAL xmlns=\"http://"
		"tempuri.org/\"><submit>&lt;a&gt;&lt;b&gt;&lt;c&gt;&lt;d&gt;"
		"PKG_COMMON.get_app_cache_edit_emp&lt;/d&gt;&lt;e&gt;1&lt;/e&gt;&lt;f&"
		"gt;&lt;c&gt;&lt;j&gt;&lt;c&gt;&lt;k&gt;pin_clientcachedate&lt;/k&gt;&"
		"lt;l&gt;01/01/2000/12/00&lt;/l&gt;&lt;/c&gt;&lt;/j&gt;&lt;h&gt;&lt;c&"
		"gt;&lt;k&gt;rcur_States&lt;/k&gt;&lt;/c&gt;&lt;/h&gt;&lt;h&gt;&lt;c&gt"
		";&lt;k&gt;rcur_Countries&lt;/k&gt;&lt;/c&gt;&lt;/h&gt;&lt;h&gt;&lt;c&"
		"gt;&lt;k&gt;rcur_FederalFilingStatus&lt;/k&gt;&lt;/c&gt;&lt;/h&gt;&lt;"
		"h&gt;&lt;c&gt;&lt;k&gt;rcur_StateFilingStatus&lt;/k&gt;&lt;/c&gt;&lt;/"
		"h&gt;&lt;h&gt;&lt;c&gt;&lt;k&gt;rcur_EarnedIncomeCredit&lt;/k&gt;&lt;/"
		"c&gt;&lt;/h&gt;&lt;h&gt;&lt;c&gt;&lt;k&gt;rcur_ContactRelation&lt;/k&"
		"gt;&lt;/c&gt;&lt;/h&gt;&lt;h&gt;&lt;c&gt;&lt;k&gt;rcur_BadgeStatus&lt;"
		"/k&gt;&lt;/c&gt;&lt;/h&gt;&lt;h&gt;&lt;c&gt;&lt;k&gt;rcur_Language&lt;"
		"/k&gt;&lt;/c&gt;&lt;/h&gt;&lt;h&gt;&lt;c&gt;&lt;k&gt;rcur_PayrollCycle"
		"&lt;/k&gt;&lt;/c&gt;&lt;/h&gt;&lt;h&gt;&lt;c&gt;&lt;k&gt;rcur_Subclass"
		"&lt;/k&gt;&lt;/c&gt;&lt;/h&gt;&lt;h&gt;&lt;c&gt;&lt;k&gt;"
		"rcur_StudentCategory&lt;/k&gt;&lt;/c&gt;&lt;/h&gt;&lt;h&gt;&lt;c&gt;&"
		"lt;k&gt;rcur_MaritalStatus&lt;/k&gt;&lt;/c&gt;&lt;/h&gt;&lt;h&gt;&lt;c"
		"&gt;&lt;k&gt;rcur_Gender&lt;/k&gt;&lt;/c&gt;&lt;/h&gt;&lt;h&gt;&lt;c&"
		"gt;&lt;k&gt;rcur_VisaType&lt;/k&gt;&lt;/c&gt;&lt;/h&gt;&lt;h&gt;&lt;c&"
		"gt;&lt;k&gt;rcur_EEOCode&lt;/k&gt;&lt;/c&gt;&lt;/h&gt;&lt;h&gt;&lt;c&"
		"gt;&lt;k&gt;rcur_Veteran&lt;/k&gt;&lt;/c&gt;&lt;/h&gt;&lt;h&gt;&lt;c&"
		"gt;&lt;k&gt;rcur_Disability&lt;/k&gt;&lt;/c&gt;&lt;/h&gt;&lt;h&gt;&lt;"
		"c&gt;&lt;k&gt;rcur_OccupationCode&lt;/k&gt;&lt;/c&gt;&lt;/h&gt;&lt;h&"
		"gt;&lt;c&gt;&lt;k&gt;rcur_WageDept&lt;/k&gt;&lt;/c&gt;&lt;/h&gt;&lt;h&"
		"gt;&lt;c&gt;&lt;k&gt;rcur_EmploymentStatus&lt;/k&gt;&lt;/c&gt;&lt;/h&"
		"gt;&lt;h&gt;&lt;c&gt;&lt;k&gt;rcur_CodeStatus&lt;/k&gt;&lt;/c&gt;&lt;/"
		"h&gt;&lt;h&gt;&lt;c&gt;&lt;k&gt;rcur_PayrollStatus&lt;/k&gt;&lt;/c&gt;"
		"&lt;/h&gt;&lt;/c&gt;&lt;/f&gt;&lt;g&gt;True&lt;/g&gt;&lt;t&gt;0&lt;/t&"
		"gt;&lt;u&gt;5&lt;/u&gt;&lt;s&gt;False&lt;/s&gt;&lt;/c&gt;&lt;/b&gt;&lt"
		";/a&gt;</submit></InvokeDAL></soap:Body></soap:Envelope>", 
		"Snapshot=t14.inf", 
		"ResponseParam=response", 
		LAST);

	web_add_header("Content-Type", "text/xml; charset=utf-8");
	web_add_header("SOAPAction", "\"http://tempuri.org/GetConnectionStatus\"");

	soap_request("StepName=GetConnectionStatus_3", 
		"URL=https://lms.mysodexho.com/LMBrokerServices6/LMRequestManager.asmx", 
		"SOAPEnvelope=<?xml version=\"1.0\" encoding=\"utf-8\"?><soap:Envelope "
		"xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsi=\""
		"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://"
		"www.w3.org/2001/XMLSchema\"><soap:Body><GetConnectionStatus xmlns=\""
		"http://tempuri.org/\" /></soap:Body></soap:Envelope>", 
		"Snapshot=t15.inf", 
		"ResponseParam=response", 
		LAST);

	web_add_header("Content-Type", "text/xml; charset=utf-8");
	web_add_header("SOAPAction", "\"http://tempuri.org/InvokeDAL\"");

	soap_request("StepName=InvokeDAL_2", 
		"URL=https://lms.mysodexho.com/LMBrokerServices6/LMRequestManager.asmx", 
		"SOAPEnvelope=<?xml version=\"1.0\" encoding=\"utf-8\"?><soap:Envelope "
		"xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsi=\""
		"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://"
		"www.w3.org/2001/XMLSchema\"><soap:Body><InvokeDAL xmlns=\"http://"
		"tempuri.org/\"><submit>&lt;a&gt;&lt;b&gt;&lt;c&gt;&lt;d&gt;"
		"PKG_COMMON.spGetResources&lt;/d&gt;&lt;e&gt;1&lt;/e&gt;&lt;f&gt;&lt;c&"
		"gt;&lt;j&gt;&lt;c&gt;&lt;k&gt;ScreenName&lt;/k&gt;&lt;l&gt;New "
		"Employee Edit&lt;/l&gt;&lt;/c&gt;&lt;/j&gt;&lt;j&gt;&lt;c&gt;&lt;k&gt;"
		"CacheAge&lt;/k&gt;&lt;l&gt;03/16/2009 02:20&lt;/l&gt;&lt;/c&gt;&lt;/j&"
		"gt;&lt;h&gt;&lt;c&gt;&lt;k&gt;RefCur&lt;/k&gt;&lt;/c&gt;&lt;/h&gt;&lt;"
		"/c&gt;&lt;/f&gt;&lt;g&gt;True&lt;/g&gt;&lt;t&gt;0&lt;/t&gt;&lt;u&gt;5&"
		"lt;/u&gt;&lt;s&gt;False&lt;/s&gt;&lt;/c&gt;&lt;/b&gt;&lt;/a&gt;</"
		"submit></InvokeDAL></soap:Body></soap:Envelope>", 
		"Snapshot=t16.inf", 
		"ResponseParam=response", 
		LAST);

	web_add_header("Content-Type", "text/xml; charset=utf-8");
	web_add_header("SOAPAction", "\"http://tempuri.org/GetConnectionStatus\"");

	soap_request("StepName=GetConnectionStatus_4", 
		"URL=https://lms.mysodexho.com/LMBrokerServices6/LMRequestManager.asmx", 
		"SOAPEnvelope=<?xml version=\"1.0\" encoding=\"utf-8\"?><soap:Envelope "
		"xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsi=\""
		"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://"
		"www.w3.org/2001/XMLSchema\"><soap:Body><GetConnectionStatus xmlns=\""
		"http://tempuri.org/\" /></soap:Body></soap:Envelope>", 
		"Snapshot=t17.inf", 
		"ResponseParam=response", 
		LAST);

	web_add_header("Content-Type", "text/xml; charset=utf-8");
	web_add_header("SOAPAction", "\"http://tempuri.org/InvokeDAL\"");

	soap_request("StepName=InvokeDAL_3", 
		"URL=https://lms.mysodexho.com/LMBrokerServices6/LMRequestManager.asmx", 
		"SOAPEnvelope=<?xml version=\"1.0\" encoding=\"utf-8\"?><soap:Envelope "
		"xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsi=\""
		"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://"
		"www.w3.org/2001/XMLSchema\"><soap:Body><InvokeDAL xmlns=\"http://"
		"tempuri.org/\"><submit>&lt;a&gt;&lt;b&gt;&lt;c&gt;&lt;d&gt;"
		"PKG_EMPLOYEE_EDIT.prc_Emp_Business_Obj_Driver&lt;/d&gt;&lt;e&gt;1&lt;/"
		"e&gt;&lt;f&gt;&lt;c&gt;&lt;h&gt;&lt;c&gt;&lt;k&gt;pout_ref_cur1&lt;/k&"
		"gt;&lt;/c&gt;&lt;/h&gt;&lt;h&gt;&lt;c&gt;&lt;k&gt;pout_ref_cur2&lt;/k&"
		"gt;&lt;/c&gt;&lt;/h&gt;&lt;/c&gt;&lt;/f&gt;&lt;g&gt;True&lt;/g&gt;&lt;"
		"t&gt;0&lt;/t&gt;&lt;u&gt;5&lt;/u&gt;&lt;s&gt;False&lt;/s&gt;&lt;/c&gt;"
		"&lt;/b&gt;&lt;/a&gt;</submit></InvokeDAL></soap:Body></soap:Envelope>", 
		"Snapshot=t18.inf", 
		"ResponseParam=response", 
		LAST);


	if(strstr(lr_eval_string("{response}"),"Edit Employee AddressInfo") == NULL)
	{
		lr_error_message("Labor Load 6 failed to call Edit Employee");
		lr_set_transaction_status(LR_FAIL);
	}

	web_add_header("Content-Type", "text/xml; charset=utf-8");
	web_add_header("SOAPAction", "\"http://tempuri.org/GetConnectionStatus\"");

	soap_request("StepName=GetConnectionStatus_5", 
		"URL=https://lms.mysodexho.com/LMBrokerServices6/LMRequestManager.asmx", 
		"SOAPEnvelope=<?xml version=\"1.0\" encoding=\"utf-8\"?><soap:Envelope "
		"xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsi=\""
		"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://"
		"www.w3.org/2001/XMLSchema\"><soap:Body><GetConnectionStatus xmlns=\""
		"http://tempuri.org/\" /></soap:Body></soap:Envelope>", 
		"Snapshot=t19.inf", 
		"ResponseParam=response", 
		LAST);

	web_add_header("Content-Type", "text/xml; charset=utf-8");
	web_add_header("SOAPAction", "\"http://tempuri.org/InvokeDAL\"");

	soap_request("StepName=InvokeDAL_4", 
		"URL=https://lms.mysodexho.com/LMBrokerServices6/LMRequestManager.asmx", 
		"SOAPEnvelope=<?xml version=\"1.0\" encoding=\"utf-8\"?><soap:Envelope "
		"xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsi=\""
		"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://"
		"www.w3.org/2001/XMLSchema\"><soap:Body><InvokeDAL xmlns=\"http://"
		"tempuri.org/\"><submit>&lt;a&gt;&lt;b&gt;&lt;c&gt;&lt;d&gt;"
		"PKG_COMMON.spGetResources&lt;/d&gt;&lt;e&gt;1&lt;/e&gt;&lt;f&gt;&lt;c&"
		"gt;&lt;j&gt;&lt;c&gt;&lt;k&gt;ScreenName&lt;/k&gt;&lt;l&gt;Employee "
		"Business Object&lt;/l&gt;&lt;/c&gt;&lt;/j&gt;&lt;j&gt;&lt;c&gt;&lt;k&"
		"gt;CacheAge&lt;/k&gt;&lt;l&gt;03/16/2009 02:20&lt;/l&gt;&lt;/c&gt;&lt;"
		"/j&gt;&lt;h&gt;&lt;c&gt;&lt;k&gt;RefCur&lt;/k&gt;&lt;/c&gt;&lt;/h&gt;&"
		"lt;/c&gt;&lt;/f&gt;&lt;g&gt;True&lt;/g&gt;&lt;t&gt;0&lt;/t&gt;&lt;u&gt"
		";5&lt;/u&gt;&lt;s&gt;False&lt;/s&gt;&lt;/c&gt;&lt;/b&gt;&lt;/a&gt;</"
		"submit></InvokeDAL></soap:Body></soap:Envelope>", 
		"Snapshot=t20.inf", 
		"ResponseParam=response", 
		LAST);


	lr_end_transaction("Labor_Load_6", LR_AUTO);

	/* BP: Close LM and Log Off */

	web_add_auto_header("Accept-Encoding", "gzip, deflate");
	web_add_auto_header("Accept-Language", "en-us");
	web_add_auto_header("User-Agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2)");

	web_url("singlelogout.asp", 
		"URL=https://www.mysodexho.com/Log_in/singlelogout.asp?LogoutCondition=BLogout", 
		"TargetFrame=", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=", 
		"Snapshot=t21.inf", 
		"Mode=HTML", 
		LAST);

	web_url("www.mysodexho.com_2", 
		"URL=https://www.mysodexho.com/", 
		"TargetFrame=", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=", 
		"Snapshot=t22.inf", 
		"Mode=HTML", 
		EXTRARES, 
		"Url=/Images/LNav.jpg", ENDITEM, 
		"Url=/Styles/LNav.jpg", ENDITEM, 
		"Url=/Images/MS-login-small.swf", ENDITEM, 
		LAST);

	return 0;
}
Beispiel #3
0
Logon()
{

	web_add_cookie("birdsmp04.na.sas.com_Cluster=2C4A0D48B64F3269567B7E35E8BB1572.birdsmp04.na.sas.com_SASServer1_1; DOMAIN=birdsmp04.na.sas.com");

	lr_think_time(16);

	web_submit_data("login;birdsmp04.na.sas.com_Cluster=19B802BADCCDFA791C25D9E187633C13.birdsmp04.na.sas.com_SASServer1_1", 
		"Action=http://birdsmp04.na.sas.com/SASLogon/login;birdsmp04.na.sas.com_Cluster=19B802BADCCDFA791C25D9E187633C13.birdsmp04.na.sas.com_SASServer1_1?service=http%3A%2F%2Fbirdsmp04.na.sas.com%2FSASVisualAnalyticsExplorer%2Fj_spring_cas_security_check", 
		"Method=POST", 
		"RecContentType=text/html", 
		"Referer=http://birdsmp04.na.sas.com/SASLogon/login?service=http%3A%2F%2Fbirdsmp04.na.sas.com%2FSASVisualAnalyticsExplorer%2Fj_spring_cas_security_check", 
		"Snapshot=t4.inf", 
		"Mode=HTML", 
		ITEMDATA, 
		"Name=username", "Value=rdtest0001", ENDITEM, 
		"Name=password", "Value=good2go", ENDITEM, 
		"Name=lt", "Value=LT-23-Kc5fL36haBcikHMxcwsipEOZolJ0PY", ENDITEM, 
		"Name=execution", "Value=e1s1", ENDITEM, 
		"Name=_eventId", "Value=submit", ENDITEM, 
		LAST);

	web_concurrent_start(NULL);

	web_url("swfobject.js", 
		"URL=http://birdsmp04.na.sas.com/SASVisualAnalyticsExplorer/scripts/swfobject.js", 
		"Resource=1", 
		"RecContentType=application/javascript", 
		"Referer=http://birdsmp04.na.sas.com/SASVisualAnalyticsExplorer/VisualAnalyticsExplorer/VisualAnalyticsExplorerApp.jsp", 
		"Snapshot=t5.inf", 
		LAST);

	web_url("rightClick.js", 
		"URL=http://birdsmp04.na.sas.com/SASVisualAnalyticsExplorer/scripts/rightClick.js", 
		"Resource=1", 
		"RecContentType=application/javascript", 
		"Referer=http://birdsmp04.na.sas.com/SASVisualAnalyticsExplorer/VisualAnalyticsExplorer/VisualAnalyticsExplorerApp.jsp", 
		"Snapshot=t6.inf", 
		LAST);

	web_add_header("x-flash-version", 
		"11,7,700,202");

	web_url("VisualAnalyticsExplorerApp.swf", 
		"URL=http://birdsmp04.na.sas.com/SASVisualAnalyticsExplorer/VisualAnalyticsExplorer/VisualAnalyticsExplorerApp.swf", 
		"Resource=1", 
		"RecContentType=application/x-shockwave-flash", 
		"Referer=http://birdsmp04.na.sas.com/SASVisualAnalyticsExplorer/VisualAnalyticsExplorer/VisualAnalyticsExplorerApp.jsp", 
		"Snapshot=t7.inf", 
		LAST);

	web_add_header("x-flash-version", 
		"11,7,700,202");

	web_url("splash.swf", 
		"URL=http://birdsmp04.na.sas.com/SASFlexThemes/4.1/ApplicationThemes/Corporate/splash.swf", 
		"Resource=1", 
		"RecContentType=application/x-shockwave-flash", 
		"Referer=http://birdsmp04.na.sas.com/SASVisualAnalyticsExplorer/VisualAnalyticsExplorer/VisualAnalyticsExplorerApp.swf", 
		"Snapshot=t8.inf", 
		LAST);

	web_concurrent_end(NULL);

	web_add_header("x-flash-version", 
		"11,7,700,202");

	lr_think_time(4);

	web_submit_data("config.xml", 
		"Action=http://birdsmp04.na.sas.com/SASVisualAnalyticsExplorer/VisualAnalyticsExplorer/config.xml", 
		"Method=POST", 
		"RecContentType=application/xml", 
		"Referer=http://birdsmp04.na.sas.com/SASVisualAnalyticsExplorer/VisualAnalyticsExplorer/VisualAnalyticsExplorerApp.swf", 
		"Snapshot=t9.inf", 
		"Mode=HTML", 
		ITEMDATA, 
		"Name=dummy", "Value=dummy", ENDITEM, 
		LAST);

	web_url("historyFrame.html", 
		"URL=http://birdsmp04.na.sas.com/SASVisualAnalyticsExplorer/VisualAnalyticsExplorer/history/historyFrame.html?", 
		"Resource=0", 
		"RecContentType=text/html", 
		"Referer=http://birdsmp04.na.sas.com/SASVisualAnalyticsExplorer/VisualAnalyticsExplorer/VisualAnalyticsExplorerApp.jsp", 
		"Snapshot=t10.inf", 
		"Mode=HTML", 
		LAST);

	web_add_header("x-flash-version", 
		"11,7,700,202");

	web_concurrent_start(NULL);

	web_url("FlexServicesConfigServlet", 
		"URL=http://birdsmp04.na.sas.com/SASVisualAnalyticsExplorer/FlexServicesConfigServlet", 
		"Resource=1", 
		"RecContentType=text/plain", 
		"Referer=http://birdsmp04.na.sas.com/SASVisualAnalyticsExplorer/VisualAnalyticsExplorer/VisualAnalyticsExplorerApp.swf", 
		"Snapshot=t11.inf", 
		LAST);

	web_add_header("x-flash-version", 
		"11,7,700,202");

	web_url("ResourceModule_en_US.swf", 
		"URL=http://birdsmp04.na.sas.com/SASVisualAnalyticsExplorer/VisualAnalyticsExplorer/ResourceModules/ResourceModule_en_US.swf", 
		"Resource=1", 
		"RecContentType=application/x-shockwave-flash", 
		"Referer=http://birdsmp04.na.sas.com/SASVisualAnalyticsExplorer/VisualAnalyticsExplorer/VisualAnalyticsExplorerApp.swf", 
		"Snapshot=t12.inf", 
		LAST);

	web_concurrent_end(NULL);

	web_add_auto_header("x-flash-version", "11,7,700,202");

	web_submit_data("keepalive", 
		"Action=http://birdsmp04.na.sas.com/SASVisualAnalyticsExplorer/service/keepalive", 
		"Method=POST", 
		"RecContentType=text/plain", 
		"Referer=http://birdsmp04.na.sas.com/SASVisualAnalyticsExplorer/VisualAnalyticsExplorer/VisualAnalyticsExplorerApp.swf", 
		"Snapshot=t13.inf", 
		"Mode=HTML", 
		ITEMDATA, 
		"Name=dummyTimeoutParam", "Value=true", ENDITEM, 
		LAST);

	flex_amf_call("AMF3_call", 
		"Gateway=http://birdsmp04.na.sas.com/SASVisualAnalyticsExplorer/"
		"messagebroker/sasamf", 
		"Snapshot=t14.inf", 
		MESSAGE, 
		"Method=null", 
		"TargetObjectId=/1", 
		BEGIN_ARGUMENTS, 
		"<AMF3><object-externalizable-custom>"
		"<flex.messaging.messages.CommandMessage><destination></destination>"
		"<messageId>04F70790-DA98-FB05-00F9-1A92DE070668</messageId><timestamp"
		">0</timestamp><timeToLive>0</timeToLive><headers><entry><string>DSId</"
		"string><string>nil</string></entry><entry><string>DSMessagingVersion</"
		"string><int>1</int></entry></headers><body class=\""
		"flex.messaging.io.amf.ASObject\" serialization=\"custom\">"
		"<unserializable-parents/><map><default><loadFactor>0.75</loadFactor>"
		"<threshold>12</threshold></default><int>16</int><int>0</int></map>"
		"<flex.messaging.io.amf.ASObject><default><inHashCode>false</inHashCode"
		"><inToString>false</inToString></default></"
		"flex.messaging.io.amf.ASObject></body><correlationId></correlationId>"
		"<operation>5</operation></flex.messaging.messages.CommandMessage></"
		"object-externalizable-custom></AMF3>", 
		END_ARGUMENTS, 
		LAST);

	flex_amf_call("AMF3_call_1", 
		"Gateway=http://birdsmp04.na.sas.com/SASVisualAnalyticsExplorer/"
		"messagebroker/sasamf", 
		"Snapshot=t15.inf", 
		MESSAGE, 
		"Method=null", 
		"TargetObjectId=/2", 
		BEGIN_ARGUMENTS, 
		"<AMF3><object-externalizable-custom>"
		"<flex.messaging.messages.RemotingMessage><destination"
		">preferenceService</destination><messageId"
		">1638A08F-4E75-2323-145E-1A92DDEC7226</messageId><timestamp>0</"
		"timestamp><timeToLive>0</timeToLive><headers><entry><string>DSEndpoint"
		"</string><string>amf</string></entry><entry><string>DSId</string>"
		"<string>FE0923BB-B0DE-2D11-D8E7-347C25FDD30D</string></entry></headers"
		"><operation>getPreference</operation><parameters><string>Visual "
		"Analytics Explorer.recentWork</string></parameters></"
		"flex.messaging.messages.RemotingMessage></object-externalizable-custom"
		"></AMF3>", 
		END_ARGUMENTS, 
		MESSAGE, 
		"Method=null", 
		"TargetObjectId=/3", 
		BEGIN_ARGUMENTS, 
		"<AMF3><object-externalizable-custom>"
		"<flex.messaging.messages.RemotingMessage><destination"
		">preferenceService</destination><messageId"
		">F017E300-F0CB-258F-FCE7-1A92DDF4D372</messageId><timestamp>0</"
		"timestamp><timeToLive>0</timeToLive><headers><entry><string>DSEndpoint"
		"</string><string>amf</string></entry><entry><string>DSId</string>"
		"<string>FE0923BB-B0DE-2D11-D8E7-347C25FDD30D</string></entry></headers"
		"><operation>getPreference</operation><parameters><string>Visual "
		"Analytics Explorer.workspaceShell.workspaceDisplay</string></"
		"parameters></flex.messaging.messages.RemotingMessage></"
		"object-externalizable-custom></AMF3>", 
		END_ARGUMENTS, 
		MESSAGE, 
		"Method=null", 
		"TargetObjectId=/4", 
		BEGIN_ARGUMENTS, 
		"<AMF3><object-externalizable-custom>"
		"<flex.messaging.messages.RemotingMessage><destination"
		">preferenceService</destination><messageId"
		">2B9D98ED-B73B-CB0D-29C1-1A92DDF5DDCC</messageId><timestamp>0</"
		"timestamp><timeToLive>0</timeToLive><headers><entry><string>DSEndpoint"
		"</string><string>amf</string></entry><entry><string>DSId</string>"
		"<string>FE0923BB-B0DE-2D11-D8E7-347C25FDD30D</string></entry></headers"
		"><operation>getPreferences</operation><parameters><object-array>"
		"<string>Visual Analytics Explorer.workspaceShell.initialWorkspace</"
		"string><string>Visual Analytics Explorer.workspaceShell.maxRecentWork<"
		"/string></object-array></parameters></"
		"flex.messaging.messages.RemotingMessage></object-externalizable-custom"
		"></AMF3>", 
		END_ARGUMENTS, 
		MESSAGE, 
		"Method=null", 
		"TargetObjectId=/5", 
		BEGIN_ARGUMENTS, 
		"<AMF3><object-externalizable-custom>"
		"<flex.messaging.messages.RemotingMessage><destination"
		">preferenceService</destination><messageId"
		">E0F105F5-AEB6-24CB-A0C4-1A92DDF5F7FA</messageId><timestamp>0</"
		"timestamp><timeToLive>0</timeToLive><headers><entry><string>DSEndpoint"
		"</string><string>amf</string></entry><entry><string>DSId</string>"
		"<string>FE0923BB-B0DE-2D11-D8E7-347C25FDD30D</string></entry></headers"
		"><operation>getPreference</operation><parameters><string>Visual "
		"Analytics Explorer.workspaceShell.userStateBlock</string></parameters>"
		"</flex.messaging.messages.RemotingMessage></"
		"object-externalizable-custom></AMF3>", 
		END_ARGUMENTS, 
		LAST);

	web_concurrent_start(NULL);

	web_url("ResourceModule_Formats.swf", 
		"URL=http://birdsmp04.na.sas.com/SASVisualAnalyticsExplorer/VisualAnalyticsExplorer/ResourceModules/ResourceModule_Formats.swf", 
		"Resource=1", 
		"RecContentType=application/x-shockwave-flash", 
		"Referer=http://birdsmp04.na.sas.com/SASVisualAnalyticsExplorer/VisualAnalyticsExplorer/VisualAnalyticsExplorerApp.swf", 
		"Snapshot=t16.inf", 
		LAST);

	web_url("Themes.xml", 
		"URL=http://birdsmp04.na.sas.com/SASFlexThemes/4.1/Themes.xml", 
		"Resource=1", 
		"RecContentType=application/xml", 
		"Referer=http://birdsmp04.na.sas.com/SASVisualAnalyticsExplorer/VisualAnalyticsExplorer/VisualAnalyticsExplorerApp.swf", 
		"Snapshot=t17.inf", 
		LAST);

	web_url("Corporate.swf", 
		"URL=http://birdsmp04.na.sas.com/SASFlexThemes/4.1/ApplicationThemes/Corporate/Corporate.swf", 
		"Resource=1", 
		"RecContentType=application/x-shockwave-flash", 
		"Referer=http://birdsmp04.na.sas.com/SASVisualAnalyticsExplorer/VisualAnalyticsExplorer/VisualAnalyticsExplorerApp.swf", 
		"Snapshot=t18.inf", 
		LAST);

	web_url("VisualAnalyticsExplorerApp_Corporate.swf", 
		"URL=http://birdsmp04.na.sas.com/SASFlexThemes/4.1/ApplicationThemes/Corporate/VisualAnalyticsExplorerApp_Corporate.swf", 
		"Resource=1", 
		"RecContentType=application/x-shockwave-flash", 
		"Referer=http://birdsmp04.na.sas.com/SASVisualAnalyticsExplorer/VisualAnalyticsExplorer/VisualAnalyticsExplorerApp.swf", 
		"Snapshot=t19.inf", 
		LAST);

	web_concurrent_end(NULL);

	flex_amf_call("AMF3_call_2", 
		"Gateway=http://birdsmp04.na.sas.com/SASVisualAnalyticsExplorer/"
		"messagebroker/sasamf", 
		"Snapshot=t20.inf", 
		MESSAGE, 
		"Method=null", 
		"TargetObjectId=/6", 
		BEGIN_ARGUMENTS, 
		"<AMF3><object-externalizable-custom>"
		"<flex.messaging.messages.RemotingMessage><destination>initService</"
		"destination><messageId>986B9711-B4F1-C2A6-5975-1A92EA5ED8FA</messageId"
		"><timestamp>0</timestamp><timeToLive>0</timeToLive><headers><entry>"
		"<string>DSEndpoint</string><string>amf</string></entry><entry><string"
		">DSId</string><string>FE0923BB-B0DE-2D11-D8E7-347C25FDD30D</string></"
		"entry></headers><operation>getInitDto</operation><parameters/></"
		"flex.messaging.messages.RemotingMessage></object-externalizable-custom"
		"></AMF3>", 
		END_ARGUMENTS, 
		MESSAGE, 
		"Method=null", 
		"TargetObjectId=/7", 
		BEGIN_ARGUMENTS, 
		"<AMF3><object-externalizable-custom>"
		"<flex.messaging.messages.RemotingMessage><destination"
		">preferenceService</destination><messageId"
		">95BCAAC1-727F-3A6F-69FE-1A92EA60011A</messageId><timestamp>0</"
		"timestamp><timeToLive>0</timeToLive><headers><entry><string>DSEndpoint"
		"</string><string>amf</string></entry><entry><string>DSId</string>"
		"<string>FE0923BB-B0DE-2D11-D8E7-347C25FDD30D</string></entry></headers"
		"><operation>getPreferences</operation><parameters><object-array>"
		"<string>prefs.vae.general.showDockPanel</string><string"
		">prefs.vae.general.dataLoadFactor</string><string"
		">prefs.vae.general.graphSkin</string><string"
		">VisualAnalytics.recentItemsListSize</string></object-array></"
		"parameters></flex.messaging.messages.RemotingMessage></"
		"object-externalizable-custom></AMF3>", 
		END_ARGUMENTS, 
		MESSAGE, 
		"Method=null", 
		"TargetObjectId=/8", 
		BEGIN_ARGUMENTS, 
		"<AMF3><object-externalizable-custom>"
		"<flex.messaging.messages.RemotingMessage><destination"
		">dataProviderService</destination><messageId"
		">0C4842E0-BD8E-B5E1-983F-1A92EA67F091</messageId><timestamp>0</"
		"timestamp><timeToLive>0</timeToLive><headers><entry><string>DSEndpoint"
		"</string><string>amf</string></entry><entry><string>DSId</string>"
		"<string>FE0923BB-B0DE-2D11-D8E7-347C25FDD30D</string></entry></headers"
		"><operation>getAllGeoMapRoles</operation><parameters/></"
		"flex.messaging.messages.RemotingMessage></object-externalizable-custom"
		"></AMF3>", 
		END_ARGUMENTS, 
		MESSAGE, 
		"Method=null", 
		"TargetObjectId=/9", 
		BEGIN_ARGUMENTS, 
		"<AMF3><object-externalizable-custom>"
		"<flex.messaging.messages.RemotingMessage><destination>historyService</"
		"destination><messageId>6C6F5FA3-2BED-16D3-3594-1A92EA6E3921</messageId"
		"><timestamp>0</timestamp><timeToLive>0</timeToLive><headers><entry>"
		"<string>DSEndpoint</string><string>amf</string></entry><entry><string"
		">DSId</string><string>FE0923BB-B0DE-2D11-D8E7-347C25FDD30D</string></"
		"entry></headers><operation>getHistoryFolderForApplication</operation>"
		"<parameters><string>VisualAnalytics</string></parameters></"
		"flex.messaging.messages.RemotingMessage></object-externalizable-custom"
		"></AMF3>", 
		END_ARGUMENTS, 
		LAST);

	flex_amf_call("AMF3_call_3", 
		"Gateway=http://birdsmp04.na.sas.com/SASVisualAnalyticsExplorer/"
		"messagebroker/sasamf", 
		"Snapshot=t21.inf", 
		MESSAGE, 
		"Method=null", 
		"TargetObjectId=/10", 
		BEGIN_ARGUMENTS, 
		"<AMF3><object-externalizable-custom>"
		"<flex.messaging.messages.RemotingMessage><destination>loggingService</"
		"destination><messageId>FC553D29-7130-F9C3-265F-1A92EC63EF5D</messageId"
		"><timestamp>0</timestamp><timeToLive>0</timeToLive><headers><entry>"
		"<string>DSEndpoint</string><string>amf</string></entry><entry><string"
		">DSId</string><string>FE0923BB-B0DE-2D11-D8E7-347C25FDD30D</string></"
		"entry></headers><operation>log</operation><parameters>"
		"<flex.messaging.io.amf.ASObject serialization=\"custom\">"
		"<unserializable-parents/><map><default><loadFactor>0.75</loadFactor>"
		"<threshold>12</threshold></default><int>16</int><int>8</int><string"
		">userName</string><string></string><string>performanceLoggingType</"
		"string><int>2</int><string>operationData</string><string></string>"
		"<string>extraData</string><null/><string>startTimeMS</string><double"
		">1.370540403294E12</double><string>guid</string><string></string>"
		"<string>stopTimeMS</string><double>1.370540403808E12</double><string"
		">operation</string><string>INITIALIZE_APPLICATION</string></map>"
		"<flex.messaging.io.amf.ASObject><default><inHashCode>false</inHashCode"
		"><inToString>false</inToString><namedType"
		">com.sas.biv.common.dto.PerformanceLoggingDto</namedType></default></"
		"flex.messaging.io.amf.ASObject></flex.messaging.io.amf.ASObject></"
		"parameters></flex.messaging.messages.RemotingMessage></"
		"object-externalizable-custom></AMF3>", 
		END_ARGUMENTS, 
		MESSAGE, 
		"Method=null", 
		"TargetObjectId=/11", 
		BEGIN_ARGUMENTS, 
		"<AMF3><object-externalizable-custom>"
		"<flex.messaging.messages.RemotingMessage><clientId class=\"string\""
		">FE0B3D4C-E389-776C-36F8-87F73C4225EE</clientId><destination"
		">historyService</destination><messageId"
		">9CA41011-FC03-F92D-5C6E-1A92ED4BB746</messageId><timestamp>0</"
		"timestamp><timeToLive>0</timeToLive><headers><entry><string>DSEndpoint"
		"</string><string>amf</string></entry><entry><string>DSId</string>"
		"<string>FE0923BB-B0DE-2D11-D8E7-347C25FDD30D</string></entry></headers"
		"><operation>getHistoryFolderContents</operation><parameters>"
		"<flex.messaging.io.amf.ASObject serialization=\"custom\">"
		"<unserializable-parents/><map><default><loadFactor>0.75</loadFactor>"
		"<threshold>24</threshold></default><int>32</int><int>13</int><string"
		">modifiedBy</string><string>rdtest0001</string><string>maxSize</string"
		"><int>-1</int><string>creationDate</string><date>2013-05-16 15:59"
		":36.390 GMT</date><string>createdBy</string><string>rdtest0001</string"
		"><string>objectType</string><int>104</int><string>id</string><string"
		">A5SA6Q01.BP000003/FavoritesContainer</string><string>objectTypeName</"
		"string><string>HistoryFolder</string><string>descriptor</string>"
		"<boolean>false</boolean><string>modifiedDate</string><date>2013-05-20 "
		"19:31:43.650 GMT</date><string>contextName</string><string"
		">VisualAnalytics</string><string>description</string><string></string>"
		"<string>internalVersion</string><int>-1</int><string>name</string>"
		"<string>History</string></map><flex.messaging.io.amf.ASObject><default"
		"><inHashCode>false</inHashCode><inToString>false</inToString>"
		"<namedType"
		">com.sas.svcs.content.history.client.ApplicationHistoryFolder</"
		"namedType></default></flex.messaging.io.amf.ASObject></"
		"flex.messaging.io.amf.ASObject></parameters></"
		"flex.messaging.messages.RemotingMessage></object-externalizable-custom"
		"></AMF3>", 
		END_ARGUMENTS, 
		LAST);

	return 0;
}