API Testing · Junior · Question 43 of 75

What is a mock server in API testing?

Show the answer

Correct answer: A fake server that returns predefined responses

Explanation

Mocks let frontend and tests work before the real API exists, or simulate errors that are hard to trigger.

Further reading

Problem with a question

API Testing · Junior · question 43

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