Load Testing · Middle · Question 46 of 76
Why is it hard to load test an asynchronous flow (API accepts, a worker processes later)?
- 1Async APIs always return 500 under load
- 2The HTTP reply is fast, but the real work happens later
- 3Async APIs can't be called from load testing tools at all
Show the answer
Correct answer: The HTTP reply is fast, but the real work happens later
Explanation
A 202 in 20 ms says nothing about processing time. Measure queue lag and time to completion, e.g. by polling or reading timestamps.