Index Page

Saturday, 4 April 2020

About CRUD operation and how we can perform CRUD operation by API?

CRUD meaning:


C - Create - POST

R - Retrieve - GET

U - Update - PUT
D - Delete - Delete

In the last article, we have seen, how to create new TestSuite, TestCase, and TestStep. We have added one new employee by executing the POST API request.

Now we will execute a GET API call to fetch employee and employee details by following steps.

GET API Steps:

Step1:  To create GET TestStep within the TestCase right-click on the Test Steps > Add Step > SOAP Request.


Step2: Enter Valid TestStep name.


Step3: Select the GET request. Click on the Ok button.


Step4: Enter valid employee name and run the request.



DELETE API Steps:

For DELETE API, we will execute Step 1 to Step 3 but this time we will select DELETE request.

Step 5: Add the DELETE employee test step.




Step 6: Execute DELTE API.



Interview Questions from this Page:

1. What is the CRUD APIs?
2. What is the full form of CRUD APIs?


No comments:

Post a Comment