TA的每日心情 | 郁闷 2017-11-17 09:13 |
---|
签到天数: 3 天 连续签到: 1 天 [LV.2]测试排长
|
用Loadrunner12录制一个简单的操作步骤,但是脚本中包含了很多不必要的请求 web_url("Login",
"URL=http://10.1.136.99:9001/Account/Login",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t51.inf",
"Mode=HTML",
EXTRARES,
"Url=../Content/images/login_bg.png", ENDITEM,
"Url=../Content/images/login_user.png", ENDITEM,
"Url=../Content/images/login_con_bg.png", ENDITEM,
"Url=../Content/images/login_lock.png", ENDITEM,
LAST);
web_set_sockets_option("SSL_VERSION", "2&3");
web_add_auto_header("Q-GUID",
"9f589fc6a923533f22e97d10f0ccd039");
web_add_auto_header("Q-UA",
"PCQB80_GA/800000&NA/NA&PC&NA&NA&NA&9008&NA&V3");
web_add_auto_header("QQ-R-ZIP",
"gzip");
web_add_auto_header("x-tx-host",
"wup.html5.qq.com");
web_custom_request("wup.browser.qq.com",
"URL=https://wup.browser.qq.com/",
"Method=POST",
"Resource=0",
"RecContentType=application/multipart-formdata",
"Referer=",
"Snapshot=t52.inf",
"Mode=HTML",
"EncType=",
"Body=",
EXTRARES,
"Url=http://www.bing.com/favicon.ico", "Referer=", ENDITEM,
LAST);
web_revert_auto_header("Q-GUID");
web_revert_auto_header("Q-UA");
web_revert_auto_header("QQ-R-ZIP");
web_revert_auto_header("x-tx-host");
lr_think_time(12);
web_custom_request("wup.browser.qq.com_2",
"URL=https://wup.browser.qq.com/",
"Method=POST",
"Resource=0",
"RecContentType=application/multipart-formdata",
"Referer=",
"Snapshot=t53.inf",
"Mode=HTML",
"EncType=",
"Body=",
LAST);
脚本中对wup.browser.qq.com的请求比对要访问的还多,关键是页面的响应也没发现跟这个地址相关的资源,很是费解;还有访问http://www.bing.com也有,但少点
请问有知道原因的吗?请帮忙解决下,谢谢~
还有tset result截图查看结果的功能跑那里去了,12的找不到了...
|
|