Challenge - 5 Problems
Postman Non-Functional Testing Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate2: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?
Attempts:
2 left
💡 Hint
Think about how Postman can automate and measure API responses.
✗ Incorrect
Postman supports scripting with JavaScript to automate API calls and capture response times, which helps in performance and some security testing.
🧠 Conceptual
intermediate2:00remaining
How does Postman help with security testing?
Which feature of Postman supports security testing of APIs?
Attempts:
2 left
💡 Hint
Consider how changing tokens or headers can test API security.
✗ Incorrect
By sending requests with various tokens or missing credentials, Postman helps verify if APIs enforce proper security rules.
❓ Predict Output
advanced2: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); });
Attempts:
2 left
💡 Hint
Look at the condition inside pm.expect and what it checks.
✗ Incorrect
The script checks if the response time is below 200ms and passes or fails accordingly.
❓ assertion
advanced2: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?
Attempts:
2 left
💡 Hint
Check how to get the length of an array in JavaScript and how Postman expects assertions.
✗ Incorrect
pm.response.json() returns the parsed JSON array; .to.have.lengthOf(5) correctly asserts its length.
❓ framework
expert3: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?
Attempts:
2 left
💡 Hint
Think about command-line tools that Postman provides for automation.
✗ Incorrect
Newman is Postman's command-line tool that runs collections and can be scripted in CI/CD pipelines for automated testing.