Verify API health using Postman monitoring
Preconditions (3)
Step 1: Open Postman and select the API collection
Step 2: Create a monitor for the collection with a schedule (e.g., every 5 minutes)
Step 3: Configure the monitor to run the API request
Step 4: Add test scripts in the request to check response status code is 200
Step 5: Add test scripts to verify response body contains expected keys
Step 6: Save and run the monitor manually once
Step 7: Check the monitor run results for pass/fail status
Step 8: Verify that failures are reported in the monitor dashboard
✅ Expected Result: The monitor runs the API request successfully, all assertions pass, and the monitor dashboard shows the API is healthy. Failures are reported if the API is down or returns unexpected data.