51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 3858|回复: 4
打印 上一主题 下一主题

[原创] Continuing after Error -27728: Step download timeout (120 seco

[复制链接]
  • TA的每日心情
    无聊
    2024-4-1 11:04
  • 签到天数: 1 天

    连续签到: 1 天

    [LV.1]测试小兵

    跳转到指定楼层
    1#
    发表于 2010-10-18 09:44:11 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
    运行的时候我没有注意看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就可以了呢?
    分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
    收藏收藏
    回复

    使用道具 举报

    该用户从未签到

    2#
    发表于 2010-10-18 10:36:18 | 只看该作者
    如果600秒也算成功的话,你愿意等吗,呵呵
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    3#
    发表于 2010-10-18 10:36:25 | 只看该作者
    1这个需要看你的实际情况,loadrunner默认是120s又是谁规定的呢?呵呵,改变超时时间无非是想看看服务器的性能情况,
    2、改变超时时间不影响之前的测试情况,
    3,还是要根据业务需要,具体问题具体分析,有时改变loadrunner的配置也是不行的,还需要更改服务器的配置文件。
    回复 支持 反对

    使用道具 举报

  • 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
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    5#
    发表于 2010-11-26 19:24:50 | 只看该作者
    楼上的写的真好  ,谢谢!
    回复 支持 反对

    使用道具 举报

    本版积分规则

    关闭

    站长推荐上一条 /1 下一条

    小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

    GMT+8, 2024-9-22 04:18 , Processed in 0.081074 second(s), 28 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

    快速回复 返回顶部 返回列表