xiaohaijun176 发表于 2009-1-19 17:09:47

有谁知道为什么我的LR 执行很不稳定呢

(如图) :
1. Gradual vuser exit
2. 停止运行时的运行状况,当然包括整个过程
3,4. 我的Settings

Gradual Exiting 这么慢,差不多半个多小时了还有最后10几好像exit的时间特别久,不过又到最后几个时,exit时间又加快了,很快就退出了;Scenario Status 这么多出错;Vuser 这么多 为什么还是不能达到稳定的20 hits/second(后来测了一下,甚至连10下都有很多Fail)的目标呢?为什么这么多的Vuser 却经常点击只有几下呢?


PS:我的电脑配置也不低呢。DUAL E5200 , 2G 内存, 图二 是监视 本机 系统的 状态图

[ 本帖最后由 xiaohaijun176 于 2009-1-19 17:45 编辑 ]

archonwang 发表于 2009-1-20 10:13:45

把错误日志贴出来。

xiaohaijun176 发表于 2009-1-20 13:26:30

回复 2# 的帖子

DriverLogger: Log started at 16/01/2009 10:15:37 .

16/01/2009 10:15:59 Error: Failed to start connection over firewall. No "MI Listener Name" was given.       
16/01/2009 10:15:59 Error: Failed to start connection over firewall. No "Local Machine Key" was given.       

DriverLogger: Log started at 18/01/2009 09:18:48 .

18/01/2009 09:19:09 Error: Failed to start connection over firewall. No "MI Listener Name" was given.       
18/01/2009 09:19:09 Error: Failed to start connection over firewall. No "Local Machine Key" was given.       

DriverLogger: Log started at 18/01/2009 20:16:07 .

18/01/2009 20:16:11 Error: Failed to start connection over firewall. No "MI Listener Name" was given.       
18/01/2009 20:16:11 Error: Failed to start connection over firewall. No "Local Machine Key" was given.       

DriverLogger: Log started at 19/01/2009 11:50:21 .

19/01/2009 11:50:42 Error: Failed to start connection over firewall. No "MI Listener Name" was given.       
19/01/2009 11:50:42 Error: Failed to start connection over firewall. No "Local Machine Key" was given.       

DriverLogger: Log started at 20/01/2009 09:50:35 .

20/01/2009 09:50:37 Error: Failed to start connection over firewall. No "MI Listener Name" was given.       
20/01/2009 09:50:37 Error: Failed to start connection over firewall. No "Local Machine Key" was given.       

泊涯 发表于 2009-1-20 13:48:17

是不是有防火墙之类的或者杀毒软件

xiaohaijun176 发表于 2009-1-20 15:23:24

回复 4# 的帖子

我不知道,所以想问一下。

星驰 发表于 2009-1-20 16:05:07

设置:程序——〉mercury loadrunner——〉advanced settings ——〉agent configuration

打开的窗口中选择项不被选中,楼主试试看

xiaohaijun176 发表于 2009-1-20 19:55:20

回复 6# 的帖子

还是有很多的失败任务如图 所示,有没有其他办法呢

[ 本帖最后由 xiaohaijun176 于 2009-1-20 19:56 编辑 ]

星驰 发表于 2009-1-21 10:04:08

1、又报了什么错,贴出来~
2、你测试时还在下载啊?!会影响滴!!

xiaohaijun176 发表于 2009-1-21 23:02:57

回复 8# 的帖子

呵呵~谢谢您的提醒,下次不下载了,保持严谨!我也是那时刚下载的。是这个脚本

