51Testing软件测试论坛

标题: 进行疲劳测试时,报数据连接错误,请高手指点,谢谢! [打印本页]

作者: meilirensheng    时间: 2013-11-6 11:00
标题: 进行疲劳测试时,报数据连接错误,请高手指点,谢谢!
进行疲劳测试时,出现请求连接的错误,脚本如下,请高手看看,是什么原因造成的,谢谢!
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
进行疲劳测试时,出现请求连接的错误,脚本如下,请高手看看,是什么原因造成的,谢谢!
lr_think_time(6) ...
meilirensheng 发表于 2013-11-6 11:00



    你这个脚本建议加点注释,不然看起来有点累~~




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2