0
0
Postmantesting~10 mins

Creating monitors in Postman - Interactive Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to create a new monitor with a name.

Postman
pm.monitor.create({ name: [1] });
Drag options to blanks, or click blank then click option'
ADaily API Check
Btrue
C12345
D"Daily API Check"
Attempts:
3 left
💡 Hint
Common Mistakes
Forgetting to put quotes around the monitor name.
Using a number or boolean instead of a string.
2fill in blank
medium

Complete the code to set the monitor schedule to run every hour.

Postman
pm.monitor.create({ schedule: { interval: [1] } });
Drag options to blanks, or click blank then click option'
A"hourly"
B"daily"
C"weekly"
D"monthly"
Attempts:
3 left
💡 Hint
Common Mistakes
Using an unsupported interval like "daily" when hourly is needed.
Not using quotes around the interval string.
3fill in blank
hard

Fix the error in the code to correctly create a monitor with a collection ID.

Postman
pm.monitor.create({ collectionId: [1] });
Drag options to blanks, or click blank then click option'
A123abc
Btrue
C"123abc"
Dnull
Attempts:
3 left
💡 Hint
Common Mistakes
Using the collection ID without quotes causing syntax errors.
Using boolean or null instead of a string.
4fill in blank
hard

Fill both blanks to create a monitor with a name and an environment ID.

Postman
pm.monitor.create({ name: [1], environmentId: [2] });
Drag options to blanks, or click blank then click option'
A"Nightly Test"
Btrue
C"env_456"
D123
Attempts:
3 left
💡 Hint
Common Mistakes
Using numbers or booleans instead of strings.
Forgetting quotes around either value.
5fill in blank
hard

Fill all three blanks to create a monitor with a name, schedule interval, and collection ID.

Postman
pm.monitor.create({ name: [1], schedule: { interval: [2] }, collectionId: [3] });
Drag options to blanks, or click blank then click option'
A"Weekly Monitor"
B"weekly"
C"col_789"
Dfalse
Attempts:
3 left
💡 Hint
Common Mistakes
Using booleans or unquoted values causing errors.
Mixing data types for these fields.