How to use postman tool

Test supporters in postman

  • Requests: In Postman, we have many types of requests e.g. Get, Post, etc.                                 

Postman Tutorial

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:

                            Postman Tutorial

  • 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         

Postman Tutorial

Test Get Method

  • Create a new “Get” request and save into the respective collection:

                                        Postman Tutorial

  • 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.

                                        Postman Tutorial

Test Put Method

  • Create a new “Put” request and save into respective collection

                        Postman Tutorial

  • 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

                                  Postman Tutorial