medium10 pts · first answer countsapi-testingrest-assured
Checking an API response
Which REST Assured check verifies the status code and that the first item's name in the JSON response is "Pen"?
given().when().get("/products")
.then()
// ?Discussion 0
Join free to post in the discussion.
Related questions
- API or UI testAutomation Test Engineer
- Status code for a created resourceAutomation Test Engineer
- Which method is idempotentAutomation Test Engineer
- Why validate a JSON schemaAutomation Test Engineer
- Reading a REST Assured testAutomation Test Engineer
- Tests fail after an hourAutomation Test Engineer
- 401 or 403Automation Test Engineer
- GraphQL error with status 200Automation Test Engineer