Module 3 of 5 in API Testing
Run your API tests automatically on a schedule. You build a small health-check collection for a coffee API, attach it to a Postman Monitor with an environment and alerts, then run it and read the results.
- You'll build
- A scheduled Postman Monitor that checks a coffee API and alerts you when it fails.
- Time
- About 25 min · 3 parts · 7 steps · progress saves as you go
- How it works
- You do each step in Postman, then click Validate. LiftOff checks your workspace and marks the step complete.
- You'll need
- A free Postman account and API key (connect it below)
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.
Prepare a collection worth monitoring
A monitor doesn't invent its own checks — it runs a collection you already have. Before you can monitor anything, you need a collection whose requests carry real assertions, plus an environment to hold the base URL. This part builds that foundation.
Create and configure your monitor
With a collection and an environment in place, you can hand them to a monitor. Postman then owns the running of it — on a schedule, from its own infrastructure, whether or not your laptop is open. The New monitor form sets it all up in one screen; after that you'll tune a single advanced setting.
Run the monitor and read the results
Configuration done — now prove it works. You'll trigger a run on demand rather than waiting for the schedule, then read the run results the same way you would when investigating a real incident.