meilirensheng 发表于 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);

lsekfe 发表于 2014-5-9 10:26:59

进行疲劳测试时,出现请求连接的错误,脚本如下,请高手看看,是什么原因造成的,谢谢!
lr_think_time(6) ...
meilirensheng 发表于 2013-11-6 11:00 http://bbs.51testing.com/images/common/back.gif


    你这个脚本建议加点注释,不然看起来有点累~~
页: [1]
查看完整版本: 进行疲劳测试时,报数据连接错误,请高手指点,谢谢!