Lesson 10 of 10 15 min +175 XP
🧠 Quiz: API Testing Mastery
Answer all questions to complete the quiz and earn 175 XP.
1
Which HTTP method should you use to add a new product to the catalog?
2
What status code indicates a successful resource creation?
3
What's the difference between PUT and PATCH?
4
In Postman, how do you reference an environment variable in a request URL?
5
What does pm.response.responseTime check in a test?
6
Which tab in Postman do you use to send JSON data with a POST request?
7
What's wrong with this JSON? { 'productName': 'Laptop', 'price': 999 }
8
How do you save a value from a response to use in subsequent requests?
9
What status code should you expect when requesting a product that doesn't exist?
10
In a CI/CD pipeline, which tool runs Postman collections from the command line?
11
What is the correct way to chain requests in Collection Runner?
12
What does this test verify? pm.expect(products).to.be.an('array'); pm.expect(products.length).to.be.above(0);
correct