...
Login to GTP as Test Manager/ Engineer.
Create a project for API testing and select the project type as an API test.
Clicks on Tests from Side Menu.
Clicks on the Browser test tab and click the Add New Test button.
Enter the Test name and the description and click the Create Test button.
Click Rec button from Manage test page.
Click icon from the extension.
...
Select the Project from Project drop down Menu.
Go to Test Page, click on Add new Test Button.
Create a Test with appropriate Tag.
Click on Test Name.
Click on Record Button.
Click on + icon. Now select API request Button.
The API request window will be displayed.
Enter the Test name, Select the request method (GET, POST, PUT, PATCH, DELETE) from the Drop-down and enter desired endpoint URL against which the request is to be triggered. In addition, values for the Headers, Query Params & Body fields need to be entered.
After entering all inputs, click on Send Request button.
Now the user(s) can get a response for their API requests.
From the response we can Create the Variables, and also make Assertions.
Click on
...
Save Button.
...
User has added the API request.