场景设置:单场景人工方式,每隔5S增加1人,直到增加虚拟用户为500人,在持续运行1.4个小时后,每隔5S减少1个虚拟用户,思考时间设置的方式是随机生成,范围为:20% 至 100%,勾选 了 winlnet replay instead of sockets(windows only)。以这种方式 进行场景运行。
场景运行结束后,出现了几个报错信息:分别是84819 fail to stop; Reason:Timeout
27496 error -27496 internal error -internetclosehandle failed for item at 0ba14858,windows error code=6 Assuming the item can be deleted,but error(s) may occur in fvlrwNetwininetcallback
27492 error 'httpsendRequest' failed ,windows error code = 12029(can not connect)and retry limit()) exceeded for url= "###########"
26499 internal error granulated transaction _userDataPoint(http _200,9) failed,rc = -1
这几个错误,但在百度和谷歌搜索后,没有找到解决方案
VU脚本:只是访问首页的脚本,保留录制的所有脚本
Action()
{
web_add_cookie("Hm_lvt_f1a4833f42f9a248904e2b3e85ecdce7=1341547132609; DOMAIN=test.epailive.com");
web_add_cookie("__utma=15016418.632710783.1341546378.1341546378.1341555965.2; DOMAIN=test.epailive.com");
web_add_cookie("__utmz=15016418.1341546378.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); DOMAIN=test.epailive.com");
web_add_cookie("9C34C4274F505C5D2A19F2B709A2D2D7=\"/member/memberAccountAction_consume1_member.do\"; DOMAIN=test.epailive.com");
web_add_cookie("loginState=yes; DOMAIN=###########");
web_add_cookie("memberLoginName=\"###########\"; DOMAIN=###########");
web_add_cookie("AF07DF768CCC031FBFDEF98116079FFB=\"/index.shtml\"; DOMAIN=###########");
web_add_cookie("6BB67C56333FEC7206A03EACBF6F14DF=\"/index.shtml\"; DOMAIN=###########com");
web_add_cookie("570B76E6AEAB74677A8DD4CD3777688B=\"/index.shtml\"; DOMAIN=###########com");
web_add_cookie("ABD9746320A73351042B17E93487B495=\"/doingAuctionAction_auction_auction.do?auctionId=5127&channel=4\"; DOMAIN=###########");
web_add_cookie("633220E1479FEE0A28ADCB59842EF492=\"/index.shtml\"; DOMAIN=###########");
web_add_cookie("8D5B5FFF5B2A2CAEBBFD3A95BD9863A2=\"/index.shtml\"; DOMAIN=###########");
web_add_cookie("7C1F03A339E75FEF204ADC0CC533217D=\"/index.shtml\"; DOMAIN=###########");
web_add_cookie("7CA46431F7E0F19CC9117E39D382A33D=\"/index.shtml\"; DOMAIN=###########");
web_add_cookie("5C55D04A8309FE9D9A216F0E3BA76CA5=\"/member/myEpaiAccountAction_accountGrade_member.do?channel=7\"; DOMAIN=###########");
lr_start_transaction("访问首页");
web_url("###########",
"URL=http://###########/",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
LAST);
web_url("index.shtml",
"URL=http://###########",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t2.inf",
"Mode=HTML",
EXTRARES,
"Url=/images/index_bodyBg.gif", ENDITEM,
"Url=/images/seach_butn_03_03.gif", ENDITEM,
"Url=/images/epai-main-bgshadow2.gif", ENDITEM,
"Url=/images/epai-main-bgshadow4.gif", ENDITEM,
"Url=/flash/map%20-%205places.swf", ENDITEM,
"Url=/images/menu1_03_h.gif", ENDITEM,
"Url=/images/nav-menu_03.gif", ENDITEM,
"Url=/images/about-us-3.24.11_03.gif", ENDITEM,
"Url=/images/epai-main-videoblockbg1.gif", ENDITEM,
"Url=/css/iepngfix.htc", "Referer=", ENDITEM,
"Url=/images/epai-main-noflash.gif", ENDITEM,
"Url=/images/hmpg-vidscroll.jpg", ENDITEM,
"Url=/images/hmpg-vid-scrolltop.jpg", ENDITEM,
"Url=/images/hmpg-vid-scroll_03.jpg", ENDITEM,
"Url=/flash/hpAward405.swf", ENDITEM,
"Url=/flash/zhonghanggj.swf", ENDITEM,
"Url=/images/hmpg-vid-scrollbotm.jpg", ENDITEM,
"Url=/images/hammerbg.gif", ENDITEM,
"Url=/images/epai-main-rectAcBgpicBtm.gif", ENDITEM,
"Url=/images/epai-main-iconv4.gif", ENDITEM,
"Url=/images/vborder-dot1.gif", ENDITEM,
"Url=/css/img/loader.gif", ENDITEM,
"Url=/images/epai-lef_03.gif", ENDITEM,
"Url=/images/overseas-aucright_04.gif", ENDITEM,
"Url=/images/epai-main-3.17.11_57.gif", ENDITEM,
"Url=/images/epai-main-iconv2.gif", ENDITEM,
"Url=/images/epai-main-menuvmor_01.gif", ENDITEM,
"Url=/images/epai-maingengduo_04.gif", ENDITEM,
"Url=/images/img-guanbi.png", ENDITEM,
"Url=/images/epai-main-6thxin_03.gif", ENDITEM,
"Url=/images/epai-main-topFlash1.gif", ENDITEM,
"Url=/images/epai-main-topjingdezhen.jpg", ENDITEM,
"Url=/images/left-flash-ad_newslettepmtixing.gif", ENDITEM,
"Url=/images/left-flash-ad_newsletter_05_14.gif", ENDITEM,
"Url=/flash/config/map.xml", "Referer=http://###########/flash/map%20-%205places.swf", ENDITEM,
LAST);
//duration_time = lr_get_transaction_duration("访问首页");
lr_end_transaction("访问首页", LR_PASS);
//lr_output_message("事务执行时间为::%f",duration_time);
//lr_output_message("%d",web_get_int_property(HTTP_INFO_DOWNLOAD_SIZE));//获取请求资源的大小,单位为MB
return 0;
}