How do you decide how many concurrent users to simulate?
Answer
Do not guess a round number. Use production analytics, forecasts or business volumes together with session duration and transaction rates to estimate simultaneous activity, then cross-check the model against observed peak throughput. Concurrency is an input only when the workload model is user-based; for an open workload it can be more faithful to specify arrivals per second and let the required concurrency emerge from response time and iteration duration.
Strong answer includes
- uses production or business evidence instead of an arbitrary VU count
- connects concurrency to session duration and transaction rate
- distinguishes user-count and arrival-rate workload models
Practical example
For a service receiving a known peak number of completed sessions per minute, use session length and transaction frequency to estimate active users, then verify that the resulting script actually reproduces the expected endpoint rates.