51Testing软件测试论坛
标题:
LoadRunner 录制 ie下载文件 回放时报错
[打印本页]
作者:
sinian726
时间:
2010-10-14 12:45
标题:
LoadRunner 录制 ie下载文件 回放时报错
下面是我录制的脚本
Action()
{
web_url("T3001.1Pc_setup.rar",
"URL=http://down.eebbk.net/xzzx/T300/T3001.1Pc_setup.rar",
"TargetFrame=",
"Resource=1",
"RecContentType=application/x-rar-compressed",
"Referer=",
"Snapshot=t1.inf",
LAST);
return 0;
}
下面是报的错
Virtual User Script started
Starting action vuser_init.
Web Turbo Replay of LoadRunner 9.50 for WINXP; WebReplay9a build 6220 (Dec 28 2008 17:01:56) [MsgId: MMSG-27143]
Run Mode: HTML [MsgId: MMSG-26000]
Run-Time Settings file: "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\noname10\\default.cfg" [MsgId: MMSG-27141]
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Starting action Action.
Action.c(4): Error -27727: Step download timeout (120 seconds) has expired when downloading resource(s). Set the "Step Timeout caused by resources is a warning" Run-Time Setting to Yes/No to have this message as a warning/error, respectively [MsgId: MERR-27727]
Action.c(4): Aborting pending download of URL="http://down.eebbk.net/xzzx/T300/T3001.1Pc_setup.rar" [MsgId: MMSG-27656]
Action.c(4): web_url("T3001.1Pc_setup.rar") highest severity level was "ERROR", 13947035 body bytes, 345 header bytes [MsgId: MMSG-26388]
Ending action Action.
Ending iteration 1.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.
作者:
PrefTest
时间:
2010-10-14 13:15
超时了, 可以在runtime-setting中把Step download timeout 设置大点
作者:
angzhuo
时间:
2010-10-14 14:04
[attach]65761[/attach]将timeout时间设置长些,
作者:
sinian726
时间:
2010-10-14 14:27
回复楼上两位,时间设置长了还是会出现相同的错误,是不是别的地方什么错误呢,编译都没有问题,就是回放有问题
作者:
sinian726
时间:
2010-10-14 17:56
希望好心人 帮忙解答 我在线等啊
作者:
angzhuo
时间:
2010-10-15 16:19
那就得改下服务器的配置文件了,是不是服务器直接断掉的
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2