LoadRunner – Runtime Settings – Download Filters

In LoadRunner, ‘Download Filters’ Runtime settings option helps you to restrict unwanted requests like third-party URL (call) coming from external servers. You can also add/restrict the requests/resources for which you do/don’t want to measure the response time. If you add the request then LR will calculate the resource download time (increase in total transaction response time) or if you restrict the request then LR will not download the resource and transaction response time will be calculated without restricted resources.

Note: This option is made for the special purpose of restricting the particular server calls or resources without changing in the script. Do not use this option to misguide the client, because in that case, you are not conducting a true performance test.

There are two options available under ‘Download Filters’:

1. Include only addresses in list

List out the site or host from which Vuser can download resources during test execution. If you included those site/host resources within a transaction then the relative transaction response time will be greater. 

2. Exclude only addresses in list

List out the site or host from which Vuser cannot download resources during test execution. If you excluded those site/host resources using this setting written in the transaction then relative transaction response time will be less.

LoadRunner - Runtime Settings - Download Filters
Figure 01: LoadRunner – Runtime Settings – Download Filters

Each option has two buttons:

  1. Add: To add the website/host to the list
  2. Remove: To remove the website/host from the list

There are 3 types of Download filters:

  1. URL (Uniform Resource Locator)
  2. Host
  3. HostSfx (Host Suffix)