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:
- Navigate to the Config folder of Qualitia offline Package.
- Open restgenericheaders.properties using any text editor.
- Add header parameters in Key=Value pairs.
- Save the changes and close the file.
These parameters will be considered when executing API services in the test cases.