API Testing · Junior · Question 2 of 75

Why is API testing often done before UI testing?

Show the answer

Correct answer: The API is ready earlier and bugs there are cheaper to find

Explanation

Backend endpoints usually exist before screens. Testing them early finds logic and validation bugs while the UI is still being built.

Further reading

Problem with a question

API Testing · Junior · question 2

Test yourself

Take the API Testing · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz