|
2#
楼主 |
发表于 2015-2-11 13:45:46
|
只看该作者
Action()
{
web_url("toFrontMainPage.action",
"URL=http://58.154.128.129:7006/home/toFrontMainPage.action",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t2.inf",
"Mode=HTML",
EXTRARES,
"Url=../common/images/hb_bg_top01.jpg", ENDITEM,
"Url=../common/images/hb_bg_Snav01.jpg", ENDITEM,
"Url=../common/images/hb_img_top01.jpg", ENDITEM,
"Url=../common/images/hb_bg_top02.jpg", ENDITEM,
"Url=../common/images/hb_bg_Snav03.jpg", ENDITEM,
"Url=../common/flash/flashBanner03.swf", ENDITEM,
"Url=../common/flash/flashBanner01.swf", ENDITEM,
"Url=images/hb_bg_wNews01.jpg", ENDITEM,
"Url=../common/images/hb_bg_Snav02.jpg", ENDITEM,
"Url=images/hb_bg_siteNav01.jpg", ENDITEM,
"Url=images/hb_bg_bLink01.jpg", ENDITEM,
"Url=images/hb_bg_siteNav02.jpg", ENDITEM,
"Url=images/hb_bg_siteNav03.jpg", ENDITEM,
"Url=images/hb_bg_listTit01.jpg", ENDITEM,
"Url=images/hb_bg_date01.jpg", ENDITEM,
"Url=images/hb_bg_count01.jpg", ENDITEM,
"Url=images/hb_bg_netWork02.jpg", ENDITEM,
"Url=images/hb_bg_count02.jpg", ENDITEM,
"Url=images/hb_bg_infoCount01.jpg", ENDITEM,
"Url=images/hb_bg_netWork01.jpg", ENDITEM,
"Url=../common/images/hb_ico_list01.jpg", ENDITEM,
"Url=images/hb_bg_listTit02.jpg", ENDITEM,
"Url=../common/images/hb_bg_footer01.jpg", ENDITEM,
LAST);
lr_think_time(9);
lr_start_transaction("登录");
web_submit_data("login.action",
"Action=http://58.154.128.129:7006/user/front/login.action",
"Method=POST",
"TargetFrame=",
"RecContentType=application/json",
"Referer=http://58.154.128.129:7006/home/toFrontMainPage.action",
"Snapshot=t3.inf",
"Mode=HTML",
ITEMDATA,
"Name=user_Login_UID", "Value=920706197801283333", ENDITEM,
"Name=user_Login_Password", "Value=123456", ENDITEM,
LAST);
lr_end_transaction("登录", LR_PASS);
web_url("toFrontMainPage.action_2",
"URL=http://58.154.128.129:7006/home/toFrontMainPage.action",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t4.inf",
"Mode=HTML",
EXTRARES,
"Url=../common/images/hb_bg_top02.jpg", ENDITEM,
"Url=../common/images/hb_bg_Snav03.jpg", ENDITEM,
"Url=../common/images/hb_bg_Snav01.jpg", ENDITEM,
"Url=../common/images/hb_img_top01.jpg", ENDITEM,
"Url=../common/images/hb_bg_top01.jpg", ENDITEM,
"Url=images/hb_bg_netWork01.jpg", ENDITEM,
"Url=images/hb_bg_netWork02.jpg", ENDITEM,
"Url=images/hb_bg_infoCount01.jpg", ENDITEM,
"Url=images/hb_bg_count01.jpg", ENDITEM,
"Url=../common/images/hb_ico_list01.jpg", ENDITEM,
"Url=images/hb_bg_date01.jpg", ENDITEM,
"Url=images/hb_bg_siteNav02.jpg", ENDITEM,
"Url=images/hb_bg_count02.jpg", ENDITEM,
"Url=images/hb_bg_siteNav03.jpg", ENDITEM,
"Url=images/hb_bg_bLink01.jpg", ENDITEM,
"Url=images/hb_bg_listTit01.jpg", ENDITEM,
"Url=images/hb_bg_listTit02.jpg", ENDITEM,
"Url=../common/images/hb_bg_Snav02.jpg", ENDITEM,
"Url=../common/images/hb_bg_footer01.jpg", ENDITEM,
"Url=images/hb_bg_wNews01.jpg", ENDITEM,
"Url=images/hb_bg_siteNav01.jpg", ENDITEM,
LAST);
lr_start_transaction("进入考试系统");
web_url("考试系统",
"URL=http://58.154.128.129:7006/exam/ExamNameList.action",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://58.154.128.129:7006/home/toFrontMainPage.action",
"Snapshot=t5.inf",
"Mode=HTML",
EXTRARES,
"Url=../common/flash/flashBanner04.swf", ENDITEM,
"Url=images/hb_bg_Snav02.jpg", ENDITEM,
"Url=images/hb_img_sideTit02.jpg", ENDITEM,
"Url=images/hb_bg_mBox01.jpg", ENDITEM,
"Url=images/hb_bg_mBox02.jpg", ENDITEM,
"Url=images/hb_bg_Snav01.jpg", ENDITEM,
"Url=images/hb_bg_footer01.jpg", ENDITEM,
"Url=images/hb_bg_sideBox02.jpg", ENDITEM,
"Url=images/hb_bg_header01.jpg", ENDITEM,
"Url=images/hb_bg_mBody01.jpg", ENDITEM,
"Url=images/hb_bg_mBody02.jpg", ENDITEM,
"Url=images/hb_bg_sideBox01.jpg", ENDITEM,
LAST);
web_url("for test",
"URL=http://58.154.128.129:7006/exam/ReadExamInfo.action?exam_Id=7462",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://58.154.128.129:7006/exam/ExamNameList.action",
"Snapshot=t6.inf",
"Mode=HTML",
EXTRARES,
"Url=../manage/Exam/pages/images/bg_examBtn01.jpg", "Referer=http://58.154.128.129:7006/exam/ReadExamInfo.action?exam_Id=7462", ENDITEM,
LAST);
lr_end_transaction("进入考试系统", LR_PASS);
lr_start_transaction("开始考试");
web_submit_data("EnterExam.action",
"Action=http://58.154.128.129:7006/exam/EnterExam.action",
"Method=POST",
"TargetFrame=",
"RecContentType=application/json",
"Referer=http://58.154.128.129:7006/exam/ReadExamInfo.action?exam_Id=7462",
"Snapshot=t7.inf",
"Mode=HTML",
ITEMDATA,
"Name=exam_Id", "Value=7462", ENDITEM,
"Name=enter_Code", "Value=111", ENDITEM,
LAST);
web_url("ReadExamQusetion.action",
"URL=http://58.154.128.129:7006/exam/ReadExamQusetion.action?exam_Id=7462&cacheDate=1423624796000",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t8.inf",
"Mode=HTML",
EXTRARES,
"Url=../manage/Exam/pages/images/bg-0092.gif", "Referer=http://58.154.128.129:7006/exam/ReadExamQusetion.action?exam_Id=7462&cacheDate=1423624796000", ENDITEM,
"Url=../manage/Exam/pages/images/bg-0421.gif", "Referer=http://58.154.128.129:7006/exam/ReadExamQusetion.action?exam_Id=7462&cacheDate=1423624796000", ENDITEM,
LAST);
lr_end_transaction("开始考试", LR_PASS);
lr_think_time(12);
lr_start_transaction("提交考试");
lr_rendezvous("kaoshibingfa");
web_submit_data("SubmitExamination.action",
"Action=http://58.154.128.129:7006/exam/SubmitExamination.action",
"Method=POST",
"TargetFrame=_self",
"RecContentType=text/html",
"Referer=http://58.154.128.129:7006/exam/ReadExamQusetion.action?exam_Id=7462&cacheDate=1423624796000",
"Snapshot=t9.inf",
"Mode=HTML",
ITEMDATA,
"Name=userAge", "Value=#request.userAge", ENDITEM,
"Name=pageFromFlag", "Value=#request.pageFromFlag", ENDITEM,
"Name=typingFocusFlag", "Value=0", ENDITEM,
"Name=typingIndex", "Value=", ENDITEM,
"Name=typingTime", "Value=", ENDITEM,
"Name=typingActContent", "Value=", ENDITEM,
"Name=typingFocusFlag", "Value=0", ENDITEM,
"Name=typeId", "Value=currentExamination.typeId", ENDITEM,
"Name=focusElementId", "Value=", ENDITEM,
"Name=exam_BaseInfoDao.single_Choice_Count", "Value=2", ENDITEM,
"Name=exam_BaseInfoDao.single_Choice_Score", "Value=2.0", ENDITEM,
"Name=exam_BaseInfoDao.multi_Choice_Count", "Value=2", ENDITEM,
"Name=exam_BaseInfoDao.multi_Choice_Score", "Value=2.0", ENDITEM,
"Name=exam_BaseInfoDao.true_False_Count", "Value=2", ENDITEM,
"Name=exam_BaseInfoDao.true_False_Score", "Value=2.0", ENDITEM,
"Name=exam_BaseInfoDao.completion_Blank_Count", "Value=0", ENDITEM,
"Name=exam_BaseInfoDao.completion_Blank_Score", "Value=0.0", ENDITEM,
"Name=exam_BaseInfoDao.short_Answer_Count", "Value=0", ENDITEM,
"Name=exam_BaseInfoDao.shortAnswerScore", "Value=0.0", ENDITEM,
"Name=exam_BaseInfoDao.exam_ID", "Value=7462", ENDITEM,
"Name=exam_BaseInfoDao.exam_Name", "Value=for test", ENDITEM,
"Name=exam_BaseInfoDao.exam_Time", "Value=2", ENDITEM,
"Name=singleChoiceList[0].question_Text", "Value=122121212。", ENDITEM,
"Name=singleChoiceList[0].question_ID", "Value=7783", ENDITEM,
"Name=singleChoiceList[0].question_Answer", "Value=C", ENDITEM,
"Name=singleChoiceList[0].userAnswer", "Value=A", ENDITEM,
"Name=singleChoiceList[1].question_Text", "Value=3234242423424", ENDITEM,
"Name=singleChoiceList[1].question_ID", "Value=7721", ENDITEM,
"Name=singleChoiceList[1].question_Answer", "Value=A", ENDITEM,
"Name=singleChoiceList[1].userAnswer", "Value=A", ENDITEM,
"Name=multiChoiceList[0].question_Text", "Value=234234234234234234", ENDITEM,
"Name=multiChoiceList[0].question_ID", "Value=7807", ENDITEM,
"Name=multiChoiceList[0].question_Answer", "Value=A,B,D", ENDITEM,
"Name=multiChoiceList[0].userAnswer", "Value=A", ENDITEM,
"Name=multiChoiceList[0].userAnswer", "Value=B", ENDITEM,
"Name=multiChoiceList[1].question_Text", "Value=2342342342342432", ENDITEM,
"Name=multiChoiceList[1].question_ID", "Value=7740", ENDITEM,
"Name=multiChoiceList[1].question_Answer", "Value=B,C,D", ENDITEM,
"Name=multiChoiceList[1].userAnswer", "Value=A", ENDITEM,
"Name=multiChoiceList[1].userAnswer", "Value=B", ENDITEM,
"Name=trueFalseList[0].question_Text", "Value=234234242423424234", ENDITEM,
"Name=trueFalseList[0].question_ID", "Value=57612", ENDITEM,
"Name=trueFalseList[0].question_Answer", "Value=Y", ENDITEM,
"Name=trueFalseList[0].userAnswer", "Value=Y", ENDITEM,
"Name=trueFalseList[1].question_Text", "Value=23424234234234", ENDITEM,
"Name=trueFalseList[1].question_ID", "Value=7768", ENDITEM,
"Name=trueFalseList[1].question_Answer", "Value=N", ENDITEM,
"Name=trueFalseList[1].userAnswer", "Value=Y", ENDITEM,
LAST);
lr_end_transaction("提交考试", LR_PASS);
return 0;
}
|
|