Global Header
To apply the same header to all requests in a stress testing scenario, configure a global header.
Configure a global header
For example, to test how a webpage performs differently in Chrome and Firefox, you can create two separate stress testing scenarios. In each scenario, you can configure a global header to identify the source scenario for each request.
To configure a global header, follow these steps on the parameter list page.
- Log on to the PTS console. In the navigation pane on the left, choose performance testing > Create Scenario, and then click PTS stress test.
-
On the Create PTS scene page, click parameter list at the bottom of the page.
-
In the panel that appears, click the global header tab.
-
Configure the Name and Value for the global header. Example:
ImportantA global header's value must be a literal. Parameterized expressions are not supported.
-
While you type in the name field, the system suggests matching common HTTP request headers for quick selection.
-
Click text edit in the upper-right corner of the global header tab to switch to text editing mode. In this mode, you can also add multiple headers in bulk. Example:
explorer_identification : chrome Cookie : 123abc
-