Adding Request Parameters to the Specific Request Name

Modified on Mon, 12 Aug at 12:56 PM

TABLE OF CONTENTS

1. Overview

2. Adding Parameters

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: 

  1. Navigate to the Main Canvas. 
  2. Search for the required API Test Automation project in Project Explorer pane. 
  3. Select the specific Request Name in the left pane  and select the 'Params' tab. 
  4. In this tab, add the required key and values, as shown:

  5. Feature File generated will be as follows:

  6. Select "Setting" option from the side panel to view the Project Settings page. In this page, select 'Data Decoupling' option to generate a separate YAML file, as shown:
  7.  Separate YML file will be generated in the Test Cases folder, as shown:


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article