In GTP, the user(s) can implement API testing with/without interacting with the UI/AUT.
Login as Test Manager/ Engineer.
Create a Project for API testing & select the project type as an API test.
Clicks on Tests from Side Menu
Clicks on the API Tests tab & click the Add New Test button.
Enter the Test name and the description & click the Create Test button.
In the Manage test page, click the 'Create API Test' button & start creating the API Test.
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 the Save button and view the created API Test on the Manage Test page.