LoadRunner做负载测试时报下载超时错误
日期:2010-07-15 阅读:109 分类:综合信息
用LoadRunner测试时,总会报下载超时的错误
vuser_init.c(26): 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
上面报的是超时的意思,不一定是代码的问题,可能是负载比较大,服务器的响应超过了120秒,就汇报这个错误,解决方法如下:
1、 修改run time setting中的请求超时时间,默认120,你改大一些,其中有三项的参数可以一次都修改了,HTTP-request connect timeout,HTTP-request receieve timeout,Step download timeout,分别建议修改为600、600、5000;run time setting设置完了后记住还需要在control组件的option的run time setting中设置相应的参数;
2、 设置run time setting中的internet protocol-preferences中的advaced区域有一个winlnet replay instead of sockets选项,勾选。
本页链接: http://www.scriptlover.com/static/661-loadrunner-负载测试
标签: loadrunner 负载测试
相关文章
- loadrunner报HTTP Status-Code=404 2010-07-15