submit脚本回放不执行
录制了一个登录过程,其中包含以下的一段submit,执行到这里就过不去,请教是什么原因?注掉就可以了。全部脚本如下,带颜色的是不能执行的代码:
Action()
{
lr_start_transaction("OA登陆");
web_custom_request("http.do",
"URL=http://10.122.176.119/http.do",
"Method=POST",
"Resource=0",
"RecContentType=application/vnd.dh-msc",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
"Body=_MSC_CMD_=USR&action=login&relogin=false&mscver=V2.9.4.BUILD.03.101213.79968&phonemodel=Windows||||Microsoft|&appid=BGPBKK&appver=1.0&partnerid=DHVN&screensize=768*700&cellid=&lac=&username=%E8%8B%8F%E4%BC%9F&password=1qaz1qaz",
LAST);
web_submit_data("http.do_2",
"Action=http://10.122.176.119/http.do",
"Method=POST",
"RecContentType=application/vnd.dh-msc",
"Referer=",
"Snapshot=t2.inf",
"Mode=HTML",
ITEMDATA,
"Name=_MSC_CMD_", "Value=ALT", ENDITEM,
"Name=lac", "Value=", ENDITEM,
"Name=cellid", "Value=", ENDITEM,
LAST);
web_custom_request("http.do_3",
"URL=http://10.122.176.119/http.do",
"Method=POST",
"Resource=0",
"RecContentType=application/vnd.dh-msc",
"Referer=",
"Snapshot=t3.inf",
"Mode=HTML",
"Body=_MSC_CMD_=QRY&action=bs-transfer@mdp&url=http://10.122.176.119:8080/gephq02apd10/PC/main.html",
LAST);
lr_end_transaction("OA登陆",LR_AUTO);
return 0;
} 发日志贴出来看看 标记颜色的部分没执行就停止了,以下是回放日志
Virtual User Script started
Starting action vuser_init.
Web Turbo Replay of LoadRunner 9.10.0 for WINXP; WebReplay85 build 5896
Run Mode: HTML
Run-Time Settings file: "C:\Documents and Settings\guoxinfa.D-HEAVEN\Local Settings\Temp\noname35\\default.cfg"
vuser_init.c(12): web_custom_request("http.do") was successful, 443 body bytes, 261 header bytes 没有人遇到这种情况吗? 错误的日志没有发啊
只发到了http.do成功的日志 日志没出错,就是执行到那就停止了,没有往下执行了。不知道何故。
抓包也没有数据发出去。
页:
[1]