01
How do you validate a JSON response in REST Assured?
Show answer
Use then().statusCode(200).body("data.id", equalTo(5)), or extract() the response and assert fields with JsonPath.
95 questions with answers. Hands-on questions where you write code, a query, a formula or concrete steps.
Talk while you work: say your approach first, write the simplest correct version, then improve it and mention edge cases.
Most technical rounds include at least one live task. Practising the exact typing and reasoning makes you calm and fast in the real round.
Talk while you work: say your approach first, write the simplest correct version, then improve it and mention edge cases.