Load Testing · Senior · Question 48 of 76

A downstream stub always answers in 5 ms. What is wrong with that?

Show the answer

Correct answer: Real dependencies have tails, so the stub hides waits and pool use

Explanation

Slow dependencies hold threads and connections. Give stubs a realistic latency distribution, including occasional slow replies.

Further reading

Problem with a question

Load Testing · Senior · question 48

Test yourself

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

Take this quiz