新人请教!LR录制脚本回放时报错
Action(){
web_url("prjGamesBBManage",
"URL=http://192.168.0.195:8081/prjGamesBBManage",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
LAST);
web_submit_form("login.jsp",
"Snapshot=t2.inf",
ITEMDATA,
"Name=account", "Value=game", ENDITEM,
"Name=password", "Value=rootsgame", ENDITEM,
"Name=rand", "Value=5320", ENDITEM,
"Name=Submit001", "Value=登陆", ENDITEM,
EXTRARES,
"Url=img/base.gif", "Referer=http://192.168.0.195:8081/prjGamesBBManage/lefttree.html", ENDITEM,
"Url=img/folder.gif", "Referer=http://192.168.0.195:8081/prjGamesBBManage/lefttree.html", ENDITEM,
"Url=img/empty.gif", "Referer=http://192.168.0.195:8081/prjGamesBBManage/lefttree.html", ENDITEM,
"Url=img/plusbottom.gif", "Referer=http://192.168.0.195:8081/prjGamesBBManage/lefttree.html", ENDITEM,
"Url=img/join.gif", "Referer=http://192.168.0.195:8081/prjGamesBBManage/lefttree.html", ENDITEM,
"Url=img/page.gif", "Referer=http://192.168.0.195:8081/prjGamesBBManage/lefttree.html", ENDITEM,
"Url=img/joinbottom.gif", "Referer=http://192.168.0.195:8081/prjGamesBBManage/lefttree.html", ENDITEM,
"Url=img/folderopen.gif", "Referer=http://192.168.0.195:8081/prjGamesBBManage/lefttree.html", ENDITEM,
"Url=img/minusbottom.gif", "Referer=http://192.168.0.195:8081/prjGamesBBManage/lefttree.html", ENDITEM,
LAST);
return 0;
}
以上是录制的脚本。
以下是回放时报错提示
Virtual User Script started
Starting action vuser_init.
Web Turbo Replay of LoadRunner 9.0.0 for WINXP; WebReplay82 build 5727
Run-Time Settings file: "C:\Documents and Settings\Administrator\Local Settings\Temp\noname23\\default.cfg"
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Starting action Action.
Action.c(4): Redirecting "http://192.168.0.195:8081/prjGamesBBManage" (redirection depth is 0)
Action.c(4): To location "http://192.168.0.195:8081/prjGamesBBManage/"
Action.c(4): Redirecting "http://192.168.0.195:8081/prjGamesBBManage/" (redirection depth is 1)
Action.c(4): To location "http://192.168.0.195:8081/prjGamesBBManage/login.jsp"
Action.c(4): Found resource "http://192.168.0.195:8081/prjGamesBBManage/validatecode.jsp" in HTML "http://192.168.0.195:8081/prjGamesBBManage/login.jsp"
Action.c(4): web_url("prjGamesBBManage") was successful, 4096 body bytes, 856 header bytes, 17 chunking overhead bytes
Action.c(13): Submitting form to "http://192.168.0.195:8081/prjGamesBBManage/login.jsp", Target Frame=""
Action.c(13): Found resource "http://192.168.0.195:8081/prjGamesBBManage/validatecode.jsp" in HTML "http://192.168.0.195:8081/prjGamesBBManage/login.jsp"
Action.c(13): Downloading resource "http://192.168.0.195:8081/prjGamesBBManage/img/base.gif" (specified by argument number 17)
Action.c(13): Downloading resource "http://192.168.0.195:8081/prjGamesBBManage/img/folder.gif" (specified by argument number 20)
Action.c(13): Downloading resource "http://192.168.0.195:8081/prjGamesBBManage/img/empty.gif" (specified by argument number 23)
Action.c(13): Downloading resource "http://192.168.0.195:8081/prjGamesBBManage/img/plusbottom.gif" (specified by argument number 26)
Action.c(13): Downloading resource "http://192.168.0.195:8081/prjGamesBBManage/img/join.gif" (specified by argument number 29)
Action.c(13): Downloading resource "http://192.168.0.195:8081/prjGamesBBManage/img/page.gif" (specified by argument number 32)
Action.c(13): Downloading resource "http://192.168.0.195:8081/prjGamesBBManage/img/joinbottom.gif" (specified by argument number 35)
Action.c(13): Downloading resource "http://192.168.0.195:8081/prjGamesBBManage/img/folderopen.gif" (specified by argument number 38)
Action.c(13): Downloading resource "http://192.168.0.195:8081/prjGamesBBManage/img/minusbottom.gif" (specified by argument number 41)
Action.c(13): web_submit_form("login.jsp") was successful, 6809 body bytes, 2204 header bytes, 12 chunking overhead bytes
Ending action Action.
Ending iteration 1.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.
希望能有高手给予解答! 全部都是成功的,那里有失败的? 慢慢看来。。。。。。。。。。 额,哪里有失败的报错啊,全是成功啊
页:
[1]