TABLE OF CONTENTS
1. Overview
In API test automation, the "key" and "value" refer to the components of key-value pairs used in various contexts, such as in HTTP headers and request parameters.
Key: Represents the name of the parameter.
Value: Represents the data or value associated with the parameter.
Example: In a URL, such as https://api.example.com/users?age=25, age is the key and 25 is the value.
2. Adding Parameters
Perform the following:
- Search for the required API Test Automation project from Projects.
- Select the specific and select the 'Params' tab.
- In this tab, add the required key and values.
- Feature File generated can be accessed.
- Select Settings>>Feature File Settings. In this page, select 'Data Decoupling' option and update to generate a separate YAML file.
- Separate YML file will be generated in the Test Cases tab.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article