0
0
Postmantesting~20 mins

Postman installation and interface - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Postman Mastery Badge
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding Postman Installation Requirements

Which of the following is NOT a system requirement for installing Postman on a Windows machine?

AAn active internet connection during installation
BWindows 10 or later operating system
CAt least 4 GB of RAM
DA 64-bit processor architecture
Attempts:
2 left
💡 Hint

Think about whether Postman needs internet to install or just to update or sync.

locator
intermediate
2:00remaining
Identifying Postman Interface Elements

In the Postman interface, where would you find the area to write and send HTTP requests?

AThe Request Builder tab in the center pane
BThe Sidebar panel on the left
CThe Console panel at the bottom
DThe Settings menu accessed from the top right
Attempts:
2 left
💡 Hint

Think about where you type the URL and choose request methods.

Predict Output
advanced
2:00remaining
Postman Environment Variable Usage

Given an environment variable baseUrl set to https://api.example.com, what will be the full request URL if you enter {{baseUrl}}/users in the request URL field?

Ahttps://api.example.com{{baseUrl}}/users
B{{baseUrl}}/users
Chttps://api.example.com/users
Dhttps://api.example.com/users/users
Attempts:
2 left
💡 Hint

Remember how Postman replaces variables inside double curly braces.

assertion
advanced
2:00remaining
Validating Response Status Code in Postman Tests

Which of the following Postman test scripts correctly asserts that the response status code is 200?

Postman
pm.test("Status code is 200", function () {
    pm.response.to.have.status(200);
});
Apm.test("Status code is 200", function () { pm.response.to.be.status(200); });
Bpm.test("Status code is 200", () => pm.response.status === 200);
Cpm.test("Status code is 200", function () { pm.response.statusCode(200); });
Dpm.test("Status code is 200", function () { pm.response.to.have.status(200); });
Attempts:
2 left
💡 Hint

Check the correct Postman assertion syntax for status code.

framework
expert
2:00remaining
Automating Postman Collection Runs with Newman CLI

You want to run a Postman collection named MyCollection.json from the command line using Newman. Which command will run the collection and save the report in HTML format to report.html?

Anewman run MyCollection.json --reporter html --export report.html
Bnewman run MyCollection.json -r html --reporter-html-export report.html
Cnewman run MyCollection.json -r html --export-html report.html
Dnewman run MyCollection.json --reporter-html report.html
Attempts:
2 left
💡 Hint

Look for the correct Newman reporter flag and export option.