代码之家  ›  专栏  ›  技术社区  ›  TheBlastOne

LR:VUgen web\u set\u timeout函数不切实际?

  •  0
  • TheBlastOne  · 技术社区  · 15 年前

    我知道武根 web_set_timeout

    理解:这是否意味着所有用户都必须将其浏览器http POST timeout配置值设置为一个新的、更高的值?我不是用一个(模拟的/虚拟的)用户配置来测试吗?这个用户配置没有真实世界的用户会使用?

    上下文:使用VUGen 9.51对基于浏览器-(Ajax)的前端进行负载测试。浏览器在web服务器请求时超时 Error -27728 Step download timeout (120 seconds) has expired when downloading non-resource(s) ,我犹豫使用网络设置超时,因为显而易见的原因。

    1 回复  |  直到 15 年前
        1
  •  2
  •   K.Sandell    15 年前

    每个浏览器都定义了不同的超时值。用户也可以很容易地更改此值。

    http://support.microsoft.com/kb/181050 有关IE超时的信息。

    Internet Explorer imposes a time-out limit for the server to return data. 
    By default, the time-out limit is as follows:
    
    Internet Explorer 4.0 and Internet Explorer 4.01    5 minutes
    Internet Explorer 5.x and Internet Explorer 6.x    60 minutes
    Internet Explorer 7 and Internet Explorer 8        60 minutes
    
    Internet Explorer does not wait endlessly for the server to come
    back with data when the server has a problem. 
    

    今天使用的许多服务都是机器到机器服务(即SOAP请求) 它们可能具有特定于接口的超时。

    运行时设置|首选项|选项

    HTTP-Request connect timeout     default 120 seconds
    HTTP-Request response timeout    default 120 seconds
    

    然而,在实践中,如果一个普通的web用户界面需要5-10秒以上的时间来响应用户的点击,那么该服务将被用户认为是缓慢的。

    SAP EP是个例外,30分钟以上的等待时间就可以了……)