🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: REST Assured: all 10 questions

Quiz: REST Assured · Question 8 of 10

What does JSON schema validation check?

What does JSON schema validation check?

  1. A.Only the status code
  2. B.The shape of the whole response: required fields and their types
  3. C.The response time
  4. D.The database contents
Answer & explanation

Correct answer: The shape of the whole response: required fields and their types

It catches missing fields or wrong types in one assertion.

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 →