51Testing软件测试论坛
标题:
lr回放时报错,大家帮忙看看
[打印本页]
作者:
xiao_jie98
时间:
2005-6-15 15:33
标题:
lr回放时报错,大家帮忙看看
这是完整的报错信息:“rcjd_sxsyqk_add.c(32): Error -26627: HTTP Status-Code=404 (/taiko/DayMonitor/UntitledFrame-2) for "http://192.168.1.181:8080/taiko/DayMonitor/UntitledFrame-2" [MsgId: MERR-26627]
End auto log messages stack.”。
声明,这只是一个简单的操作,个人认为不需要做关联之类的修改,可为什么回放时会出错呢?贴图中是出错的页面,即回放时找不到这个页面,这是怎么回事呢?
作者:
kernzhang
时间:
2005-6-15 16:13
是不是要做关联要看你这个请求是否涵盖动态的数据!你这个错误有太多的原因的造成!可能需要你做一些具体分析!
作者:
xiao_jie98
时间:
2005-6-15 16:38
不需要做关联,因为这里没有限制
作者:
xiao_jie98
时间:
2005-6-15 16:39
我现在把改好的代码贴出来,大家帮忙分析一下,我屏蔽了两个url后,新增工作就正常了,可就是不明白为什么这两个页面加载不了
rcjd_sxsyqk_add()
{
web_url("menu_bg2.gif_3",
"URL=http://192.168.1.181:8080/taiko/images/menu/menu_bg2.gif",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://192.168.1.181:8080/taiko/main/menu1.jsp",
LAST);
web_url("menu_bg2.gif_4",
"URL=http://192.168.1.181:8080/taiko/images/menu/menu_bg2.gif",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://192.168.1.181:8080/taiko/main/menu1.jsp",
LAST);
web_url("new3UseAction.do",
"URL=http://192.168.1.181:8080/taiko/new3UseAction.do?op=listall&modelid=A0205",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.1.181:8080/taiko/main/menu1.jsp",
"Snapshot=t725.inf",
"Mode=HTML",
EXTRARES,
"Url=images/menu_bg.jpg", "Referer=http://192.168.1.181:8080/taiko/new3UseAction.do?op=listall&modelid=A0205", ENDITEM,
"Url=images/line_2.jpg", "Referer=http://192.168.1.181:8080/taiko/new3UseAction.do?op=listall&modelid=A0205", ENDITEM,
"Url=images/con_m.jpg", "Referer=http://192.168.1.181:8080/taiko/new3UseAction.do?op=listall&modelid=A0205", ENDITEM,
"Url=images/con_r_m.jpg", "Referer=http://192.168.1.181:8080/taiko/new3UseAction.do?op=listall&modelid=A0205", ENDITEM,
"Url=images/line_down.jpg", "Referer=http://192.168.1.181:8080/taiko/new3UseAction.do?op=listall&modelid=A0205", ENDITEM,
LAST);
//web_url("3NewUseAddFrame.jsp",
// "URL=http://192.168.1.181:8080/taiko/DayMonitor/3NewUseAddFrame.jsp",
// "Resource=0",
// "RecContentType=text/html",
// "Referer=",
// "Snapshot=t726.inf",
// "Mode=HTML",
// EXTRARES,
// "Url=../images/sz.jpg", "Referer=http://192.168.1.181:8080/taiko/userAction.do?action=TOP", ENDITEM,
// "Url=../images/fj1.jpg", "Referer=http://192.168.1.181:8080/taiko/new3UseAction.do?op=listall&modelid=A0205", ENDITEM,
// "Url=../images/dot1.jpg", "Referer=http://192.168.1.181:8080/taiko/new3UseAction.do?op=listall&modelid=A0205", ENDITEM,
// "Url=../images/menu11.jpg", "Referer=http://192.168.1.181:8080/taiko/new3UseAction.do?op=listall&modelid=A0205", ENDITEM,
// "Url=../images/menu22.jpg", "Referer=http://192.168.1.181:8080/taiko/new3UseAction.do?op=listall&modelid=A0205", ENDITEM,
// LAST);
//web_url("ProjImpItemListFrame.jsp",
// "URL=http://192.168.1.181:8080/taiko/comm/ProjImpItemListFrame.jsp",
// "Resource=0",
// "RecContentType=text/html",
// "Referer=",
// "Snapshot=t727.inf",
// "Mode=HTML",
// LAST);
web_url("projImpAction.do",
"URL=http://192.168.1.181:8080/taiko/projImpAction.do?action=PROJLIST&itemID=9271&queryLimit=&keyWords=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.1.181:8080/taiko/comm/ProjImpItemListFrame.jsp",
"Snapshot=t728.inf",
"Mode=HTML",
LAST);
lr_think_time( 1 );
web_submit_data("new3UseAction.do_2",
"Action=http://192.168.1.181:8080/taiko/new3UseAction.do",
"Method=POST",
"RecContentType=text/html",
"Referer=http://192.168.1.181:8080/taiko/DayMonitor/3NewUseAdd.jsp",
"Snapshot=t729.inf",
"Mode=HTML",
ITEMDATA,
"Name=op", "Value=add", ENDITEM,
"Name=proj_id", "Value=9682", ENDITEM,
"Name=submit", "Value= 保 存 ", ENDITEM,
"Name=proj_no", "Value=质安站6100", ENDITEM,
"Name=proj_name", "Value=厦门", ENDITEM,
"Name=type", "Value=", ENDITEM,
"Name=info_name", "Value=", ENDITEM,
"Name=used_info", "Value=", ENDITEM,
"Name=check_info", "Value=", ENDITEM,
"Name=rpt_backup", "Value=", ENDITEM,
LAST);
web_url("new3UseAction.do_3",
"URL=http://192.168.1.181:8080/taiko/new3UseAction.do?op=listall&modelid=A0205",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.1.181:8080/taiko/main/menu1.jsp",
"Snapshot=t730.inf",
"Mode=HTML",
EXTRARES,
"Url=images/menu_bg.jpg", "Referer=http://192.168.1.181:8080/taiko/new3UseAction.do?op=listall&modelid=A0205", ENDITEM,
"Url=images/line_2.jpg", "Referer=http://192.168.1.181:8080/taiko/new3UseAction.do?op=listall&modelid=A0205", ENDITEM,
"Url=images/con_m.jpg", "Referer=http://192.168.1.181:8080/taiko/new3UseAction.do?op=listall&modelid=A0205", ENDITEM,
"Url=images/line_down.jpg", "Referer=http://192.168.1.181:8080/taiko/new3UseAction.do?op=listall&modelid=A0205", ENDITEM,
"Url=images/con_r_m.jpg", "Referer=http://192.168.1.181:8080/taiko/new3UseAction.do?op=listall&modelid=A0205", ENDITEM,
"Url=images/fj1.jpg", "Referer=http://192.168.1.181:8080/taiko/new3UseAction.do?op=listall&modelid=A0205", ENDITEM,
LAST);
return 0;
}
作者:
xiao_jie98
时间:
2005-6-15 16:56
有人说lr对frame支持不好?可我不明白录别的frame就可以,这个地方就不行?有没有人能说说?
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2