Timeout is the maximum amount of time for receiving any response to an HTTP request. Like in physical browsers, a virtual user will stop sending new requests after the number of its pending requests reaches a certain browser-specific limit. The VU will resume sending requests only after some responses are received, so the number of open connections does not exceed the limit. If the server stops responding, the load test will halt. To avoid this situation, StresStimulus has a timeout mechanism allowing tests with very slow responses to complete faster. Any request which does not receive a response after the timeout will be aborted and marked as a Timeout, so the load test can continue without waiting for such very slow responses. All timeout occurrences are reported in the test error log. The timeout HTTP requests are excluded from response time calculations.

To set or change request timeout use the following information:

1. Default timeout

  • The initial default timeout value is 60 seconds for all requests. 
  • If you change the test case Default Timeout(s) property (a), then the timeout of every request for which the timeout (s) property was not modified, will be equal to the new default timeout.

2. Individual request timeout. To override the request default timeout value, change its Timeout(s) property in the property grid of the Request object.

Note: You can disable Timeouts for certain test cases. To do so, in the test case property grid, change the Request Timeout property to Disabled. Use Disabled for determining response times of slow requests. However, this may cause long or indefinite wait times during the test run. 
  • No labels