51Testing软件测试论坛

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

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 2093|回复: 1
打印 上一主题 下一主题

[求助] 进行疲劳测试时,报数据连接错误,请高手指点,谢谢!

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2013-11-6 11:00:13 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
进行疲劳测试时,出现请求连接的错误,脚本如下,请高手看看,是什么原因造成的,谢谢!
lr_think_time(6);

        web_url("NavigatorControl",
                "URL=http://192.168.0.34:7001/command/NavigatorControl?flag=stu_exam",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t5.inf",
                "Mode=HTML",
                EXTRARES,
                "Url=../jsp/home/images/qh.jpg", "Referer=http://192.168.0.34:7001/command/NavigatorControl?flag=stu_exam", ENDITEM,
                "Url=../jsp/home/images/title_bg.jpg", "Referer=http://192.168.0.34:7001/command/NavigatorControl?flag=stu_exam", ENDITEM,
                LAST);

        web_link("\xA020131028001课程--11月份**../",
                "Text=\xA020131028001课程--11月份**../",
                "Ordinal=1",
                "Snapshot=t6.inf",
                EXTRARES,
                "Url=../swf/load/loading.swf", "Referer=http://192.168.0.34:7001/command/ExamControl?flag=ExamArrangeRead&arrange_id=25041&us_id=100520&isRead=true&rtn=NavigatorControl?flag=stu_ex", ENDITEM,
                "Url=../images/platform/td_t01.gif", "Referer=http://192.168.0.34:7001/command/ExamControl?flag=ExamArrangeRead&arrange_id=25041&us_id=100520&isRead=true&rtn=NavigatorControl?flag=stu_exam/cleariecache=0.7602073570018645", ENDITEM,
                "Url=../images/platform/td_t02_b.gif", "Referer=http://192.168.0.34:7001/command/ExamControl?flag=ExamArrangeRead&arrange_id=25041&us_id=100520&isRead=true&rtn=NavigatorControl?flag=stu_exam/cleariecache=0.7602073570018645", ENDITEM,
                "Url=../images/platform/td_t02.gif", "Referer=http://192.168.0.34:7001/command/ExamControl?flag=ExamArrangeRead&arrange_id=25041&us_id=100520&isRead=true&rtn=NavigatorControl?flag=stu_exam/cleariecache=0.7602073570018645", ENDITEM,
                "Url=../images/platform/td01_05.gif", "Referer=http://192.168.0.34:7001/command/ExamControl?flag=ExamArrangeRead&arrange_id=25041&us_id=100520&isRead=true&rtn=NavigatorControl?flag=stu_exam/cleariecache=0.7602073570018645", ENDITEM,
                "Url=../images/platform/td_b.gif", "Referer=http://192.168.0.34:7001/command/ExamControl?flag=ExamArrangeRead&arrange_id=25041&us_id=100520&isRead=true&rtn=NavigatorControl?flag=stu_exam/cleariecache=0.7602073570018645", ENDITEM,
                "Url=../images/platform/13.gif", "Referer=http://192.168.0.34:7001/command/ExamControl?flag=ExamArrangeRead&arrange_id=25041&us_id=100520&isRead=true&rtn=NavigatorControl?flag=stu_exam/cleariecache=0.7602073570018645", ENDITEM,
                "Url=../images/platform/7.gif", "Referer=http://192.168.0.34:7001/command/ExamControl?flag=ExamArrangeRead&arrange_id=25041&us_id=100520&isRead=true&rtn=NavigatorControl?flag=stu_exam/cleariecache=0.7602073570018645", ENDITEM,
                "Url=../images/platform/td01_02.gif", "Referer=http://192.168.0.34:7001/command/ExamControl?flag=ExamArrangeRead&arrange_id=25041&us_id=100520&isRead=true&rtn=NavigatorControl?flag=stu_exam/cleariecache=0.7602073570018645", ENDITEM,
                "Url=../images/platform/td01_03.gif", "Referer=http://192.168.0.34:7001/command/ExamControl?flag=ExamArrangeRead&arrange_id=25041&us_id=100520&isRead=true&rtn=NavigatorControl?flag=stu_exam/cleariecache=0.7602073570018645", ENDITEM,
                "Url=../images/platform/9.gif", "Referer=http://192.168.0.34:7001/command/ExamControl?flag=ExamArrangeRead&arrange_id=25041&us_id=100520&isRead=true&rtn=NavigatorControl?flag=stu_exam/cleariecache=0.7602073570018645", ENDITEM,
                "Url=../images/platform/12.gif", "Referer=http://192.168.0.34:7001/command/ExamControl?flag=ExamArrangeRead&arrange_id=25041&us_id=100520&isRead=true&rtn=NavigatorControl?flag=stu_exam/cleariecache=0.7602073570018645", ENDITEM,
                "Url=../images/platform/bt01.gif", "Referer=http://192.168.0.34:7001/command/ExamControl?flag=ExamArrangeRead&arrange_id=25041&us_id=100520&isRead=true&rtn=NavigatorControl?flag=stu_exam/cleariecache=0.7602073570018645", ENDITEM,
                LAST);

        web_url("ExamControl",
                "URL=http://192.168.0.34:7001/command/ExamControl?flag=answer&paper_id=22640&ispaper=0&Answer_method=0&Single_Time=0&arrange_id=25041&tl_id=44612&effective_time=60&us_id={vuserid}&isReExam=0&PaperDiffSeq=false&PaperQuesSeq=false&isCloseExam=1",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t7.inf",
                "Mode=HTML",
                EXTRARES,
                "Url=../images/platform/td_t04.gif", "Referer=http://192.168.0.34:7001/jsp/front/examskill/SkillExamTools.jsp?ispaper=0&PaperQuesSeq=false&PaperDiffSeq=false&isReExam=0&effective_time=60&eush_id=-1&url=../resource/major/course/test/paper/100520_22640.html?effective_time = 60", ENDITEM,
                LAST);

        web_url("ExamControl_2",
                "URL=http://192.168.0.34:7001/command/ExamControl?flag=answer&ispaper=0&PaperQuesSeq=false&PaperDiffSeq=false&url=../resource/major/course/test/paper/100520_22640.html?effective_time%20=%2060",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://192.168.0.34:7001/jsp/front/examskill/SkillExamTools.jsp?ispaper=0&PaperQuesSeq=false&PaperDiffSeq=false&isReExam=0&effective_time=60&eush_id=-1&url=../resource/major/course/test/paper/100520_22640.html?effective_time = 60",
                "Snapshot=t8.inf",
                "Mode=HTML",
                LAST);
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

  • TA的每日心情
    无聊
    2 小时前
  • 签到天数: 1041 天

    连续签到: 3 天

    [LV.10]测试总司令

    2#
    发表于 2014-5-9 10:26:59 | 只看该作者
    进行疲劳测试时,出现请求连接的错误,脚本如下,请高手看看,是什么原因造成的,谢谢!
    lr_think_time(6) ...
    meilirensheng 发表于 2013-11-6 11:00



        你这个脚本建议加点注释,不然看起来有点累~~
    回复 支持 反对

    使用道具 举报

    本版积分规则

    关闭

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

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

    GMT+8, 2024-11-6 11:38 , Processed in 0.073262 second(s), 28 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

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