API Testing · Junior · Question 33 of 75
What should you check in an API response besides the status code?
- 1Only the status code, as it covers everything else
- 2Body content, headers, response time and side effects
- 3Only the size of the response body in bytes
Show the answer
Correct answer: Body content, headers, response time and side effects
Explanation
A 200 with wrong data, a missing header or a slow response is still a bug. Also check that the database or other systems changed as expected.