51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 3092|回复: 9
打印 上一主题 下一主题

[求助] 这个到底是哪里错了

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2006-6-2 15:08:30 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
我录制了一个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都是用默认的了,错误一样存在,还请各位高人指点迷津
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
发表于 2006-6-2 15:30:52 | 只看该作者
脚本放上来看看
回复 支持 反对

使用道具 举报

该用户从未签到

3#
 楼主| 发表于 2006-6-2 15:44:28 | 只看该作者
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;
回复 支持 反对

使用道具 举报

该用户从未签到

4#
发表于 2006-6-6 11:08:31 | 只看该作者
关联问题啊
回复 支持 反对

使用道具 举报

该用户从未签到

5#
发表于 2006-6-6 11:13:19 | 只看该作者
好多的cookie啊......
回复 支持 反对

使用道具 举报

该用户从未签到

6#
 楼主| 发表于 2006-6-10 15:13:07 | 只看该作者
不是关联吧 ,因为我在家用台式机录了一遍,没有任何问题,recording option和runtime setting的设置都和公司里录的一样.而且也没有做关联.........
回复 支持 反对

使用道具 举报

该用户从未签到

7#
发表于 2006-6-12 00:07:31 | 只看该作者
没遇到过,顶一下。
回复 支持 反对

使用道具 举报

该用户从未签到

8#
发表于 2006-6-12 09:20:44 | 只看该作者
公司网速怎么样?设置什么代理了没?
回复 支持 反对

使用道具 举报

该用户从未签到

9#
 楼主| 发表于 2006-6-12 15:05:59 | 只看该作者
公司网速虽然比家里慢很多,但是还是不算慢的,而且因为我用的笔记本,所以我用这个出错的在家也试了,也是不行,真的不懂了,我刚才把lr卸了重装,问题依然存在.
回复 支持 反对

使用道具 举报

该用户从未签到

10#
发表于 2006-6-12 17:45:46 | 只看该作者
??不对哈~~!为什么我运行这个脚本全部成功的哈~~!?什么问题啊~!不知道啊~~~好怪!

[ 本帖最后由 fengkai0918 于 2006-6-12 17:51 编辑 ]
回复 支持 反对

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-11-9 05:13 , Processed in 0.070892 second(s), 27 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表