Practice & Assessment
Test your understanding of Automation and Advanced Features
Multiple Choice Questions
6What is the execution order of scripts when a request inside a folder inside a collection runs?
Which Newman command runs a collection with a specific environment file?
How does a Postman mock server know what response to return for a request?
What is the purpose of using a CSV data file with the Collection Runner?
What Postman feature schedules automated collection runs and alerts you when tests fail?
Which JavaScript library is available in Postman scripts for hashing and encryption?
Mini Project
Automated API Monitoring Suite with Mock Server
Build a complete automated API monitoring setup. Part 1 — Mock Server: Create a 'Payment API' collection with the following request shells (no real backend): POST /payments/initiate, GET /payments/{id}/status, POST /payments/refund. For each, save two examples: a success response and an error response. Create a Postman mock server from this collection. Test that hitting the mock server URL returns your saved examples. Part 2 — Newman Automation: Create a real test collection against the JSONPlaceholder API with 10 requests across CRUD operations. All requests must have 3+ test assertions. Export the collection and run it with Newman generating a JUnit XML report. Part 3 — Monitoring: Set up a Postman Monitor on your JSONPlaceholder collection to run every hour. Verify the monitor dashboard shows run history. Document the monitor URL and screenshot the results.
