API Testing · Middle · Question 1 of 75
Why move API checks from Postman into code-based tests over time?
- 1Code-based tests never need any maintenance at all
- 2Postman can't send requests with JSON bodies or headers
- 3Code lives in Git with review, reuse and normal CI tooling
Show the answer
Correct answer: Code lives in Git with review, reuse and normal CI tooling
Explanation
Tests in the same repo as the service are reviewed with the code, share helpers and run like any test suite. Postman stays useful for exploration.