Configuring HTTP client delays

You can configure delays for HTTP requests to emulate client-side processing delays. Applications that use client-side Javascript, such as Web 2.0 applications, often incur significant delays due to processing done on the client. You can emulate this client-side processing in HTTP tests. Running an HTTP test too quickly can cause unexpectedly low page response times to be reported, and can generate excessive load on the server under test.

About this task

To remove request delays from response times for all the tests, click Window > Preferences > Test > Test Generation > HTTP Test Generation and select the Remove HTTP request delays from response times.

To remove request delays from response times for a specific test, in the Test editor select HTTP Options and clear the Remove HTTP request delays from response times check box.


To configure HTTP client delays:
  1. In the Test Navigator, browse to the test and double-click it.
    The test opens.
  2. Click the name of the test.
  3. Click HTTP Options.
  4. On the HTTP options page, select Enable new client processing delays.
  5. Under Test Contents, select the request on which to enable client processing delays.
  6. Under Test Element Details, click the Advanced tab.
  7. Under Client Processing Delay, click Request.
    A test editor window opens, listing the previous requests in the test.
  8. Select the request to wait for, and then click OK.
  9. For Release when, select First Character Received or Last Character Received.
  10. Type any Additional delay to add in milliseconds.