51Testing软件测试论坛
标题:
用loadrunner的flex/html双协议录制脚本,结果不是flash的请求也录成了flash请求.
[打印本页]
作者:
boy_caijun
时间:
2011-5-17 09:38
标题:
用loadrunner的flex/html双协议录制脚本,结果不是flash的请求也录成了flash请求.
最近使用loadrunner的flex/html双协议录制脚本,结果感觉把一些不是flash的请求都录制成了flash的请求.求各位大虾帮忙解决.万分感谢.
下为部分脚本:
web_add_header("x-flash-version",
"10,2,159,1");
web_url("SensorsInfo.swf",
"URL=http://192.168.4.117/Ropente/Flash/SensorsInfo.swf",
"Resource=1",
"RecContentType=application/x-shockwave-flash",
"Referer=http://192.168.4.117/Ropente/Support/SensorsInfo.aspx",
LAST);
web_add_header("x-flash-version",
"10,2,159,1");
web_url("textLayout_1.0.0.595.swf",
"URL=http://192.168.4.117/Ropente/Flash/textLayout_1.0.0.595.swf",
"Resource=1",
"RecContentType=application/x-shockwave-flash",
"Referer=http://192.168.4.117/Ropente/Flash/SensorsInfo.swf",
LAST);
web_concurrent_end(NULL);
flex_web_request("AjaxFaultMsg.aspx",
"URL=http://192.168.4.117/Ropente/Support/AjaxFaultMsg.aspx",
"Method=POST",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.4.117/Default.aspx",
"Mode=HTTP",
"EncType=",
LAST);
web_add_header("x-flash-version",
"10,2,159,1");
web_concurrent_start(NULL);
web_url("framework_4.0.0.14159.swf",
"URL=http://192.168.4.117/Ropente/Flash/framework_4.0.0.14159.swf",
"Resource=1",
"RecContentType=application/x-shockwave-flash",
"Referer=http://192.168.4.117/Ropente/Flash/SensorsInfo.swf",
LAST);
web_add_header("x-flash-version",
"10,2,159,1");
web_url("osmf_flex.4.0.0.13495.swf",
"URL=http://192.168.4.117/Ropente/Flash/osmf_flex.4.0.0.13495.swf",
"Resource=1",
"RecContentType=application/x-shockwave-flash",
"Referer=http://192.168.4.117/Ropente/Flash/SensorsInfo.swf",
LAST);
web_add_header("x-flash-version",
"10,2,159,1");
web_url("rpc_4.0.0.14159.swf",
"URL=http://192.168.4.117/Ropente/Flash/rpc_4.0.0.14159.swf",
"Resource=1",
"RecContentType=application/x-shockwave-flash",
"Referer=http://192.168.4.117/Ropente/Flash/SensorsInfo.swf",
LAST);
web_add_header("x-flash-version",
"10,2,159,1");
web_url("spark_4.0.0.14159.swf",
"URL=http://192.168.4.117/Ropente/Flash/spark_4.0.0.14159.swf",
"Resource=1",
"RecContentType=application/x-shockwave-flash",
"Referer=http://192.168.4.117/Ropente/Flash/SensorsInfo.swf",
LAST);
web_add_header("x-flash-version",
"10,2,159,1");
web_url("sparkskins_4.0.0.14159.swf",
"URL=http://192.168.4.117/Ropente/Flash/sparkskins_4.0.0.14159.swf",
"Resource=1",
"RecContentType=application/x-shockwave-flash",
"Referer=http://192.168.4.117/Ropente/Flash/SensorsInfo.swf",
LAST);
web_concurrent_end(NULL);
flex_web_request("AutoFollowState.ashx",
"URL=http://192.168.4.117/Ropente/AutoFollowState.ashx",
"Method=POST",
"Resource=0",
"RecContentType=text/plain",
"Referer=http://192.168.4.117/Default.aspx",
"Mode=HTTP",
"EncType=",
LAST);
flex_web_request("AjaxCmj.aspx",
"URL=http://192.168.4.117/Ropente/Support/AjaxCmj.aspx",
"Method=POST",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.4.117/Ropente/Support/SensorsInfo.aspx",
"Mode=HTTP",
"EncType=",
LAST);
we
作者:
boy_caijun
时间:
2011-5-17 19:52
来位大侠帮忙解决啊.
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2