51Testing软件测试论坛

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

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 3198|回复: 17
打印 上一主题 下一主题

[原创] lr中一个打开首页的脚本单跑没问题,加压后,才有一个事务中报错,请帮忙解答下谢谢

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2009-6-19 15:43:19 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
lr中一个打开首页的脚本单跑没问题,加压后,才有一个事务中报错,请帮忙解答下谢谢

Error: Deleted the current transaction "http://192.168.62.184/HomeNew/JS/common.js" since response time is not accurate.

每次重新跑引号中的内容还不一样。请大家帮忙看看吧
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
发表于 2009-6-19 15:48:11 | 只看该作者
你定义的 事务,结束的情况没处理好吧。。。。也就是一个事务 可能你 start 了。。但是在出现其他异常情况的时候 没有正确的 end掉。。没看到脚本。。仅猜测而已
回复 支持 反对

使用道具 举报

该用户从未签到

3#
 楼主| 发表于 2009-6-19 15:48:59 | 只看该作者
我上船下脚本你看看
回复 支持 反对

使用道具 举报

该用户从未签到

4#
 楼主| 发表于 2009-6-19 15:52:00 | 只看该作者
Action()
{


  

        lr_start_transaction("首页打开");


        web_add_cookie("__utma=220670168.1832035159149812500.1245291242.1245380215.1245388392.4; DOMAIN=192.168.62.184");

        web_add_cookie("__utmz=220670168.1245291242.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); DOMAIN=192.168.62.184");

        web_url("192.168.62.184",
                "URL=http://192.168.62.184/",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t1.inf",
                "Mode=HTTP",
                LAST);

        web_concurrent_start(NULL);

        web_url("all.css",
                "URL=http://192.168.62.184/HomeNew/style/all.css",
                "Resource=1",
                "RecContentType=text/css",
                "Referer=http://192.168.62.184/",
                "Snapshot=t2.inf",
                LAST);

        web_url("slider.css",
                "URL=http://192.168.62.184/HomeNew/style/slider.css",
                "Resource=1",
                "RecContentType=text/css",
                "Referer=http://192.168.62.184/",
                "Snapshot=t8.inf",
                LAST);

        web_url("common.js",
                "URL=http://192.168.62.184/HomeNew/JS/common.js",
                "Resource=1",
                "RecContentType=application/x-javascript",
                "Referer=http://192.168.62.184/",
                "Snapshot=t10.inf",
                LAST);

        web_url("AC_RunActiveContent.js",
                "URL=http://192.168.62.184/HomeNew/Js/AC_RunActiveContent.js",
                "Resource=1",
                "RecContentType=application/x-javascript",
                "Referer=http://192.168.62.184/",
                "Snapshot=t11.inf",
                LAST);

        web_url("slider_extras.js",
                "URL=http://192.168.62.184/HomeNew/Js/slider_extras.js",
                "Resource=1",
                "RecContentType=application/x-javascript",
                "Referer=http://192.168.62.184/",
                "Snapshot=t12.inf",
                LAST);

        web_concurrent_end(NULL);

        web_concurrent_start(NULL);

        web_url("input.css",
                "URL=http://192.168.62.184/HomeNew/style/input.css",
                "Resource=1",
                "RecContentType=text/css",
                "Referer=http://192.168.62.184/",
                "Snapshot=t3.inf",
                LAST);

        web_url("index.css",
                "URL=http://192.168.62.184/HomeNew/style/index.css",
                "Resource=1",
                "RecContentType=text/css",
                "Referer=http://192.168.62.184/",
                "Snapshot=t4.inf",
                LAST);

        web_url("right.css",
                "URL=http://192.168.62.184/HomeNew/style/right.css",
                "Resource=1",
                "RecContentType=text/css",
                "Referer=http://192.168.62.184/",
                "Snapshot=t5.inf",
                LAST);

        web_url("Solution.css",
                "URL=http://192.168.62.184/HomeNew/style/Solution.css",
                "Resource=1",
                "RecContentType=text/css",
                "Referer=http://192.168.62.184/",
                "Snapshot=t6.inf",
                LAST);

        web_url("ajaxToolkit.css",
                "URL=http://192.168.62.184/HomeNew/style/ajaxToolkit.css",
                "Resource=1",
                "RecContentType=text/css",
                "Referer=http://192.168.62.184/",
                "Snapshot=t7.inf",
                LAST);

        web_concurrent_end(NULL);

        web_url("product.css",
                "URL=http://192.168.62.184/HomeNew/style/product.css",
                "Resource=1",
                "RecContentType=text/css",
                "Referer=http://192.168.62.184/",
                "Snapshot=t9.inf",
                LAST);

        web_concurrent_start(NULL);

        web_url("WebResource.axd",
                "URL=http://192.168.62.184/WebResource.axd?d=MLihF3QvxFfVaxR7_hNgXQ2&t=633808315038940540",
                "Resource=1",
                "RecContentType=application/x-javascript",
                "Referer=http://192.168.62.184/",
                "Snapshot=t13.inf",
                LAST);

        web_url("prototype.js",
                "URL=http://192.168.62.184/Js/prototype.js",
                "Resource=1",
                "RecContentType=application/x-javascript",
                "Referer=http://192.168.62.184/",
                "Snapshot=t14.inf",
                LAST);

        web_url("AnchorADControl.js",
                "URL=http://192.168.62.184/Js/AnchorADControl.js",
                "Resource=1",
                "RecContentType=application/x-javascript",
                "Referer=http://192.168.62.184/",
                "Snapshot=t15.inf",
                LAST);

        web_url("ScriptResource.axd",
                "URL=http://192.168.62.184/ScriptResource.axd?d=ODkamQsS56FN3Vvczs7drqsGp4t90vvdQYt3g_N967CXHekvNORpc6qi3ETppLYe_Eyetpdw6yvSIcIxSE51Ag2&t=633808315038940540",
                "Resource=1",
                "RecContentType=application/x-javascript",
                "Referer=http://192.168.62.184/",
                "Snapshot=t16.inf",
                LAST);

        web_url("ScriptResource.axd_2",
                "URL=http://192.168.62.184/ScriptResource.axd?d=x6uQf6xO6v42EV7x-ax-k5nA3kZ3HRYA3YB9wbhRPEbNzEyY0dJr9Zz_m9BCd2hZwoD5EHS8C_D8QNbFYYXFjGjM80yQU-en5RBxzJRXWgk1&t=633808317457065540",
                "Resource=1",
                "RecContentType=application/x-javascript",
                "Referer=http://192.168.62.184/",
                "Snapshot=t17.inf",
                LAST);

        web_url("ScriptResource.axd_3",
                "URL=http://192.168.62.184/ScriptResource.axd?d=x6uQf6xO6v42EV7x-ax-k5nA3kZ3HRYA3YB9wbhRPEbNzEyY0dJr9Zz_m9BCd2hZOH0UoEpJU77_d6740MVn2LZGLIb145FDE3wwf4TVdr21UZNrSMz-bIFSikkiH1_T0&t=633808317457065540",
                "Resource=1",
                "RecContentType=application/x-javascript",
                "Referer=http://192.168.62.184/",
                "Snapshot=t18.inf",
                LAST);


        lr_end_transaction("首页打开", LR_AUTO);
回复 支持 反对

使用道具 举报

该用户从未签到

5#
发表于 2009-6-19 15:52:56 | 只看该作者
最好给你个这段事务的完整脚本
回复 支持 反对

使用道具 举报

该用户从未签到

6#
 楼主| 发表于 2009-6-19 15:55:35 | 只看该作者
回复 支持 反对

使用道具 举报

该用户从未签到

7#
 楼主| 发表于 2009-6-19 15:57:35 | 只看该作者
重新发下,比较长,分段法了

lr_start_transaction("首页打开");


        web_add_cookie("__utma=220670168.1832035159149812500.1245291242.1245380215.1245388392.4; DOMAIN=192.168.62.184");

        web_add_cookie("__utmz=220670168.1245291242.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); DOMAIN=192.168.62.184");

        web_url("192.168.62.184",
                "URL=http://192.168.62.184/",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t1.inf",
                "Mode=HTTP",
                LAST);

        web_concurrent_start(NULL);

        web_url("all.css",
                "URL=http://192.168.62.184/HomeNew/style/all.css",
                "Resource=1",
                "RecContentType=text/css",
                "Referer=http://192.168.62.184/",
                "Snapshot=t2.inf",
                LAST);

        web_url("slider.css",
                "URL=http://192.168.62.184/HomeNew/style/slider.css",
                "Resource=1",
                "RecContentType=text/css",
                "Referer=http://192.168.62.184/",
                "Snapshot=t8.inf",
                LAST);

        web_url("common.js",
                "URL=http://192.168.62.184/HomeNew/JS/common.js",
                "Resource=1",
                "RecContentType=application/x-javascript",
                "Referer=http://192.168.62.184/",
                "Snapshot=t10.inf",
                LAST);

        web_url("AC_RunActiveContent.js",
                "URL=http://192.168.62.184/HomeNew/Js/AC_RunActiveContent.js",
                "Resource=1",
                "RecContentType=application/x-javascript",
                "Referer=http://192.168.62.184/",
                "Snapshot=t11.inf",
                LAST);

        web_url("slider_extras.js",
                "URL=http://192.168.62.184/HomeNew/Js/slider_extras.js",
                "Resource=1",
                "RecContentType=application/x-javascript",
                "Referer=http://192.168.62.184/",
                "Snapshot=t12.inf",
                LAST);

        web_concurrent_end(NULL);

        web_concurrent_start(NULL);

        web_url("input.css",
                "URL=http://192.168.62.184/HomeNew/style/input.css",
                "Resource=1",
                "RecContentType=text/css",
                "Referer=http://192.168.62.184/",
                "Snapshot=t3.inf",
                LAST);

        web_url("index.css",
                "URL=http://192.168.62.184/HomeNew/style/index.css",
                "Resource=1",
                "RecContentType=text/css",
                "Referer=http://192.168.62.184/",
                "Snapshot=t4.inf",
                LAST);

        web_url("right.css",
                "URL=http://192.168.62.184/HomeNew/style/right.css",
                "Resource=1",
                "RecContentType=text/css",
                "Referer=http://192.168.62.184/",
                "Snapshot=t5.inf",
                LAST);

        web_url("Solution.css",
                "URL=http://192.168.62.184/HomeNew/style/Solution.css",
                "Resource=1",
                "RecContentType=text/css",
                "Referer=http://192.168.62.184/",
                "Snapshot=t6.inf",
                LAST);

        web_url("ajaxToolkit.css",
                "URL=http://192.168.62.184/HomeNew/style/ajaxToolkit.css",
                "Resource=1",
                "RecContentType=text/css",
                "Referer=http://192.168.62.184/",
                "Snapshot=t7.inf",
                LAST);

        web_concurrent_end(NULL);

        web_url("product.css",
                "URL=http://192.168.62.184/HomeNew/style/product.css",
                "Resource=1",
                "RecContentType=text/css",
                "Referer=http://192.168.62.184/",
                "Snapshot=t9.inf",
                LAST);

        web_concurrent_start(NULL);

        web_url("WebResource.axd",
                "URL=http://192.168.62.184/WebResource.axd?d=MLihF3QvxFfVaxR7_hNgXQ2&t=633808315038940540",
                "Resource=1",
                "RecContentType=application/x-javascript",
                "Referer=http://192.168.62.184/",
                "Snapshot=t13.inf",
                LAST);

        web_url("prototype.js",
                "URL=http://192.168.62.184/Js/prototype.js",
                "Resource=1",
                "RecContentType=application/x-javascript",
                "Referer=http://192.168.62.184/",
                "Snapshot=t14.inf",
                LAST);

        web_url("AnchorADControl.js",
                "URL=http://192.168.62.184/Js/AnchorADControl.js",
                "Resource=1",
                "RecContentType=application/x-javascript",
                "Referer=http://192.168.62.184/",
                "Snapshot=t15.inf",
                LAST);

        web_url("ScriptResource.axd",
                "URL=http://192.168.62.184/ScriptResource.axd?d=ODkamQsS56FN3Vvczs7drqsGp4t90vvdQYt3g_N967CXHekvNORpc6qi3ETppLYe_Eyetpdw6yvSIcIxSE51Ag2&t=633808315038940540",
                "Resource=1",
                "RecContentType=application/x-javascript",
                "Referer=http://192.168.62.184/",
                "Snapshot=t16.inf",
                LAST);

        web_url("ScriptResource.axd_2",
                "URL=http://192.168.62.184/ScriptResource.axd?d=x6uQf6xO6v42EV7x-ax-k5nA3kZ3HRYA3YB9wbhRPEbNzEyY0dJr9Zz_m9BCd2hZwoD5EHS8C_D8QNbFYYXFjGjM80yQU-en5RBxzJRXWgk1&t=633808317457065540",
                "Resource=1",
                "RecContentType=application/x-javascript",
                "Referer=http://192.168.62.184/",
                "Snapshot=t17.inf",
                LAST);

        web_url("ScriptResource.axd_3",
                "URL=http://192.168.62.184/ScriptResource.axd?d=x6uQf6xO6v42EV7x-ax-k5nA3kZ3HRYA3YB9wbhRPEbNzEyY0dJr9Zz_m9BCd2hZOH0UoEpJU77_d6740MVn2LZGLIb145FDE3wwf4TVdr21UZNrSMz-bIFSikkiH1_T0&t=633808317457065540",
                "Resource=1",
                "RecContentType=application/x-javascript",
                "Referer=http://192.168.62.184/",
                "Snapshot=t18.inf",
                LAST);

        web_url("ScriptResource.axd_4",
                "URL=http://192.168.62.184/ScriptResource.axd?d=2N1lJpYtIQjx_tkqsTrgWrtv187BYb_y36ZOH8n6mzQjkN7zDwXR797Q2A0IGg_hwITcmq3kWcKhrt3TDNMt7Q2&t=633776554320000000",
                "Resource=1",
                "RecContentType=text/javascript",
                "Referer=http://192.168.62.184/",
                "Snapshot=t19.inf",
                LAST);

        web_url("ScriptResource.axd_5",
                "URL=http://192.168.62.184/ScriptResource.axd?d=2N1lJpYtIQjx_tkqsTrgWrtv187BYb_y36ZOH8n6mzQKglBFByniMxKv6zG4c1Jfh52mdCwC1YfU4Pj0DHn0wDL5Iliw0FhhUl-C6GH_c6U1&t=633776554320000000",
                "Resource=1",
                "RecContentType=text/javascript",
                "Referer=http://192.168.62.184/",
                "Snapshot=t20.inf",
                LAST);

        web_url("ScriptResource.axd_6",
                "URL=http://192.168.62.184/ScriptResource.axd?d=2N1lJpYtIQjx_tkqsTrgWrtv187BYb_y36ZOH8n6mzTxeIpYFZmeo0OHatPqwavnBRx_h6fbPJwwEzsh6CR4ClOaCk8TelgAN7uHz9nGP_Y1&t=633776554320000000",
                "Resource=1",
                "RecContentType=text/javascript",
                "Referer=http://192.168.62.184/",
                "Snapshot=t21.inf",
                LAST);
回复 支持 反对

使用道具 举报

该用户从未签到

8#
 楼主| 发表于 2009-6-19 15:58:00 | 只看该作者
web_url("logobg.gif",
                "URL=http://192.168.62.184/HomeNew/images/img0226/logobg.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://192.168.62.184/",
                "Snapshot=t22.inf",
                LAST);

        web_url("navigate_bg.jpg",
                "URL=http://192.168.62.184/HomeNew/images/navigate_bg.jpg",
                "Resource=1",
                "RecContentType=image/jpeg",
                "Referer=http://192.168.62.184/",
                "Snapshot=t23.inf",
                LAST);

        web_url("logo3_1024.jpg",
                "URL=http://192.168.62.184/HomeNew/images/img0226/logo3_1024.jpg",
                "Resource=1",
                "RecContentType=image/jpeg",
                "Referer=http://192.168.62.184/",
                "Snapshot=t24.inf",
                LAST);

        web_url("topsearch.gif",
                "URL=http://192.168.62.184/HomeNew/images/img0226/topsearch.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://192.168.62.184/",
                "Snapshot=t25.inf",
                LAST);

        web_concurrent_end(NULL);

        web_url("HeadLogin.aspx",
                "URL=http://192.168.62.184/HomeNew/User/HeadLogin.aspx?PageKind=0",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://192.168.62.184/",
                "Snapshot=t26.inf",
                "Mode=HTTP",
                LAST);

        web_concurrent_start(NULL);

        web_url("navigate_line.jpg",
                "URL=http://192.168.62.184/HomeNew/images/navigate_line.jpg",
                "Resource=1",
                "RecContentType=image/jpeg",
                "Referer=http://192.168.62.184/",
                "Snapshot=t27.inf",
                LAST);

        web_url("RandomFlashAD.swf",
                "URL=http://192.168.62.184/HomeNew/Media/RandomFlashAD.swf",
                "Resource=1",
                "RecContentType=application/x-shockwave-flash",
                "Referer=http://192.168.62.184/",
                "Snapshot=t28.inf",
                LAST);

        web_url("navigate_conner_left.jpg",
                "URL=http://192.168.62.184/HomeNew/images/navigate_conner_left.jpg",
                "Resource=1",
                "RecContentType=image/jpeg",
                "Referer=http://192.168.62.184/",
                "Snapshot=t29.inf",
                LAST);

        web_url("navigate_conner_right.jpg",
                "URL=http://192.168.62.184/HomeNew/images/navigate_conner_right.jpg",
                "Resource=1",
                "RecContentType=image/jpeg",
                "Referer=http://192.168.62.184/",
                "Snapshot=t30.inf",
                LAST);

        web_url("barbotton.gif",
                "URL=http://192.168.62.184/HomeNew/images/img0226/barbotton.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://192.168.62.184/",
                "Snapshot=t31.inf",
                LAST);

        web_url("topbg.gif",
                "URL=http://192.168.62.184/HomeNew/images/img0226/topbg.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://192.168.62.184/HomeNew/User/HeadLogin.aspx?PageKind=0",
                "Snapshot=t32.inf",
                LAST);

        web_url("toprightbg.gif",
                "URL=http://192.168.62.184/HomeNew/images/img0226/toprightbg.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://192.168.62.184/HomeNew/User/HeadLogin.aspx?PageKind=0",
                "Snapshot=t33.inf",
                LAST);

        web_concurrent_end(NULL);

        web_url("txt_til1.jpg",
                "URL=http://192.168.62.184/HomeNew/images/txt_til1.jpg",
                "Resource=1",
                "RecContentType=image/jpeg",
                "Referer=http://192.168.62.184/",
                "Snapshot=t34.inf",
                LAST);

        web_url("rule_pic.jpg",
                "URL=http://192.168.62.184/HomeNew/images/rule_pic.jpg",
                "Resource=1",
                "RecContentType=image/jpeg",
                "Referer=http://192.168.62.184/",
                "Snapshot=t35.inf",
                LAST);

        web_concurrent_start(NULL);

        web_url("rule_pic1.jpg",
                "URL=http://192.168.62.184/HomeNew/images/rule_pic1.jpg",
                "Resource=1",
                "RecContentType=image/jpeg",
                "Referer=http://192.168.62.184/",
                "Snapshot=t36.inf",
                LAST);

        web_url("conner.png",
                "URL=http://192.168.62.184/HomeNew/images/conner.png",
                "Resource=1",
                "RecContentType=image/png",
                "Referer=http://192.168.62.184/",
                "Snapshot=t37.inf",
                LAST);

        web_concurrent_end(NULL);

        web_url("conner2.gif",
                "URL=http://192.168.62.184/HomeNew/images/conner2.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://192.168.62.184/",
                "Snapshot=t38.inf",
                LAST);

        web_url("txt_til1.gif",
                "URL=http://192.168.62.184/HomeNew/images/txt_til1.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://192.168.62.184/",
                "Snapshot=t39.inf",
                LAST);

        web_url("HomeLogin.aspx",
                "URL=http://192.168.62.184/HomeNew/User/HomeLogin.aspx",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://192.168.62.184/",
                "Snapshot=t40.inf",
                "Mode=HTTP",
                LAST);

        web_concurrent_start(NULL);

        web_url("titleleft.gif",
                "URL=http://192.168.62.184/HomeNew/images/img0226/titleleft.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://192.168.62.184/",
                "Snapshot=t41.inf",
                LAST);

        web_url("titleright.gif",
                "URL=http://192.168.62.184/HomeNew/images/img0226/titleright.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://192.168.62.184/",
                "Snapshot=t42.inf",
                LAST);

        web_url("titlebg.gif",
                "URL=http://192.168.62.184/HomeNew/images/img0226/titlebg.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://192.168.62.184/",
                "Snapshot=t43.inf",
                LAST);

        web_url("hot_zzbg.gif",
                "URL=http://192.168.62.184/HomeNew/images/img0226/hot_zzbg.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://192.168.62.184/",
                "Snapshot=t44.inf",
                LAST);

        web_url("hotrecommendationbg.gif",
                "URL=http://192.168.62.184/HomeNew/images/img0226/hotrecommendationbg.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://192.168.62.184/",
                "Snapshot=t45.inf",
                LAST);

        web_concurrent_end(NULL);

        web_url("iconred.gif",
                "URL=http://192.168.62.184/images/img0226/iconred.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://192.168.62.184/",
                "Snapshot=t46.inf",
                LAST);

        web_url("ADClickAndViewCount.aspx",
                "URL=http://192.168.62.184/HomeNew/ADManager/ADClickAndViewCount.aspx?Type=V&ADID=13&AnchorPointID=7",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://192.168.62.184/",
                "Snapshot=t47.inf",
                "Mode=HTTP",
                LAST);

        web_concurrent_start(NULL);

        web_url("2c195e8d-bcae-43dc-a805-65146f0ec09e.gif",
                "URL=http://192.168.62.184/CmsAttachment/0A3932DA41AB0B5E40C126B804336421/2c195e8d-bcae-43dc-a805-65146f0ec09e.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://192.168.62.184/",
                "Snapshot=t48.inf",
                LAST);

        web_url("9fb658f7-1480-42ad-ad12-d4992c32163f.gif",
                "URL=http://192.168.62.184/CmsAttachment/4A0C6A74472BC40930CAD702230D7F7F/9fb658f7-1480-42ad-ad12-d4992c32163f.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://192.168.62.184/",
                "Snapshot=t49.inf",
                LAST);

        web_url("a0928d3d-bf3c-4915-a75d-3016908c70fe.gif",
                "URL=http://192.168.62.184/CmsAttachment/E3DC0F93CC7D2A4D0BD09FAC9ADF13D1/a0928d3d-bf3c-4915-a75d-3016908c70fe.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://192.168.62.184/",
                "Snapshot=t50.inf",
                LAST);

        web_url("681c3be2-fc85-4bdf-999c-4581367cca16.gif",
                "URL=http://192.168.62.184/CmsAttachment/034EA25F86FA2DEC6BEECE864363E7DF/681c3be2-fc85-4bdf-999c-4581367cca16.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://192.168.62.184/",
                "Snapshot=t51.inf",
                LAST);

        web_concurrent_end(NULL);

        web_url("common.js_2",
                "URL=http://192.168.62.184/JS/common.js",
                "Resource=1",
                "RecContentType=application/x-javascript",
                "Referer=http://192.168.62.184/HomeNew/User/HomeLogin.aspx",
                "Snapshot=t52.inf",
                LAST);

        web_url("3bfc4e3f-b0b0-476c-892f-e57b3f908f70.gif",
                "URL=http://192.168.62.184/CmsAttachment/205471D577B2CCBBFD0A6C9CF61EE2CB/3bfc4e3f-b0b0-476c-892f-e57b3f908f70.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://192.168.62.184/",
                "Snapshot=t53.inf",
                LAST);

        web_url("ADClickAndViewCount.aspx_2",
                "URL=http://192.168.62.184/HomeNew/ADManager/ADClickAndViewCount.aspx?Type=V&ADID=6&AnchorPointID=4",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://192.168.62.184/",
                "Snapshot=t54.inf",
                "Mode=HTTP",
                LAST);

        web_url("fa65bc2b-40ac-42fb-9f8b-00654fb176f1.gif",
                "URL=http://192.168.62.184/CmsAttachment/8D46641741D48A1C91B26DC976869149/fa65bc2b-40ac-42fb-9f8b-00654fb176f1.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://192.168.62.184/",
                "Snapshot=t55.inf",
                LAST);

        web_url("titleleft.gif_2",
                "URL=http://192.168.62.184/images/img0226/titleleft.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://192.168.62.184/",
                "Snapshot=t56.inf",
                LAST);

        web_url("indextop6.gif",
                "URL=http://192.168.62.184/images/img0226/indextop6.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://192.168.62.184/",
                "Snapshot=t57.inf",
                LAST);
回复 支持 反对

使用道具 举报

该用户从未签到

9#
 楼主| 发表于 2009-6-19 15:58:14 | 只看该作者
web_url("AMD_logo_us-en.gif",
                "URL=http://192.168.62.184/HomeNew/images/img_friend/AMD_logo_us-en.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://192.168.62.184/",
                "Snapshot=t58.inf",
                LAST);

        web_url("ADClickAndViewCount.aspx_3",
                "URL=http://192.168.62.184/HomeNew/ADManager/ADClickAndViewCount.aspx?Type=V&ADID=11&AnchorPointID=8",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://192.168.62.184/",
                "Snapshot=t59.inf",
                "Mode=HTTP",
                LAST);

        web_url("02.gif",
                "URL=http://192.168.62.184/HomeNew/images/img_friend/02.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://192.168.62.184/",
                "Snapshot=t60.inf",
                LAST);

        web_url("04.gif",
                "URL=http://192.168.62.184/HomeNew/images/img_friend/04.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://192.168.62.184/",
                "Snapshot=t61.inf",
                LAST);

        web_url("03.gif",
                "URL=http://192.168.62.184/HomeNew/images/img_friend/03.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://192.168.62.184/",
                "Snapshot=t62.inf",
                LAST);

        web_concurrent_start(NULL);

        web_url("newsindexbg.gif",
                "URL=http://192.168.62.184/HomeNew/images/img0226/newsindexbg.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://192.168.62.184/",
                "Snapshot=t63.inf",
                LAST);
web_url("431a6418-b6ed-4429-a641-3d1ad58960bc.gif",
                "URL=http://192.168.62.184/CmsAttachment/F3D379289FDFA920F79CA8019FAB0704/431a6418-b6ed-4429-a641-3d1ad58960bc.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://192.168.62.184/",
                "Snapshot=t64.inf",
                LAST);

        web_url("040f0722-fd45-45cc-bdf5-17026550b39e.gif",
                "URL=http://192.168.62.184/CmsAttachment/DD95F6A33549AF0930D75A37C29D24FE/040f0722-fd45-45cc-bdf5-17026550b39e.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://192.168.62.184/",
                "Snapshot=t65.inf",
                LAST);

        web_url("bottom_linebg.jpg",
                "URL=http://192.168.62.184/HomeNew/images/bottom_linebg.jpg",
                "Resource=1",
                "RecContentType=image/jpeg",
                "Referer=http://192.168.62.184/",
                "Snapshot=t66.inf",
                LAST);

        web_concurrent_end(NULL);

        web_url("AC_RunActiveContent.js_2",
                "URL=http://192.168.62.184/Js/AC_RunActiveContent.js",
                "Resource=1",
                "RecContentType=application/x-javascript",
                "Referer=http://192.168.62.184/HomeNew/User/HomeLogin.aspx",
                "Snapshot=t67.inf",
                LAST);

        web_url("friend_01.gif",
                "URL=http://192.168.62.184/HomeNew/images/img_friend/friend_01.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://192.168.62.184/",
                "Snapshot=t68.inf",
                LAST);

        web_concurrent_start(NULL);

        web_url("loginbg.gif",
                "URL=http://192.168.62.184/HomeNew/images/img0226/loginbg.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://192.168.62.184/HomeNew/User/HomeLogin.aspx",
                "Snapshot=t69.inf",
                LAST);

        web_url("indexloginbotton.gif",
                "URL=http://192.168.62.184/HomeNew/images/img0226/indexloginbotton.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://192.168.62.184/HomeNew/User/HomeLogin.aspx",
                "Snapshot=t70.inf",
                LAST);

        web_url("ValidateCode.aspx",
                "URL=http://192.168.62.184/HomeNew/AboutUS/ValidateCode.aspx",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://192.168.62.184/HomeNew/User/HomeLogin.aspx",
                "Snapshot=t71.inf",
                LAST);

        web_url("iconlock.gif",
                "URL=http://192.168.62.184/HomeNew/images/img0226/iconlock.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://192.168.62.184/HomeNew/User/HomeLogin.aspx",
                "Snapshot=t72.inf",
                LAST);

        web_url("indexrelogin.gif",
                "URL=http://192.168.62.184/HomeNew/images/img0226/indexrelogin.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://192.168.62.184/HomeNew/User/HomeLogin.aspx",
                "Snapshot=t73.inf",
                LAST);

        web_url("indexfreelogin.gif",
                "URL=http://192.168.62.184/HomeNew/images/img0226/indexfreelogin.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://192.168.62.184/HomeNew/User/HomeLogin.aspx",
                "Snapshot=t74.inf",
                LAST);

        web_url("navigate_bg_mouseover.jpg",
                "URL=http://192.168.62.184/HomeNew/images/navigate_bg_mouseover.jpg",
                "Resource=1",
                "RecContentType=image/jpeg",
                "Referer=http://192.168.62.184/",
                "Snapshot=t75.inf",
                LAST);

        web_concurrent_end(NULL);


        lr_end_transaction("首页打开", LR_AUTO);
回复 支持 反对

使用道具 举报

该用户从未签到

10#
 楼主| 发表于 2009-6-19 15:58:28 | 只看该作者
好了,就这么多
回复 支持 反对

使用道具 举报

该用户从未签到

11#
发表于 2009-6-19 16:04:35 | 只看该作者
web_concurrent_end(NULL);

        web_url("AC_RunActiveContent.js_2",
                "URL=http://192.168.62.184/Js/AC_RunActiveContent.js",
                "Resource=1",
                "RecContentType=application/x-javascript",
                "Referer=http://192.168.62.184/HomeNew/User/HomeLogin.aspx",
                "Snapshot=t67.inf",
                LAST);

        web_url("friend_01.gif",
                "URL=http://192.168.62.184/HomeNew/images/img_friend/friend_01.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://192.168.62.184/",
                "Snapshot=t68.inf",
                LAST);

        web_concurrent_start(NULL);
这一段可能有问题,你可以试下改成
web_concurrent_end(NULL);

        web_concurrent_start(NULL);

        web_url("AC_RunActiveContent.js_2",
                "URL=http://192.168.62.184/Js/AC_RunActiveContent.js",
                "Resource=1",
                "RecContentType=application/x-javascript",
                "Referer=http://192.168.62.184/HomeNew/User/HomeLogin.aspx",
                "Snapshot=t67.inf",
                LAST);

        web_url("friend_01.gif",
                "URL=http://192.168.62.184/HomeNew/images/img_friend/friend_01.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://192.168.62.184/",
                "Snapshot=t68.inf",
                LAST);
不过我可以知道为什么你不用htmlbase录制的原因吗?
回复 支持 反对

使用道具 举报

该用户从未签到

12#
 楼主| 发表于 2009-6-19 16:08:51 | 只看该作者
因为那个录制了以后,单独跑脚本就会报错,我把错误罚你看看
回复 支持 反对

使用道具 举报

该用户从未签到

13#
 楼主| 发表于 2009-6-19 16:11:13 | 只看该作者
Action.c(8): Error -27796: Failed to connect to server "login.live.com:80": [10065] No Route to Host          [MsgId: MERR-27796]
Action.c(8): Warning -27796: Failed to connect to server "login.live.com:80": [10065] No Route to Host          [MsgId: MWAR-27796]
Action.c(8): web_url("192.168.62.184") highest severity level was "ERROR", 774702 body bytes, 18806 header bytes          [MsgId: MMSG-26388]
回复 支持 反对

使用道具 举报

该用户从未签到

14#
发表于 2009-6-19 16:15:45 | 只看该作者
login.live.com:80是被你服务器拒绝了?你录制的地址是不是http://192.168.62.184/
回复 支持 反对

使用道具 举报

该用户从未签到

15#
 楼主| 发表于 2009-6-19 16:16:09 | 只看该作者
是的
回复 支持 反对

使用道具 举报

该用户从未签到

16#
发表于 2009-6-19 16:17:34 | 只看该作者
看得眼花缭乱。。。。你怎么这么多并发哦。。。。我建议。。你将事务细化。。。。你用户多了后,响应时间自然很长,,,我建议你每个并发做成一个事务。web_concurrent_start之后start 一个事务,web_concurrent_end之前 end一个事务。。。。
回复 支持 反对

使用道具 举报

该用户从未签到

17#
 楼主| 发表于 2009-6-19 16:21:51 | 只看该作者
我就只有一个事物阿。只有“受业打开”一个操作和事务
回复 支持 反对

使用道具 举报

该用户从未签到

18#
发表于 2009-6-23 11:31:18 | 只看该作者
你的是一个事务中有多个并发,这样不太好吧,楼上说的是让你把每个并发分别放到一个事务中,看看行不行
回复 支持 反对

使用道具 举报

本版积分规则

关闭

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

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

GMT+8, 2024-9-21 14:32 , Processed in 0.101155 second(s), 27 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

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