0
0
Postmantesting~20 mins

Why Postman supports non-functional testing - Challenge Your Understanding

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Postman Non-Functional Testing Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Why is Postman suitable for non-functional testing?
Which reason best explains why Postman can be used for non-functional testing like performance or security checks?
APostman is designed exclusively for UI testing, not API testing.
BPostman allows scripting to automate requests and measure response times, enabling performance testing.
CPostman only supports manual testing and cannot automate any tests.
DPostman cannot handle any form of testing beyond simple request sending.
Attempts:
2 left
💡 Hint
Think about how Postman can automate and measure API responses.
🧠 Conceptual
intermediate
2:00remaining
How does Postman help with security testing?
Which feature of Postman supports security testing of APIs?
APostman only tests UI elements, not security.
BPostman automatically scans code for vulnerabilities.
CPostman can send requests with different authentication tokens to test access control.
DPostman disables all security features during testing.
Attempts:
2 left
💡 Hint
Consider how changing tokens or headers can test API security.
Predict Output
advanced
2:00remaining
What is the output of this Postman test script?
Given the following Postman test script, what will be the test result shown in Postman?
Postman
pm.test('Response time is less than 200ms', function () {
    pm.expect(pm.response.responseTime).to.be.below(200);
});
ATest passes if response time is under 200 milliseconds, otherwise fails.
BTest always passes regardless of response time.
CTest throws a syntax error due to wrong function name.
DTest fails because responseTime is not a valid property.
Attempts:
2 left
💡 Hint
Look at the condition inside pm.expect and what it checks.
assertion
advanced
2:00remaining
Which assertion correctly checks JSON response size in Postman?
You want to assert that the JSON response array has exactly 5 items. Which Postman test assertion is correct?
Apm.test('Array length is 5', () => { pm.expect(pm.response.json().length).to.eql(5); });
Bpm.test('Array length is 5', () => { pm.expect(pm.response.json().size).to.eql(5); });
Cpm.test('Array length is 5', () => { pm.expect(pm.response.text().length).to.eql(5); });
Dpm.test('Array length is 5', () => { pm.expect(pm.response.json()).to.have.lengthOf(5); });
Attempts:
2 left
💡 Hint
Check how to get the length of an array in JavaScript and how Postman expects assertions.
framework
expert
3:00remaining
How can Postman be integrated into CI/CD pipelines for non-functional testing?
Which approach correctly describes integrating Postman collections into a CI/CD pipeline to automate non-functional tests?
AUse Newman CLI to run Postman collections in the pipeline and collect performance metrics.
BManually run Postman GUI tests during deployment only.
CPostman cannot be integrated into CI/CD pipelines.
DUse Postman to generate HTML reports but not run tests automatically.
Attempts:
2 left
💡 Hint
Think about command-line tools that Postman provides for automation.