Course Process
How to use postman tool
Test supporters in postman
- Requests: In Postman, we have many types of requests e.g. Get, Post, etc.
Here in this course, we will go through the below-mentioned requests:
-
- Post: Add new data
- Get: Get existing data
- Put: Replace existing data
- Delete: Delete exiting data
- Parameters
- Authorization
- Headers
- Body
- Pre-request Script
- Tests
Test Post method
- Create a new “Post” request and save into the respective collection:
- Select the “Post” option form the request dropdown and click on save beside send button. Now, Provide the test URL for post method and click on Send.
- Once the post request is succeeded, we will find status code “201 Created” and response details in body section
Test Get Method
- Create a new “Get” request and save into the respective collection:
- Select the “Get” option form the request dropdown and click on save beside send button. Now, Provide the test URL and click on send. Check the response in “Body” area. We will find Status code 200 OK and response data in body area.
Test Put Method
- Create a new “Put” request and save into respective collection
- Select the “Put” option form the request dropdown and click on save beside the send button. Now, Provide the test URL and click on the send button. Once the response is succeeded and we will find the status code “200 OK” and details in the body section