Complete the code to set the monitor region to Europe in Postman.
pm.monitor.setRegion('[1]');
The correct region code for Europe in Postman monitors is eu-west-1.
Complete the code to retrieve the current monitor region in Postman.
const currentRegion = pm.monitor.[1]();The method to get the current monitor region is getRegion().
Fix the error in the code to correctly set the monitor region to Asia Pacific.
pm.monitor.[1]('ap-southeast-1');
The correct method to set the region is setRegion. Other options do not exist or are incorrect.
Fill both blanks to create a monitor that runs in US East and Europe regions.
const regions = ['[1]', '[2]']; pm.monitor.setRegions(regions);
The US East region code is us-east-1 and Europe is eu-west-1. These are the correct codes to run monitors in those regions.
Fill all three blanks to filter monitors running only in Asia Pacific regions.
const asiaRegions = monitors.filter(monitor => monitor.region === '[1]' || monitor.region === '[2]' || monitor.region === '[3]');
The Asia Pacific regions include ap-southeast-1, ap-northeast-1, and ap-south-1. These codes filter monitors in Asia.