Module 2 of 5 in API Testing
Go beyond basic tests with Agent Mode. You rebuild a Movies API test suite, then add tests for errors and bad input, chain requests with variables, set a response-time budget, and run the whole suite. No earlier module needed.
- You'll build
- A Movies API test suite covering errors, chained requests, and response time, run with the Collection Runner.
- Time
- About 30 min · 4 parts · 8 steps · progress saves as you go
- How it works
- You do each step, then click Validate and LiftOff checks your work. 2 of the 8 steps can't be checked automatically, so you click Done for those.
- You'll need
- A free Postman account and API key (connect it below)
- A few setup steps, shown below before you start
Connect a Postman API key to check your work
You do each step in Postman, then LiftOff uses your key to look at your workspace and confirm it's done. Connect once and it works for every module. Your key is saved in this browser and is only used to check your work in Postman.
Before you start
You'll need the Postman desktop or web app and a free Postman account. Everything runs against the public Movies API — no API key or authentication required.
This module is self-contained — it rebuilds the workspace and collection from scratch — but it pairs well after API Testing Fundamentals, which introduces the assertions you'll build on here.
Set Up Your Test Suite
This module stands on its own, so you'll rebuild the workspace and collection here — and have Agent Mode add a baseline of tests in one go, so the advanced work in later parts has a real suite to build on.
Test the Unhappy Path
How an API fails is part of its contract too. These tests describe the behavior you'd demand from a production API. You'll keep them in their own Unhappy Path folder, so your suite cleanly separates the requests that should succeed from the ones that should fail.
Test Workflows, Not Just Requests
Real usage is a sequence — create a resource, get an id, then use it. These tests exercise the API the way it's actually used.
Run It Like You Mean It
Individual green checkmarks are reassuring. A suite you can run all at once, repeatably, is what makes an API trustworthy.