Document toolboxDocument toolbox

Configuring Generic Headers for API Actions

In case the offline package contains any test case with API service related actions, you can manage header parameters required for the API services from the restgenericheaders.properties file. This file exists in the config folder of offline package engine.

Header parameters provided using the action REST.Request.SetHeaders in the test cases will override the parameters set in this file.

To configure restgenericheaders.properties file:

  1. Navigate to the Config folder of Qualitia offline Package.
  2. Open restgenericheaders.properties using any text editor.
  3. Add header parameters in Key=Value pairs.
  4. Save the changes and close the file.
    These parameters will be considered when executing API services in the test cases.