|
场景描述:
进入登录页面 login.htm,用户登录后进入首页index.jsp<内含框架: top.jsp, menu.jsp, info.jsp>
录制时没问题,回放也没问题
可是第二天我重新回放的时候出错了:
vuser_init.c(28): 错误 -26612: 对于“http://202.96.188.99:8080/menu.jsp”,HTTP 状态代码=500 (Internal Server Error) [MsgId: MERR-26612]
我又重新录制了一个脚本,回放也正常,就是之前那个回放不行。新手,找了一下,还说不知道为什么
附上脚本 (action 中无内容)
/* -------------------------------------------------------------------------------
Script Title :
Script Description :
Recorder Version : 1196
------------------------------------------------------------------------------- */
vuser_init()
{
web_url("login.htm",
"URL=http://202.96.188.99:8080/login.htm",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
EXTRARES,
"URL=images/button_normal.gif", ENDITEM,
LAST);
web_add_cookie("JSESSIONID=289AA024DECF2A04FBFADD4E7EBC6DE8; DOMAIN=202.96.188.99");
lr_think_time(4);
web_url("index.jsp",
"URL=http://202.96.188.99:8080/index.jsp",
"Resource=0",
"RecContentType=text/html",
"Referer=http://202.96.188.99:8080/login.htm",
"Snapshot=t2.inf",
"Mode=HTML",
EXTRARES,
"URL=../images/menu/bg1.gif", "Referer=http://202.96.188.99:8080/top.jsp", ENDITEM,
"URL=../images/new/bg_header.gif", "Referer=http://202.96.188.99:8080/info.jsp", ENDITEM,
"URL=../images/menu/tree_minus.gif", "Referer=http://202.96.188.99:8080/menu.jsp", ENDITEM,
LAST);
return 0;
}
[ 本帖最后由 iooyoo 于 2007-6-21 16:12 编辑 ] |
|