API Testing · Junior · Question 43 of 75
What is a mock server in API testing?
- 1A real server that has been copied to staging
- 2A tool that measures how fast a server is
- 3A fake server that returns predefined responses
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.