API Testing · Middle · Question 65 of 75
Why log full requests and responses in failing API test reports?
- 1It's required for the tests to run in CI
- 2Logs make the API respond faster the next time
- 3Failures can be understood without rerunning the test
Show the answer
Correct answer: Failures can be understood without rerunning the test
Explanation
Mask tokens and personal data, but keep method, URL, headers and bodies so the cause is visible from the report.