Practice - 5 Tasks
Answer the questions below
1fill in blank
easyComplete the code to set the monitor schedule interval to 5 minutes.
Postman
pm.monitor.schedule = [1]; Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using a number without quotes causes an error.
Using incorrect time units like 'min' or words like 'five' is invalid.
✗ Incorrect
The schedule interval must be a string with a number followed by 'm' for minutes, so "5m" is correct.
2fill in blank
mediumComplete the code to enable the monitor to run only on weekdays.
Postman
pm.monitor.schedule.days = [1]; Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using abbreviations like 'Sat' or 'Sun' instead of full names.
Including weekend days by mistake.
✗ Incorrect
To run the monitor only on weekdays, list all weekdays fully spelled out in an array.
3fill in blank
hardFix the error in the code to set the monitor to run at 9 AM daily.
Postman
pm.monitor.schedule.time = [1]; Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using just '9' as a number instead of a string.
Using '09:00' without seconds causes errors.
✗ Incorrect
The correct time format includes hours, minutes, and seconds as "HH:MM:SS", so "09:00:00" is correct.
4fill in blank
hardFill both blanks to configure the monitor to run every 10 minutes only on weekends.
Postman
pm.monitor.schedule = { interval: [1], days: [2] }; Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using incorrect day names or abbreviations.
Using '10min' instead of '10m' for interval.
✗ Incorrect
The interval must be "10m" for 10 minutes, and days must be the weekend days in full names.
5fill in blank
hardFill all three blanks to create a monitor schedule that runs every hour at 15 minutes past the hour on weekdays.
Postman
pm.monitor.schedule = { interval: [1], time: [2], days: [3] }; Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using '15m' as time instead of '00:15:00'.
Using abbreviations for days.
✗ Incorrect
Interval is "1h" for hourly, time is "00:15:00" for 15 minutes past, and days are weekdays fully named.