Recall & Review
beginner
What is API testing?
API testing checks if the backend services work correctly by sending requests and verifying responses without using the user interface.
Click to reveal answer
beginner
Why does API testing focus on backend logic?
Because APIs connect the frontend to the backend, testing them ensures the server processes data and rules correctly before sending results back.
Click to reveal answer
beginner
How is API testing different from UI testing?
API testing checks the data and logic behind the scenes, while UI testing checks what the user sees and interacts with on the screen.
Click to reveal answer
intermediate
What kind of errors can API testing catch?
API testing can find errors like wrong data processing, security issues, incorrect responses, and failures in business rules on the server.
Click to reveal answer
beginner
Give a simple example of backend logic validated by API testing.
If an API calculates a discount, API testing checks if the discount is correct for different inputs without needing the website interface.
Click to reveal answer
What does API testing primarily validate?
✗ Incorrect
API testing checks the backend logic and data processing by sending requests and verifying responses.
Which of these is NOT a focus of API testing?
✗ Incorrect
Button color is part of UI testing, not API testing.
Why is API testing faster than UI testing?
✗ Incorrect
API testing sends requests directly to the backend, avoiding slower UI interactions.
Which problem can API testing detect?
✗ Incorrect
API testing can find errors in calculations done by backend logic.
What is a common tool used for API testing?
✗ Incorrect
Postman is a popular tool to send API requests and check responses.
Explain why API testing is important for validating backend logic.
Think about how data flows from user to server and back.
You got /4 concepts.
Describe the difference between API testing and UI testing.
Consider what each type of testing looks at and why.
You got /4 concepts.