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 a specific test, in the Test editor select HTTP Options and clear the Remove HTTP request delays from response times check box.
Procedure
To configure HTTP client delays:
- In the Test Navigator, browse to the test and double-click
it.The test opens.
- Click the name of the test.
- Click HTTP Options.
- On the HTTP options page, select Enable new client processing delays.
- Under Test Contents, select the request on which to enable client processing delays.
- Under Test Element Details, click the Advanced tab.
- Under Client Processing Delay, click Request.A test editor window opens, listing the previous requests in the test.
- Select the request to wait for, and then click OK.
- For Release when, select First Character Received or Last Character Received.
- Type any Additional delay to add in milliseconds.