|
10测试积点
本帖最后由 yc74008 于 2013-6-27 16:48 编辑
小弟在用LR测试域名跳转时,目标地址为:http://wap.abc.com/abc(简称abc),如果成功跳转,则返回http://wap.123.com简称(123);
但如果abc无法响应,发生time out;
或如果123无法响应,发生time out;
这时候LR 输出failed 会把abc和123的time 都统计为abc 访问超时,或者123访问超时,无法区分abc有多少超时或者123有多少超时;
http://wap.123.com": [10060] Connection timed out
[MsgId: MERR-27796]
http://wap.abc.com/abc": [10060] Connection timed out
[MsgId: MERR-27796]
请问如何解决?
附LR脚本:
char * ip=lr_get_vuser_ip();
/*IP欺骗检查*/
if(ip)
lr_log_message("The ip address is %s",ip);
else
lr_vuser_status_message("IP spoofing disabled");
/*打印主机IP信息*/
web_set_sockets_option("OVERLAPPED_SEND", "0");
web_set_sockets_option("SHUTDOWN_MODE","ABRUPT");
web_url("abc",
"URL=http://wap.abc.com/abc",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTTP",
LAST); |
|