51Testing软件测试论坛

标题: Continuing after Error -27728: Step download timeout (120 seco [打印本页]

作者: mallybel    时间: 2010-10-18 09:44
标题: Continuing after Error -27728: Step download timeout (120 seco
运行的时候我没有注意看error的日志内容,只是把pass和failed用户数记录一下,已经从1000Vuser10every15sec 全部pass
1000Vuser15every15sec 全部pass
1000Vuser15every10sec pass842
1000 Vuser15every10sec pass823
500 Vuser15every10sec  pass419
300 Vuser15every10sec pass256
200 Vuser15every10sec pass60

controllor运行的时候200个用户pass60个,140个failed;transaction pass460个 failed140个,error140个;error日志全部是Continuing after Error -27728: Step download timeout (120 seconds) ;
在网上找了下,把runtime setting 里的http connect time 、receive time、和downloadtime改成600、600、5000(原来都是120)然后把controllor-runtime setting- internet protocol-preferences中的advaced区域里的winlnet replay instead of sockets选项,勾选。 pass的用户只有15个; 把winlnet replay instead of sockets选项去掉运行结果是全部都pass。

我的问题是:
1-改变超时时间能体现真实情况吗?
2-如果这个错误需要改runtimesetting 前面测试过的情况是不是要全部重新测试?
3-是不是以后不管什么脚本的超时时间都设置成600、600、5000就可以了呢?
作者: skyzhu    时间: 2010-10-18 10:36
如果600秒也算成功的话,你愿意等吗,呵呵
作者: angzhuo    时间: 2010-10-18 10:36
1这个需要看你的实际情况,loadrunner默认是120s又是谁规定的呢?呵呵,改变超时时间无非是想看看服务器的性能情况,
2、改变超时时间不影响之前的测试情况,
3,还是要根据业务需要,具体问题具体分析,有时改变loadrunner的配置也是不行的,还需要更改服务器的配置文件。
作者: mallybel    时间: 2010-10-18 11:06
我搜了一片博客,能解决我很多疑问

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
作者: 随风而动    时间: 2010-11-26 19:24
楼上的写的真好  ,谢谢!




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2