51Testing软件测试论坛
标题:
LoadRunner回放的时候出现Error 26612错误信息,求具体解答方法!
[打印本页]
作者:
空灵dj
时间:
2013-4-29 17:37
标题:
LoadRunner回放的时候出现Error 26612错误信息,求具体解答方法!
录制的是管理员审查注册用户,并允许注册。
录制脚本action.c如下:
web_url("managerindex.jsp",
"URL=http://localhost:8080/reservations/managerindex.jsp",
"Resource=0",
"RecContentType=text/html",
"Referer=http://localhost:8080/reservations/ManagerLoginAction",
"Snapshot=t5.inf",
"Mode=HTML",
EXTRARES,
"Url=images/manage/h.gif", ENDITEM,
"Url=images/manage/tt.gif", ENDITEM,
"Url=images/manage/v.gif", ENDITEM,
"Url=images/pointer.gif", ENDITEM,
"Url=images/bmsz.gif", ENDITEM,
"Url=images/zwsz.gif", ENDITEM,
"Url=images/bar.gif", ENDITEM,
LAST);
web_url("ManagerReview",
"URL=http://localhost:8080/reservations/ManagerReview?time=1367228506658",
"Resource=0",
"RecContentType=text/html",
"Referer=http://localhost:8080/reservations/managerindex.jsp",
"Snapshot=t6.inf",
"Mode=HTML",
EXTRARES,
"Url=images/background1.jpg", "Referer=http://localhost:8080/reservations/ManagerReview?time=1367228506658", ENDITEM,
LAST);
lr_think_time(5);
web_url("
assManagerReview",
"URL=http://localhost:8080/reservations/PassManagerReview?userId=1011",
"Resource=0",
"RecContentType=text/html",
"Referer=http://localhost:8080/reservations/ManagerReview?time=1367228506658",
"Snapshot=t7.inf",
"Mode=HTML",
LAST);
回放的时候报出了以下错误信息,求高手解释具体解答方法!
Error -26612: HTTP Status-Code=500 (Internal Server Error) for "http://localhost:8080/reservations/PassManagerReview?userId=1011" [MsgId: MERR-26612
作者:
lbxoqy
时间:
2013-5-1 13:27
userId=1011 指的是要审查的注册用户的ID吗?是的话,你这次审核的用户的ID已经改变了,即这个现在的这个ID是你录制脚本时的那个ID,此时需要手工关联一下!把页面中的ID号捉出来!
作者:
城邦
时间:
2013-5-2 09:52
比对下前后两次的脚本,做个关联试试
作者:
空灵dj
时间:
2013-5-7 22:36
解决了,直接将id参数化。
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2