If all requests in the whole stress testing scenario require the same header, you can configure a global header.
Procedure
For example, when you perform stress testing on a page, you can create two stress testing scenarios to compare the performance of the page in the Chrome and Firefox browsers. You can also configure a global header in each stress testing scenario to identify the scenario to which each request belongs.
To configure a global header, perform the following steps on the Parameters page:
Log on to the PTS console, choose , and then click PTS.
On the PTS Scenario page, click Parameters in the lower part of the page.
In the Parameters panel, click the Global Header tab.
On the Global Header tab, configure the name and Value parameters. The following figure shows two sample values.
ImportantYou must specify a value for the Value parameter. A parameterized expression cannot be parsed.
In the name field, PTS displays common HTTP request headers returned by fuzzy matching based on the specified value. You can select the required header from the drop-down list.
Click Text Format in the upper-right corner of the Global Header tab to view the entered names and values. You can also write multiple headers at the same time in the Text Format field. Example:
explorer_identification : chrome Cookie : 123abc