Load Runner (LR) – Keep Alive Time Out Settings – MsgId: MMSG-27654

Recently, i received following message while running a script in Load Runner.

Connection to ****proxy.***.****.com:8080 closed after being inactive for 87 seconds, exceeding the “HTTP Keep-Alive timeout” Run-Time Setting (60 seconds). URL=”XYZ”      [MsgId: MMSG-27654]

 “Keep Alive Time Out” The number of seconds the server will wait for subsequent requests before closing the connection with client. If the value is high, it may leads to some  performance problem. The default value for this property is 60 seconds.

The setting of Keep Alive Time Out can be changes by following steps:-

  • Navigate to Vuser

  •  Click on Run Time Settings and click on “Preferences”

  •  Click on “Options”

Keep Alive Time Out can be updated from here.

Load Runner(LR) – Error: “-27751: Step download timeout (120 seconds) has expired when downloading resource(s)…”

If step download time error is coming after few iterations that means your application is actually taking this much time to process it. 
To resolve the issue, try following
  • Go to Run-Time settings,
  • Go to Internet Protocol -> Preferences and select the “Options” button,
  • Change the “Step DownLoad Timeout (secs)” from the default value of 120 seconds to the desired value.
Note that in the Run-Time Setting dialog, the maximum limit for step download timeout is 32000 seconds. To specify an increased limit, use the web_set_timeout() function as follows:
  • web_set_timeout(STEP, “xx”); //for regular web V user
  • web.set_timeout(STEP, “xx”); //for regular Java / JavaScript V user
The Step Download Timeout encompasses all requests made from a single Load Runner statement. For example, a step in the script may consist of a single request to the server, or may consist of 10 requests. For example an HTML mode web_URL request to WWW.Google.com would consist of an initial request to the Google server for the main HTML file. After parsing this HTML file, further additional resources will be downloaded (e.g. .gif files). In HTML mode, these resources are downloaded automatically as a part of the web_URL for WWW.Google.com. Thus, the Page Download Timeout will encompass all the requests, that is, the initial request and the requests arising from any related resources).