API Testing · Middle · Question 68 of 75
Why test timeouts on the client side of an API integration?
- 1Timeouts make every single request run faster
- 2A hanging dependency shouldn't block users forever
- 3Servers ignore client timeouts anyway
Show the answer
Correct answer: A hanging dependency shouldn't block users forever
Explanation
Without timeouts, one slow partner can exhaust connection pools. Tests with delayed stubs check limits and messages.