sinian726 发表于 2010-10-14 12:45:38

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)       
Run Mode: HTML       
Run-Time Settings file: "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\noname10\\default.cfg"       
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       
Action.c(4): Aborting pending download of URL="http://down.eebbk.net/xzzx/T300/T3001.1Pc_setup.rar"       
Action.c(4): web_url("T3001.1Pc_setup.rar") highest severity level was "ERROR", 13947035 body bytes, 345 header bytes        Ending action Action.
Ending iteration 1.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.

PrefTest 发表于 2010-10-14 13:15:20

超时了, 可以在runtime-setting中把Step download timeout 设置大点

angzhuo 发表于 2010-10-14 14:04:33

将timeout时间设置长些,

sinian726 发表于 2010-10-14 14:27:37

回复楼上两位,时间设置长了还是会出现相同的错误,是不是别的地方什么错误呢,编译都没有问题,就是回放有问题

sinian726 发表于 2010-10-14 17:56:00

希望好心人 帮忙解答 我在线等啊

angzhuo 发表于 2010-10-15 16:19:42

那就得改下服务器的配置文件了,是不是服务器直接断掉的
页: [1]
查看完整版本: LoadRunner 录制 ie下载文件 回放时报错