</>

Technology

Postman

Difficulty

Advanced

Interview Question

What are Postman Monitors and how do they work?

Answer

Postman Monitors

Postman Monitors are scheduled, automated collection runs that check the health and performance of your APIs at regular intervals.

How They Work

  1. You define a collection with test scripts
  2. A Monitor is attached to that collection
  3. Postman runs the collection on a schedule (every 5 mins, hourly, daily, etc.)
  4. If any tests fail, Postman sends email alerts
  5. You can view history, response times, and trends in the Monitors dashboard

Setting Up a Monitor

  1. Click Monitors in the Postman sidebar
  2. Click +Create a Monitor
  3. Configure:
    • Collection to run
    • Environment to use
    • Frequency: 5 minutes / hourly / daily / weekly
    • Region: Select server location for testing
    • Email notifications: Get alerts on failure
  4. Click Create Monitor

Monitor Dashboard

View per-run results:

  • ✅ Pass rate per collection run
  • ⏱ Response times over time (trend graph)
  • 📧 Failure notification history
  • 🌍 Performance by region

Use Cases

API Health Monitoring

JavaScript
// Test that critical endpoints are UP
pm.test("API is healthy", function () {
    pm.response.to.have.status(200);
    pm.expect(pm.response.responseTime).to.be.below(2000);
});

SLA Monitoring

JavaScript
pm.test("Response time under SLA (1 second)", function () {
    pm.expect(pm.response.responseTime).to.be.below(1000);
});

Business Workflow Monitoring

Run a full login → search → checkout flow every 15 minutes to detect regressions.

Monitor Limits (Free Plan)

  • 1,000 monitoring calls/month
  • 5-minute minimum frequency

Pro Plan Benefits

  • More monitoring calls
  • Shorter intervals (every 1 minute)
  • Custom regions
  • Slack/PagerDuty integrations

Follow AutomateQA

Related Topics