TA的每日心情 | 无聊 2024-4-1 11:04 |
---|
签到天数: 1 天 连续签到: 1 天 [LV.1]测试小兵
|
4#
楼主 |
发表于 2010-10-18 11:06:38
|
只看该作者
我搜了一片博客,能解决我很多疑问
Error -27728: Step download timeout (120 seconds) has expired when downloading non-resource(s) [MsgId: MERR-27728]
LR默认使用120秒作为每一个HTTP请求连接和接收和timeout时间,如果一个HTTP下载页面的时间超过120秒,那么就会碰到上面的错误提示。
Step Download Timeout means that the step needed to performed for the subsequent step to be performed have reached its timeout limit (default is 120 secs) in LoadRunner.
If the error occurs during the generation of the script (replay in Vugen), it could mean that the application is really taking time of more than 120 secs to complete the download of the resources. You may want to configure the timing to suit your application needs.
如果错误是在Vugen回放脚本时发生的,也就意味着应用程序真的需要超过120秒来完成资源的下载,这时可能就需要配置run-time settings中的timeout时间了:
Increase the run-time timeout settings: In VuGen or the Controller, select Run-Time Settings > Internet Protocol: Preferences, click the Options button, and increase the "HTTP-request connect timeout" or "HTTP-request receive" timeout values.
If the error occurs during a scenario execution and happens in the middle of the scenario (usually with a large amount of load), the application is handling a lot of load and unable to attend to all the vuser request, thus (maybe) taking more than the configured download timing. For this,it will be better advisable to look at the system utilization of the server to seeth out any performance problems.
如果错误是在场景执行的过程中发生的,则通常是由于系统受到很大的压力而不能及时地处理某些虚拟用户的请求导致的,这应该是性能问题,需要进一步查找性能瓶颈了。
参考:
http://www.loadrunnertnt.com/err ... s-msgid-merr-27728/
关于是否要配置timeout可参考:
http://www.loadrunnertnt.com/con ... p-download-timeout/
本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/Testing_is_ ... /02/03/5285338.aspx |
|