How do you simulate realistic user traffic in load testing?
retained text
We are looking to overhaul our load testing, since our current script only slams 10k users in 60 seconds and gives us garbage data. It exhausts connection pools and creates artificial bottlenecks that would not show under any kind of normal use case. Real users ramp up slowly, and idle on pages, and don't jump from one to another without a second thought, they do not fire off database transactions with zero pause. We should be reflecting real behavior, not inducing cold start failures. Has anyone modeled this at scale? Should we make the step curves with warm up times to let caches and other systems warm up before hitting the expected load? We want to reflect real user behaviour, not just trigger cold start failures.
document fetched 2026-10-22 00:26 · canonical https://reddit.com/r/devops/comments/1xblst1/how_do_you_simulate_realistic_user_traffic_in