Interactive tutorial

API Testing with Postman: Requests and Assertions

Learn to send GET and POST requests, inspect API responses, and write automated assertions in Postman. Practice in your own Postman desktop app using a public echo API, then organize and run a two-request collection that checks status codes, headers, and JSON values. No previous API testing or JavaScript experience is required.

  • Level: Beginner
  • Duration: approx. 37 min
  • 9 steps
API Testing with Postman: Requests and Assertions

What you will go through

  1. Step 1 of 9 4 min Send Your First Request Send a GET request to Postman Echo and identify the resulting response components.
  2. Step 2 of 9 3 min Add Query Parameters and Read JSON Add GET query parameters and trace their typed values into the nested JSON response.
  3. Step 3 of 9 4 min Send a JSON Body with POST Send a JSON body to Postman Echo and verify the product and numeric quantity in its response.
  4. Step 4 of 9 4 min Save and Reuse Your Requests Save two requests in a collection, share their base URL, and verify that both still work.
  5. Step 5 of 9 5 min Write Status and Header Tests Write two named post-response tests and interpret their individual results.
  6. Step 6 of 9 5 min Assert Values Inside the JSON Response Parse echoed JSON and write type-sensitive assertions for both saved requests.
  7. Step 7 of 9 4 min Understand and Fix a Failing Test Create a controlled failure, use response evidence to repair it, and distinguish different kinds of problems.
  8. Step 8 of 9 4 min Run the Collection as a Test Suite Run the saved requests together and interpret both individual and aggregate test results.
  9. Step 9 of 9 5 min Apply and Review the Complete Workflow Revise a POST quantity assertion, run both saved requests, and explain the evidence and limits of the results.

Video Courses

Courses related to this topic

See all video courses

Download the App now to have access to + 5000 free courses, exercises, certificates and lots of content without paying anything!

  • 100% free online courses from start to finish

    Thousands of online courses in video, ebooks and audiobooks.

  • More than 60 thousand free exercises

    To test your knowledge during online courses

  • Valid free Digital Certificate with QR Code

    Generated directly from your cell phone's photo gallery and sent to your email

Cursa app on the ebook screen, the video course screen and the course exercises screen, plus the course completion certificate