0
0
Postmantesting~20 mins

Creating monitors in Postman - Practice Exercises

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Postman Monitor Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
1:30remaining
Purpose of Postman Monitors

What is the primary purpose of creating a monitor in Postman?

ATo schedule automated runs of collections and receive reports on their results
BTo create mock servers for API simulation
CTo manually execute API requests one by one for debugging
DTo generate API documentation automatically
Attempts:
2 left
💡 Hint

Think about automation and regular checks.

Predict Output
intermediate
1:30remaining
Monitor Run Frequency Setting

Given the following monitor schedule setting in Postman, what is the frequency of the monitor runs?

{"schedule": {"interval": 2, "unit": "hours"}}
AThe monitor runs every 2 hours
BThe monitor runs every 2 days
CThe monitor runs once after 2 hours
DThe monitor runs every 2 minutes
Attempts:
2 left
💡 Hint

Look at the unit and interval values carefully.

assertion
advanced
2:00remaining
Valid Assertion in Monitor Test Script

Which assertion correctly checks that the response status code is 200 in a Postman monitor test script?

Postman
pm.test("Status code is 200", function () {
    // Assertion here
});
Apm.assert.status(200);
Bpm.response.status(200);
Cpm.expect(response.status).toBe(200);
Dpm.response.to.have.status(200);
Attempts:
2 left
💡 Hint

Check the Postman test scripting syntax for status code assertions.

🔧 Debug
advanced
2:00remaining
Debugging Monitor Failure Due to Environment Variable

A Postman monitor fails because it cannot find the environment variable api_key. Which is the most likely cause?

AThe monitor schedule is set to an invalid time
BThe API endpoint URL is incorrect
CThe environment variable <code>api_key</code> is not set or linked to the monitor
DThe collection has no tests defined
Attempts:
2 left
💡 Hint

Think about variable availability in monitors.

framework
expert
2:00remaining
Monitor Notification Configuration

Which notification option in Postman monitors will send alerts only when a test fails during a scheduled run?

ANotify on manual runs only
BNotify only on failure
CNotify only on success
DNotify on every run
Attempts:
2 left
💡 Hint

Consider when you want to be alerted to problems.