Chapter 3

Response Validation — quiz

5 questions · ~4 min

Chapter 3 quiz

Question 1 of 5

You're testing a REST API where the POST /users endpoint returns a 201 status and the created user object. You want to extract the user's ID from the response and use it in a subsequent DELETE request. Which Rest Assured approach is correct?