51Testing软件测试论坛

标题: Error -26612 [打印本页]

作者: xgengsha    时间: 2006-8-18 17:34
标题: Error -26612
在录制脚本的时候,有发表帖子的需求,所以录制的脚本如下:

web_submit_data("TopicEdit.asp",
                "Action=http://10.16.76.222/Eip.Forum/Forums/TopicEdit.aspx?ForumID=35",
                "Method=POST",
                "EncType=multipart/form-data",
                "RecContentType=text/html",
                "Referer=http://10.16.76.222/Eip.Forum/Forums/TopicEdit.aspx?ForumID=35",
                "Snapshot=t3.inf",
                "Mode=HTML",
                ITEMDATA,
                "Name=__EVENTTARGET", "Value=", ENDITEM,
                "Name=__EVENTARGUMENT", "Value=", ENDITEM,
                "Name=__VIEWSTATE", "Value=123", ENDITEM,
                "Name=tbSubject", "Value=LRtest", ENDITEM,
                "Name=tbPostText", "Value=", ENDITEM,
                "Name=fileAccessory", "Value=", ENDITEM,
                "Name=tbPollQuestion", "Value=", ENDITEM,
                "Name=tbPollText", "Value=", ENDITEM,
                "Name=tbDelayDays", "Value=0", ENDITEM,
                "Name=ddlJump", "Value=", ENDITEM,
                "Name=pullResult", "Value=", ENDITEM,
                "Name=pullCount", "Value=3", ENDITEM,
                "Name=hideAccessory", "Value=", ENDITEM,
                "Name=ImgTopicSubmit.x", "Value=60", ENDITEM,
                "Name=ImgTopicSubmit.y", "Value=13", ENDITEM,
                LAST);


函数觉得好像没有错,但是重放时系统报错如下:
Action1.c(35): Error -26612: HTTP Status-Code=500 (Internal Server Error) for "http://10.16.76.222/Eip.Forum/Forums/TopicEdit.aspx?ForumID=35"   [MsgId: MERR-26612]
Action1.c(35): web_submit_data highest severity level was "ERROR", 3035 body bytes, 351 header bytes   [MsgId: MMSG-27178]

据说是LR记录web service时的参数传错的原因,但是具体怎么解决,希望有达人指教一二,谢谢!
作者: Zee    时间: 2006-8-19 01:25
看一下这个错误代码的解释:
Troubleshooting
Try to access the URL or the application being tested from a browser on the same machine.
Comment out or remove any preceding web_add_header and/or web_add_auto_header calls in the script.
Check for values in the script that might need correlation.
作者: xgengsha    时间: 2006-8-19 11:59
谢谢版主。
请问在哪里可以查到LR中的error的原因呢?我在help里没有找到。。。。。




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