0
0
Postmantesting~10 mins

Monitor regions in Postman - Interactive Code Practice

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

Complete the code to set the monitor region to Europe in Postman.

Postman
pm.monitor.setRegion('[1]');
Drag options to blanks, or click blank then click option'
Aus-east-1
Bus-west-2
Cap-southeast-1
Deu-west-1
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing a US or Asia region code instead of Europe.
2fill in blank
medium

Complete the code to retrieve the current monitor region in Postman.

Postman
const currentRegion = pm.monitor.[1]();
Drag options to blanks, or click blank then click option'
AretrieveRegion
BgetRegion
CfetchRegion
DsetRegion
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'setRegion' which is for setting, not getting.
3fill in blank
hard

Fix the error in the code to correctly set the monitor region to Asia Pacific.

Postman
pm.monitor.[1]('ap-southeast-1');
Drag options to blanks, or click blank then click option'
AsetRegion
BgetRegion
CupdateRegion
DchangeRegion
Attempts:
3 left
💡 Hint
Common Mistakes
Using non-existent methods like 'updateRegion' or 'changeRegion'.
4fill in blank
hard

Fill both blanks to create a monitor that runs in US East and Europe regions.

Postman
const regions = ['[1]', '[2]'];
pm.monitor.setRegions(regions);
Drag options to blanks, or click blank then click option'
Aus-east-1
Beu-west-1
Cap-northeast-1
Dus-west-1
Attempts:
3 left
💡 Hint
Common Mistakes
Using Asia or US West region codes instead of US East or Europe.
5fill in blank
hard

Fill all three blanks to filter monitors running only in Asia Pacific regions.

Postman
const asiaRegions = monitors.filter(monitor => monitor.region === '[1]' || monitor.region === '[2]' || monitor.region === '[3]');
Drag options to blanks, or click blank then click option'
Aap-southeast-1
Bap-northeast-1
Cap-south-1
Deu-central-1
Attempts:
3 left
💡 Hint
Common Mistakes
Including European region codes like 'eu-central-1'.