Some websites use third-party web services (such as Google Analytics) that should be excluded from the load test. Also, during recording, a web browser add-on may generate unrelated traffic that also should be excluded. 

When the Test Wizard reached the Targeted Hosts step, a list of hosts accessed during the recording will be displayed. 

Note: Requests to the hosts added to the Excluded Hosts List before the recording, will be automatically deleted.

Tip: You can also display the Test Case Hosts dialog by clicking Hosts on the Test Case Tree toolbar.

There are two ways to remove requests to the unwanted hosts.

  • Manual purging. To delete sessions sent to hosts which do not require testing, from the test case, in the Test Case Hosts list, check the boxes (a) on the left of the host names and click Delete (b) on the toolbar.

Tip: Hosts that do not need to be tested often have a smaller number of sessions. To locate such hosts, sort the Test Case Hosts list by the Session column (c), which displays the number of captured sessions per host.

  • Automatic purging. After every re-recording, the session which targets unwanted hosts should be deleted again. To automate this process, StresStimulus maintains the Excluded Hosts List. Requests to these hosts will be automatically removed in subsequent recordings. There are two ways to add hosts to the Excluded Hosts List:

            1. Click the button (d) on the toolbar. To edit the Excluded Hosts List, click the button (e). You can access the Excluded Hosts List from Stimulus Main Menu  -> Host/Content-types -> Excluded Hosts. This list can have the full host name or a host name with wildcards.


 2. In Test Wizard, select Record Test Case step (e), click Other Options (f), in the appeared pop-up window select Excluded Hosts (g), enter the hosts in the text area (h) and click OK.

Determining unwanted hosts

It is not always clear which hosts are important and which hosts are unwanted. StresStimulus can analyze your test case, and attempt to identify unwanted hosts.

Click the Select Unnecessary hosts button to select all hosts that StresStimulus deems unnecessary to the test case. Then you can follow the steps above to remove the requests to these hosts from the test case.


StresStimulus uses a heuristic algorithm to make its determination of what an unwanted host is. Check each host before deleting it.


This feature is only available for test cases that were recorded in v5.0.6000 or higher and using the browser.

  • No labels