Action()
{

        web_add_cookie("id=200000017469dd1f||t=1232263893|et=730|cs=4y0a494h; DOMAIN=googleads.g.doubleclick.net");

        web_url("www.pockoo.com",
                "URL=http://www.pockoo.com/",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t12.inf",
                "Mode=HTML",
                EXTRARES,
                "Url=/templets/images/smalllogo.gif", ENDITEM,
                "Url=/templets/images/container_bg.gif", ENDITEM,
                "Url=http://googleads.g.doubleclick.net/pagead/test_domain.js", ENDITEM,
                "Url=http://pagead2.googlesyndication.com/pagead/render_ads.js", ENDITEM,
                "Url=/templets/images/boxtop_970.gif", ENDITEM,
                "Url=/templets/images/ico_4.gif", ENDITEM,
                "Url=/templets/images/ad_label.gif", ENDITEM,
                "Url=/bcastr31.swf", ENDITEM,
                "Url=/templets/images/topline_botbg.gif", ENDITEM,
                "Url=/templets/images/flink_title_bg.gif", ENDITEM,
                "Url=/templets/images/article_ico_1.gif", ENDITEM,
                "Url=/templets/images/article_ico_2.gif", ENDITEM,
                "Url=/templets/images/title_ico.gif", ENDITEM,
                "Url=/templets/images/boxbottom_320.gif", ENDITEM,
                "Url=/templets/images/boxbottom_435.gif", ENDITEM,
                "Url=/templets/images/boxbottom_760.gif", ENDITEM,
                "Url=/templets/images/boxbottom_377.gif", ENDITEM,
                "Url=/templets/images/boxbottom_200.gif", ENDITEM,
                "Url=/templets/images/title_bg_1.gif", ENDITEM,
                "Url=/templets/images/boxbottom_970.gif", ENDITEM,
                "Url=/templets/images/navbar_bg.gif", ENDITEM,
                LAST);

        web_url("ads",
                "URL=http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-3243943944967448&dt=1232265130000&lmt=1232265130&output=html&slotname=2461577324&correlator=1232265130000&url=http%3A%2F%2Fwww.pockoo.com%2F&ea=0&frm=0&ga_vid=1142029538.1232265134&ga_sid=1232265134&ga_hid=472889301&flash=10.0.12.36&u_h=1050&u_w=1680&u_ah=1020&u_aw=1680&u_cd=32&u_tz=480&u_java=true&dtd=M",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://www.pockoo.com/",
                "Snapshot=t13.inf",
                "Mode=HTML",
                LAST);

        web_url("ads_2",
                "URL=http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-3243943944967448&dt=1232265133984&lmt=1232265133&prev_slotnames=2461577324&output=html&slotname=7352696471&correlator=1232265130000&url=http%3A%2F%2Fwww.pockoo.com%2F&ea=0&frm=0&ga_vid=1142029538.1232265134&ga_sid=1232265134&ga_hid=472889301&flash=10.0.12.36&u_h=1050&u_w=1680&u_ah=1020&u_aw=1680&u_cd=32&u_tz=480&u_java=true&dtd=391",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://www.pockoo.com/",
                "Snapshot=t14.inf",
                "Mode=HTML",
                LAST);

        web_url("index.xml",
                "URL=http://www.pockoo.com/index.xml",
                "Resource=0",
                "RecContentType=text/xml",
                "Referer=http://www.pockoo.com/bcastr31.swf",
                "Snapshot=t15.inf",
                "Mode=HTML",
                EXTRARES,
                "Url=/rotator/crystaldefenders.jpg", "Referer=http://www.pockoo.com/bcastr31.swf", ENDITEM,
                LAST);

        web_url("ads_3",
                "URL=http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-3243943944967448&dt=1232265135171&lmt=1232265135&prev_slotnames=2461577324%2C7352696471&output=html&slotname=8037432757&correlator=1232265130000&url=http%3A%2F%2Fwww.pockoo.com%2F&ea=0&frm=0&ga_vid=1142029538.1232265134&ga_sid=1232265134&ga_hid=472889301&flash=10.0.12.36&u_h=1050&u_w=1680&u_ah=1020&u_aw=1680&u_cd=32&u_tz=480&u_java=true&dtd=125",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://www.pockoo.com/",
                "Snapshot=t16.inf",
                "Mode=HTML",
                EXTRARES,
                "Url=http://www.pockoo.com/rotator/rolando.jpg", "Referer=http://www.pockoo.com/bcastr31.swf", ENDITEM,
                "Url=http://www.pockoo.com/rotator/simcity.jpg", "Referer=http://www.pockoo.com/bcastr31.swf", ENDITEM,
                "Url=http://www.pockoo.com/rotator/thechroniclesofinotia.jpg", "Referer=http://www.pockoo.com/bcastr31.swf", ENDITEM,
                "Url=http://www.pockoo.com/rotator/ucweb.jpg", "Referer=http://www.pockoo.com/bcastr31.swf", ENDITEM,
                LAST);

        lr_think_time(45);

        web_url("iphone.pockoo.com",
                "URL=http://iphone.pockoo.com/",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://www.pockoo.com/",
                "Snapshot=t17.inf",
                "Mode=HTML",
                LAST);

        web_url("ads_4",
                "URL=http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-3243943944967448&dt=1232265190796&lmt=1232265190&output=html&slotname=2461577324&correlator=1232265190796&url=http%3A%2F%2Fiphone.pockoo.com%2F&ea=0&ref=http%3A%2F%2Fwww.pockoo.com%2F&frm=0&ga_vid=498507771.1232265191&ga_sid=1232265191&ga_hid=1066126271&flash=10.0.12.36&u_h=1050&u_w=1680&u_ah=1020&u_aw=1680&u_cd=32&u_tz=480&u_his=1&u_java=true&dtd=454",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://iphone.pockoo.com/",
                "Snapshot=t18.inf",
                "Mode=HTML",
                LAST);

        web_url("ads_5",
                "URL=http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-3243943944967448&dt=1232265193906&lmt=1232265193&prev_slotnames=2461577324&output=html&slotname=7352696471&correlator=1232265190796&url=http%3A%2F%2Fiphone.pockoo.com%2F&ea=0&ref=http%3A%2F%2Fwww.pockoo.com%2F&frm=0&ga_vid=498507771.1232265191&ga_sid=1232265191&ga_hid=1066126271&flash=10.0.12.36&u_h=1050&u_w=1680&u_ah=1020&u_aw=1680&u_cd=32&u_tz=480&u_his=1&u_java=true&dtd=484",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://iphone.pockoo.com/",
                "Snapshot=t19.inf",
                "Mode=HTML",
                LAST);

        web_url("iphone.xml",
                "URL=http://www.pockoo.com/iphone.xml",
                "Resource=0",
                "RecContentType=text/xml",
                "Referer=http://www.pockoo.com/bcastr31.swf",
                "Snapshot=t20.inf",
                "Mode=HTML",
                EXTRARES,
                "Url=/rotator/%d0%d6%b5%dc%c1%ac.jpg", "Referer=http://www.pockoo.com/bcastr31.swf", ENDITEM,
                "Url=/rotator/nanosaur2.jpg", "Referer=http://www.pockoo.com/bcastr31.swf", ENDITEM,
                "Url=/rotator/iphonecostume.jpg", "Referer=http://www.pockoo.com/bcastr31.swf", ENDITEM,
                LAST);

        return 0;
}

xiaohaijun176 发表于 2009-1-21 23:06:05

这是最近一次运行的Analysis Summary, 我不知道为什么有这么多错误.. :

[ 本帖最后由 xiaohaijun176 于 2009-1-21 23:08 编辑 ]
页: [1]
查看完整版本: 有谁知道为什么我的LR 执行很不稳定呢