51Testing软件测试论坛
标题:
这个到底是哪里错了
[打印本页]
作者:
jacky8024
时间:
2006-6-2 15:08
标题:
这个到底是哪里错了
我录制了一个163的主页脚本,没有变动任何地方,在vugen中运行没有错误,但是在controller中运行1个vu,报错Action.c(20): Error -27796: Failed to connect to server "www.163.com:80": [10065] No Route to Host
运行10个vu,错误7个,正确3个,其他的网站如sina,qq都一样,不知道是不是我的设置有问题,但是我recording option和runtime setting都是用默认的了,错误一样存在,还请各位高人指点迷津
作者:
shengyan
时间:
2006-6-2 15:30
脚本放上来看看
作者:
jacky8024
时间:
2006-6-2 15:44
double time_elapsed;
merc_timer_handle_t timer;
timer = lr_start_timer();
web_add_cookie("_ntes_nvid=60b51bf9c28b25419c0758b9a2ba360a; DOMAIN=www.163.com");
web_add_cookie("_ntes_nnsit=|www|; DOMAIN=www.163.com");
web_add_cookie("_ntes_nvtm=4; DOMAIN=www.163.com");
web_add_cookie("NETEASE_SSN=jacky8024; DOMAIN=www.163.com");
web_add_cookie("NETEASE_ADV=11&48; DOMAIN=www.163.com");
web_add_cookie("MAIL163_SSN=jacky8024; DOMAIN=www.163.com");
web_add_cookie("_sur_webads=webads; DOMAIN=www.163.com");
web_add_cookie("Province=021; DOMAIN=www.163.com");
web_add_cookie("City=021; DOMAIN=www.163.com");
web_add_cookie("_ntes_nvid=60b51bf9c28b25419c0758b9a2ba360a; DOMAIN=smspop.163.com");
web_add_cookie("_ntes_nnsit=|www|; DOMAIN=smspop.163.com");
web_add_cookie("_ntes_nvtm=4; DOMAIN=smspop.163.com");
web_add_cookie("NETEASE_SSN=jacky8024; DOMAIN=smspop.163.com");
web_add_cookie("NETEASE_ADV=11&48; DOMAIN=smspop.163.com");
web_add_cookie("MAIL163_SSN=jacky8024; DOMAIN=smspop.163.com");
web_add_cookie("_sur_webads=webads; DOMAIN=smspop.163.com");
web_add_cookie("Province=021; DOMAIN=smspop.163.com");
web_add_cookie("City=021; DOMAIN=smspop.163.com");
web_add_cookie("_ntes_nvid=60b51bf9c28b25419c0758b9a2ba360a; DOMAIN=images.163.com");
web_add_cookie("_ntes_nnsit=|www|; DOMAIN=images.163.com");
web_add_cookie("_ntes_nvtm=4; DOMAIN=images.163.com");
web_add_cookie("NETEASE_SSN=jacky8024; DOMAIN=images.163.com");
web_add_cookie("NETEASE_ADV=11&48; DOMAIN=images.163.com");
web_add_cookie("MAIL163_SSN=jacky8024; DOMAIN=images.163.com");
web_add_cookie("_sur_webads=webads; DOMAIN=images.163.com");
web_add_cookie("Province=021; DOMAIN=images.163.com");
web_add_cookie("City=021; DOMAIN=images.163.com");
web_add_cookie("_ntes_nvid=60b51bf9c28b25419c0758b9a2ba360a; DOMAIN=adimg.163.com");
web_add_cookie("_ntes_nnsit=|www|; DOMAIN=adimg.163.com");
web_add_cookie("_ntes_nvtm=4; DOMAIN=adimg.163.com");
web_add_cookie("NETEASE_SSN=jacky8024; DOMAIN=adimg.163.com");
web_add_cookie("NETEASE_ADV=11&48; DOMAIN=adimg.163.com");
web_add_cookie("MAIL163_SSN=jacky8024; DOMAIN=adimg.163.com");
web_add_cookie("_sur_webads=webads; DOMAIN=adimg.163.com");
web_add_cookie("Province=021; DOMAIN=adimg.163.com");
web_add_cookie("City=021; DOMAIN=adimg.163.com");
web_url("www.163.com",
"URL=http://www.163.com/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
EXTRARES,
"Url=/inc/new163/DartRichMedia_1_03.js", ENDITEM,
"Url=/images/neteaselogo.gif", ENDITEM,
"Url=http://smspop.163.com/20060524/chaonv185x120.swf", "Referer=", ENDITEM,
"Url=http://images.163.com/images/netease/126/20060531/250x140.swf", "Referer=", ENDITEM,
"Url=http://adimg.163.com/homepage/002045/baishi060602_200150.swf", "Referer=", ENDITEM,
"Url=http://adimg.163.com/homepage/eachnet/block/040917/img01.gif", ENDITEM,
"Url=http://images.163.com/images/netease/smsnews/20060531/xlcs/100x50.swf?clickTag=http%3A//adclient.163.com/event.ng/Type%3Dclick%26FlightID%3D59147%26AdID%3D61025%26TargetID%3D1496%26Values%3D31%2C43%2C51%2C60%2C72%2C85%2C90%2C100%2C110%2C150%2C316%2C330%2C332%2C333%2C458%2C515%2C581%2C629%2C727%2C733%2C734%2C774%2C776%26Redirect%3Dhttp%3A//sms.163.com/adhtml/xlcs.html", "Referer=", ENDITEM,
"Url=http://adimg.163.com/homepage/001884/lg060602_10050.swf?clickTag=http%3A//adclient.163.com/event.ng/Type%3Dclick%26FlightID%3D59212%26AdID%3D61088%26TargetID%3D1495%26Values%3D31%2C43%2C51%2C60%2C72%2C85%2C90%2C100%2C110%2C150%2C316%2C330%2C332%2C336%2C458%2C515%2C581%2C629%2C727%2C733%2C734%2C774%2C776%26Redirect%3Dhttp%3A//adclient.dentsu.com.cn/html.ng/adspec%3DFlash%26adtype%3Dlogo%26affiliate%3Dnetease%26campaignid%3D480%26channel%3Dnews_center_tiyu%26log%3D0%26params.styles%3Dclickcmd%3F", "Referer=", ENDITEM,
"Url=http://adimg.163.com/homepage/001966/suoai060529_300120.swf?clickTag=http%3A//adclient.163.com/event.ng/Type%3Dclick%26FlightID%3D59211%26AdID%3D61087%26TargetID%3D482%26Values%3D31%2C43%2C51%2C60%2C72%2C85%2C90%2C100%2C110%2C150%2C316%2C330%2C332%2C333%2C458%2C515%2C552%2C581%2C629%2C733%2C734%2C774%2C776%26Redirect%3Dhttp%3A//www.eiser.net/510_netease_home_banner.htm", "Referer=", ENDITEM,
"Url=http://images.163.com/images/netease/cpc/20060531/100x50.swf?clickTag=http%3A//adclient.163.com/event.ng/Type%3Dclick%26FlightID%3D59001%26AdID%3D60886%26TargetID%3D1494%26Values%3D31%2C43%2C51%2C60%2C72%2C85%2C90%2C100%2C110%2C150%2C316%2C330%2C332%2C335%2C458%2C515%2C581%2C629%2C727%2C733%2C734%2C774%2C776%26Redirect%3Dhttp%3A//cpc.163.com", "Referer=", ENDITEM,
"Url=http://images.163.com/images/netease/smsnews/20060531/lottery/100x50.swf?clickTag=http%3A//adclient.163.com/event.ng/Type%3Dclick%26FlightID%3D58846%26AdID%3D60733%26TargetID%3D1500%26Values%3D31%2C43%2C51%2C60%2C72%2C85%2C90%2C100%2C110%2C150%2C316%2C330%2C332%2C338%2C458%2C515%2C581%2C629%2C727%2C733%2C734%2C774%2C776%26Redirect%3Dhttp%3A//smspop.163.com/lottery/", "Referer=", ENDITEM,
"Url=http://adimg.163.com/homepage/M06050059B/pepsi060601_750120.swf?clickTag=http%3A//adclient.163.com/event.ng/Type%3Dclick%26FlightID%3D59193%26AdID%3D61069%26TargetID%3D637%26Values%3D31%2C43%2C51%2C60%2C72%2C85%2C90%2C100%2C110%2C150%2C227%2C316%2C330%2C332%2C334%2C458%2C515%2C581%2C629%2C733%2C734%2C774%2C776%26Redirect%3Dhttp%3A//pepsi.163.com/j", "Referer=", ENDITEM,
"Url=http://adimg.163.com/homepage/M06050059B/baishi060602_44047.swf?clickTag=http%3A//adclient.163.com/event.ng/Type%3Dclick%26FlightID%3D59239%26AdID%3D61116%26TargetID%3D766%26Values%3D31%2C43%2C51%2C60%2C72%2C85%2C90%2C100%2C110%2C150%2C280%2C316%2C330%2C332%2C333%2C458%2C515%2C581%2C629%2C733%2C734%2C774%2C776%26Redirect%3Dhttp%3A//pepsi.163.com/j", "Referer=", ENDITEM,
"Url=http://adimg.163.com/homepage/M06050059B/pepsi060601_300120.swf?clickTag=http%3A//adclient.163.com/event.ng/Type%3Dclick%26FlightID%3D59195%26AdID%3D61071%26TargetID%3D477%26Values%3D31%2C43%2C51%2C60%2C72%2C85%2C90%2C100%2C110%2C150%2C316%2C330%2C332%2C335%2C458%2C515%2C552%2C581%2C629%2C733%2C734%2C774%2C776%26Redirect%3Dhttp%3A//pepsi.163.com/j", "Referer=", ENDITEM,
"Url=http://adimg.163.com/defaultdot.gif", ENDITEM,
LAST);
web_add_cookie("_ntes_nvid=60b51bf9c28b25419c0758b9a2ba360a; DOMAIN=popme.163.com");
web_add_cookie("_ntes_nnsit=|www|; DOMAIN=popme.163.com");
web_add_cookie("_ntes_nvtm=4; DOMAIN=popme.163.com");
web_add_cookie("NETEASE_SSN=jacky8024; DOMAIN=popme.163.com");
web_add_cookie("NETEASE_ADV=11&48; DOMAIN=popme.163.com");
web_add_cookie("MAIL163_SSN=jacky8024; DOMAIN=popme.163.com");
web_add_cookie("_sur_webads=webads; DOMAIN=popme.163.com");
web_add_cookie("Province=021; DOMAIN=popme.163.com");
web_add_cookie("City=021; DOMAIN=popme.163.com");
web_url("eachnetz.html",
"URL=http://popme.163.com/ad/eachnetz.html",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t2.inf",
"Mode=HTML",
EXTRARES,
"Url=http://adimg.163.com/homepage/001354/qixi060508_110260_r.swf", "Referer=", ENDITEM,
"Url=http://adimg.163.com/homepage/001354/qixi060411_110260_l.swf", "Referer=", ENDITEM,
"Url=http://adimg.163.com/homepage/eachnet/eachnet060529_740520.swf", "Referer=", ENDITEM,
LAST);
time_elapsed = lr_end_timer(timer);
lr_message("%lf",time_elapsed);
return 0;
作者:
xiaoyuwei123
时间:
2006-6-6 11:08
关联问题啊
作者:
shengyan
时间:
2006-6-6 11:13
好多的cookie啊......
作者:
jacky8024
时间:
2006-6-10 15:13
不是关联吧 ,因为我在家用台式机录了一遍,没有任何问题,recording option和runtime setting的设置都和公司里录的一样.而且也没有做关联.........
作者:
Zee
时间:
2006-6-12 00:07
没遇到过,顶一下。
作者:
jun_323
时间:
2006-6-12 09:20
公司网速怎么样?设置什么代理了没?
作者:
jacky8024
时间:
2006-6-12 15:05
公司网速虽然比家里慢很多,但是还是不算慢的,而且因为我用的笔记本,所以我用这个出错的在家也试了,也是不行,真的不懂了,我刚才把lr卸了重装,问题依然存在.
作者:
fengkai0918
时间:
2006-6-12 17:45
??不对哈~~!为什么我运行这个脚本全部成功的哈~~!?什么问题啊~!不知道啊~~~好怪!
[
本帖最后由 fengkai0918 于 2006-6-12 17:51 编辑
]
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2