← Quiz: REST Assured: all 10 questions
Quiz: REST Assured · Question 1 of 10
In REST Assured, where do you put the request body and headers?
In REST Assured, where do you put the request body and headers?
- A.given()
- B.when()
- C.then()
- D.extract()
Answer & explanation
Correct answer: given()
when() sends the request; then() checks the response.
Can you get the rest right without peeking?
Take the timed Quiz: REST Assured quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →