偶是测试新手,希望前辈们能多多指教。

loadrunner报timeout 错误【转载】

上一篇 / 下一篇  2011-07-25 14:42:45 / 个人分类:LoadRunner学习日志

1. 初始化timeout错误:这个问题,查了一些资料,原因是因为某个虚拟用户在transaction初始化时超时了。

解决办法:将controller------tools------timeout-----vuser---init时间设大些,默认为120,我设为600解决此问题。

    2. 运行场景时提示“Step download timeout (120 seconds) has expired when downloading resource(s)”

vuser_init.c(12): Error -27728: Step download timeout (120 seconds) has expired when downloading non-resource(s)(出现个别,可以忽略)

vuser_init.c(12): 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

如果觉得下载一个页面超过2分钟不是错误的话,可以在Run-Time设置中选择Preferences->Options,修改Step download timeout(sec)的时间

或者把“Step timeout caused by resources is a warning”设置为Yes,这样下载资源超时也只是作为警告,不作为错误提示,但是对于非资源的下载超时,则总是会提示错误的


TAG:

 

评分:0

我来说两句

Open Toolbar