|
本人是新手,大虾们帮忙看一下下面代码参数化那里有问题…………小弟不会呀!!下面是考试系统的答题部分!!好心人帮忙解决一下。下面是错误提示:
Action.c(21): web_url("paper.swf") was successful, 338593 body bytes, 230 header bytes [MsgId: MMSG-26386]
Action.c(30): Error -26612: HTTP Status-Code=500 (Internal Server Error) for "http://10.13.45.130:8080/ems/getUserunFinishPaperByID.html" [MsgId: MERR-26612]
Action.c(30): web_submit_data("getUserunFinishPaperByID.html") highest severity level was "ERROR", 2662 body bytes, 182 header bytes [MsgId: MMSG-26388]
Ending action Action.
Ending iteration 1.
Action()
{
web_add_auto_header("x-flash-version", "10,0,42,34");
lr_think_time(14);
web_submit_data("userLogin.html",
"Action=http://10.13.45.130:8080/ems/userLogin.html",
"Method=POST",
"TargetFrame=",
"RecContentType=text/xml",
"Referer=http://10.13.45.130:8080/ems/Login.swf",
"Snapshot=t5.inf",
"Mode=HTML",
ITEMDATA,
"Name=password", "Value={password}", ENDITEM,
"Name=userID", "Value={userid}", ENDITEM,
LAST);
web_url("paper.swf",
"URL=http://10.13.45.130:8080/ems/paper.swf",
"TargetFrame=",
"Resource=1",
"RecContentType=application/x-shockwave-flash",
"Referer=http://10.13.45.130:8080/ems/Login.swf",
"Snapshot=t6.inf",
LAST);
web_submit_data("getUserunFinishPaperByID.html",
"Action=http://10.13.45.130:8080/ems/getUserunFinishPaperByID.html",
"Method=POST",
"TargetFrame=",
"RecContentType=text/xml",
"Referer=http://10.13.45.130:8080/ems/paper.swf",
"Snapshot=t7.inf",
"Mode=HTML",
ITEMDATA,
"Name=userID", "Value={tbluser}", ENDITEM,
LAST);
web_submit_data("getUserunFinishPaperByID.html_2",
"Action=http://10.13.45.130:8080/ems/getUserunFinishPaperByID.html",
"Method=POST",
"TargetFrame=",
"RecContentType=text/xml",
"Referer=http://10.13.45.130:8080/ems/paper.swf",
"Snapshot=t8.inf",
"Mode=HTML",
ITEMDATA,
"Name=userID", "Value={tbluser}", ENDITEM,
LAST);
web_submit_data("getUserFinishPaperByID.html",
"Action=http://10.13.45.130:8080/ems/getUserFinishPaperByID.html",
"Method=POST",
"TargetFrame=",
"RecContentType=text/xml",
"Referer=http://10.13.45.130:8080/ems/paper.swf",
"Snapshot=t9.inf",
"Mode=HTML",
ITEMDATA,
"Name=userID", "Value={tbluser}", ENDITEM,
LAST);
lr_think_time(6);
web_submit_data("getQuestionTypeByID.html",
"Action=http://10.13.45.130:8080/ems/getQuestionTypeByID.html",
"Method=POST",
"TargetFrame=",
"RecContentType=text/xml",
"Referer=http://10.13.45.130:8080/ems/paper.swf",
"Snapshot=t10.inf",
"Mode=HTML",
ITEMDATA,
"Name=questionIDs", "Value=9085,9086,9087,9088,9089,9090,9091,9092,9093,9094,9095,9096,9097,9098,9099,9100,9101,9102,9103,9104,9105,9106,8697,8696,8695,8694,8693,8692,8691,8690,8689,8688,8687,8686,8685,8684,8683,8682,8681,8680,8679,8678,8677,8676", ENDITEM,
LAST);
web_submit_data("getQuestionByIDs.html",
"Action=http://10.13.45.130:8080/ems/getQuestionByIDs.html",
"Method=POST",
"TargetFrame=",
"RecContentType=text/xml",
"Referer=http://10.13.45.130:8080/ems/paper.swf",
"Snapshot=t11.inf",
"Mode=HTML",
ITEMDATA,
"Name=questionIDs", "Value=9085,9086,9087,9088,9089,9090,9091,9092,9093,9094,9095,9096,9097,9098,9099,9100,9101,9102,9103,9104,9105,9106,8697,8696,8695,8694,8693,8692,8691,8690,8689,8688,8687,8686,8685,8684,8683,8682,8681,8680,8679,8678,8677,8676", ENDITEM,
"Name=questionType", "Value=2", ENDITEM,
"Name=optionMode", "Value=", ENDITEM,
LAST);
web_submit_data("getQuestionByIDs.html_2",
"Action=http://10.13.45.130:8080/ems/getQuestionByIDs.html",
"Method=POST",
"TargetFrame=",
"RecContentType=text/xml",
"Referer=http://10.13.45.130:8080/ems/paper.swf",
"Snapshot=t12.inf",
"Mode=HTML",
ITEMDATA,
"Name=questionIDs", "Value=9085,9086,9087,9088,9089,9090,9091,9092,9093,9094,9095,9096,9097,9098,9099,9100,9101,9102,9103,9104,9105,9106,8697,8696,8695,8694,8693,8692,8691,8690,8689,8688,8687,8686,8685,8684,8683,8682,8681,8680,8679,8678,8677,8676", ENDITEM,
"Name=questionType", "Value=3", ENDITEM,
"Name=optionMode", "Value=1", ENDITEM,
LAST);
web_submit_data("getSelOptionByQuestionIDs.html",
"Action=http://10.13.45.130:8080/ems/getSelOptionByQuestionIDs.html",
"Method=POST",
"TargetFrame=",
"RecContentType=text/xml",
"Referer=http://10.13.45.130:8080/ems/paper.swf",
"Snapshot=t13.inf",
"Mode=HTML",
ITEMDATA,
"Name=questionIDs", "Value=9085,9086,9087,9088,9089,9090,9091,9092,9093,9094,9095,9096,9097,9098,9099,9100,9101,9102,9103,9104,9105,9106,8697,8696,8695,8694,8693,8692,8691,8690,8689,8688,8687,8686,8685,8684,8683,8682,8681,8680,8679,8678,8677,8676", ENDITEM,
LAST);
web_submit_data("getQuestionAnswer.html",
"Action=http://10.13.45.130:8080/ems/getQuestionAnswer.html",
"Method=POST",
"TargetFrame=",
"RecContentType=text/xml",
"Referer=http://10.13.45.130:8080/ems/paper.swf",
"Snapshot=t14.inf",
"Mode=HTML",
ITEMDATA,
"Name=questionIDs", "Value=9085,9086,9087,9088,9089,9090,9091,9092,9093,9094,9095,9096,9097,9098,9099,9100,9101,9102,9103,9104,9105,9106", ENDITEM,
"Name=questionType", "Value=2", ENDITEM,
LAST);
web_submit_data("getQuestionAnswer.html_2",
"Action=http://10.13.45.130:8080/ems/getQuestionAnswer.html",
"Method=POST",
"TargetFrame=",
"RecContentType=text/xml",
"Referer=http://10.13.45.130:8080/ems/paper.swf",
"Snapshot=t15.inf",
"Mode=HTML",
ITEMDATA,
"Name=questionIDs", "Value=8676,8677,8678,8679,8680,8681,8682,8683,8684,8685,8686,8687,8688,8689,8690,8691,8692,8693,8694,8695,8696,8697", ENDITEM,
"Name=questionType", "Value=3", ENDITEM,
LAST);
lr_think_time(69);
web_custom_request("createUserAnswerRcord.html",
"URL=http://10.13.45.130:8080/ems/createUserAnswerRcord.html",
"Method=POST",
"TargetFrame=",
"Resource=0",
"RecContentType=text/xml",
"Referer=http://10.13.45.130:8080/ems/paper.swf",
"Snapshot=t16.inf",
"Mode=HTML",
"Body=paperRecords="
"%3Crecord%3E%3CpaperID%3E3%3C%2FpaperID%3E%3CuserID%3E312%3C%2FuserID%3E%3Cscore%3E45%2E81%3C%2Fscore%3E%3Ctime%3E%E6%97%A0%E9%99%90%E5%88%B6%3C%2Ftime%3E%3Canswers%3E%3Canswer%3E%3CquestionType%3E2%3C%2FquestionType%3E%3CquestionID%3E9085%3C%2FquestionID%3E%3CuserAnswer%3E1%3C%2FuserAnswer%3E%3CuserID%3E312%3C%2FuserID%3E%3CpaperID%3E3%3C%2FpaperID%3E%3Ccorrect%3E1%3C%2Fcorrect%3E%3C%2Fanswer%3E%3Canswer%3E%3CquestionType%3E2%3C%2FquestionType%3E%3CquestionID%3E9086%3C%2FquestionID%3E%3CuserAnswe"
"r%3E1%3C%2FuserAnswer%3E%3CuserID%3E312%3C%2FuserID%3E%3CpaperID%3E3%3C%2FpaperID%3E%3Ccorrect%3E1%3C%2Fcorrect%3E%3C%2Fanswer%3E%3Canswer%3E%3CquestionType%3E2%3C%2FquestionType%3E%3CquestionID%3E9087%3C%2FquestionID%3E%3CuserAnswer%3E1%3C%2FuserAnswer%3E%3CuserID%3E312%3C%2FuserID%3E%3CpaperID%3E3%3C%2FpaperID%3E%3Ccorrect%3E1%3C%2Fcorrect%3E%3C%2Fanswer%3E%3Canswer%3E%3CquestionType%3E2%3C%2FquestionType%3E%3CquestionID%3E9088%3C%2FquestionID%3E%3CuserAnswer%3E1%3C%2FuserAnswer%3E%3CuserID%3E31"
"2%3C%2FuserID%3E%3CpaperID%3E3%3C%2FpaperID%3E%3Ccorrect%3E1%3C%2Fcorrect%3E%3C%2Fanswer%3E%3Canswer%3E%3CquestionType%3E2%3C%2FquestionType%3E%3CquestionID%3E9089%3C%2FquestionID%3E%3CuserAnswer%3E1%3C%2FuserAnswer%3E%3CuserID%3E312%3C%2FuserID%3E%3CpaperID%3E3%3C%2FpaperID%3E%3Ccorrect%3E0%3C%2Fcorrect%3E%3C%2Fanswer%3E%3Canswer%3E%3CquestionType%3E2%3C%2FquestionType%3E%3CquestionID%3E9090%3C%2FquestionID%3E%3CuserAnswer%3E1%3C%2FuserAnswer%3E%3CuserID%3E312%3C%2FuserID%3E%3CpaperID%3E3%3C%2Fpa"
"perID%3E%3Ccorrect%3E1%3C%2Fcorrect%3E%3C%2Fanswer%3E%3Canswer%3E%3CquestionType%3E2%3C%2FquestionType%3E%3CquestionID%3E9091%3C%2FquestionID%3E%3CuserAnswer%3E1%3C%2FuserAnswer%3E%3CuserID%3E312%3C%2FuserID%3E%3CpaperID%3E3%3C%2FpaperID%3E%3Ccorrect%3E0%3C%2Fcorrect%3E%3C%2Fanswer%3E%3Canswer%3E%3CquestionType%3E2%3C%2FquestionType%3E%3CquestionID%3E9092%3C%2FquestionID%3E%3CuserAnswer%3E1%3C%2FuserAnswer%3E%3CuserID%3E312%3C%2FuserID%3E%3CpaperID%3E3%3C%2FpaperID%3E%3Ccorrect%3E1%3C%2Fcorrect%3E"
[ 本帖最后由 丁凯 于 2010-3-3 17:41 编辑 ] |
|