QA Fundamentals · Middle · Question 37 of 75

Why test the API directly instead of only through the UI?

Show the answer

Correct answer: It's faster, more stable and reaches cases the UI can't

Explanation

Direct API tests can send invalid data the UI would block, check status codes and error bodies, and run in seconds. The UI can add its own validation and hide server bugs.

Further reading

Problem with a question

QA Fundamentals · Middle · question 37

Test yourself

Take the QA Fundamentals · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz