Skip to content
Module
Module 3 of 6Lesson 2 of 2~16 min

Turning your requests into a tested collection

A handful of one-off requests proves little, while a tested collection becomes a shared reference. This lesson teaches you to check responses automatically, chain calls that depend on each other and cover failure cases. You can then replay the whole scenario in one click.

Lesson objective

By the end of this lesson, you will be able to add tests to your requests, reuse a value from a response in the next request, organize a collection that also covers failure cases and replay it in one click.

Topics covered

  • API testing
  • Postman collection
  • variables
  • failure scenarios

Where it fits

Testing an API yourself

How can I check an API's real behavior myself, without writing code?

Lessons in this module

  1. Sending your first requests in Postman or Bruno
  2. Turning your requests into a tested collection (this lesson)

What you will learn in this module

This lesson is part of the course Design and test an API integration as a PM

  • Send, save and test requests in Postman or Bruno (collection, environments, variables, assertions) to check an API's real behavior.
  • Interpret status codes and error responses, and decide the product behavior (fix, retry, alert, inform the user).