Headers View

The Headers View displays HTTP start-line and headers for the request and response of the item currently selected in the Testcase Editor. The Headers View is opened by selecting Window->Show View->Headers from the main menu.

The title of the item being displayed is shown in the upper left portion of the Headers View. If any modifiers are present on the HTTP Request header fields, the icon for the field in the Modifier column is active.

  1. request-line and corresponding Edit button
  2. header name
  3. modifier column - an icon here indicates the header has a modifier configured
  4. header value

Editing the request-line (including URL parameters and path segments)

Pressing the Edit button (1) will open the Edit HTTP Request-line/URL dialog below, which allows editing of the entire request-line, including the URL path and query parameters.

 

  1. HTTP method - GET and POST are most commonly used. Be very careful when changing the method - changes might cause errors when replaying the testcase.
  2. HTTP Version
  3. Entire URL path and query - Changes here will be reflected in the tables below immediately.
  4. URL path elements - Each path element can be changed or configured with a modifier by selecting the element and using the fields at the bottom of the dialog.
  5. Query parameters - Each parameter can be changed or configured with a modifier by selecting the element and using the fields below. To rename a parameter, use the raw Path and Query field, above.
  6. Constant - Change the constant value for the selected item.
  7. Dataset value - Select a dataset and field for modification during a replay. A value from the dataset and field will be substituted for the existing value during the reply.
  8. User variable - Similar to the Dataset value, above. The named value is extracted from the Virtual User's local variable store. This feature is still under development.

Editing Header Values

Any of the Request or Response header values can be changed by double-clicking in the Value column and typing the new value. Request headers may also be edited using the modifier configuration (below).

Configuring Modifiers on Headers

Modifiers can be added, changed, or removed from HTTP request headers using the Edit HTTP header dialog, which is opened by double-clicking on the modifier icon. This dialog is similar to the Edit HTTP Request-line/URL dialog above - see the description for fields 6-8.

Editing Status-line

The status-line in the HTTP response may also be edited by clicking the Edit button: