API Testing · Junior · Question 1 of 75
What is API testing?
- 1Checking the source code style of the backend for mistakes
- 2Checking that the user interface looks the same in every browser
- 3Checking an application's interface for programs directly, without the UI
Show the answer
Correct answer: Checking an application's interface for programs directly, without the UI
Explanation
API tests send requests to endpoints and verify status codes, bodies, headers and side effects. They're faster and more stable than UI tests and reach cases the UI hides.