|
录制了一段对登录google的Script:
Action()
{
web_add_cookie("PREF=ID=0b10206f572baf1a:NW=1:TM=1174825142M=1174825142:S=bLRNFa1ga9trD0aG; DOMAIN=www.google.cn";
lr_rendezvous("logon";
web_url("www.google.cn",
"URL=http://www.google.cn/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
EXTRARES,
"URL=/images/nav_logo2.png", ENDITEM,
LAST);
web_image_check("web_image_check",
"Src=/intl/zh-CN_cn/images/cn_icp.gif",
LAST);
web_url("search",
"URL=http://www.google.cn/complete/search?hl=zh-CN&client=suggest",
"Resource=0",
"RecContentType=text/html",
"Referer=http://www.google.cn/",
"Snapshot=t2.inf",
"Mode=HTML",
LAST);
return 0;
}
在Controller中设置Quantity 为10时, 测试运行正常.
当Quantity为100时,运行时可能出现如下的错误:
Action.c(9): Error -27796: Failed to connect to server "www.google.cn:80": [10060] Connection timed out
Analyze Results时出现以下信息:
The following graph(s) were not created:
1. Hits per Second
2. Throughout
Possible reason:
The graph, as defined, resutls in no data.
查看Controller, Hits per Sencond 和 Throughout 的状态上disable,没有记录任何信息. 而VUser数量为10时,不会出现该情况,
有谁知道上述问题出现的原因? 不盛感激啊! |
|