r/softwaretesting • • 22h ago

How do you avoid common load testing mistakes when scaling from hundrends to thousands of users?

We've preparing for a bigger release in January, and I'm reviewing our performance testing setup before we scale up. So far, we've been testing with a few hundred concurrent virtual users, but we need to work our way up to a few thousand. One thing I'm trying to account for is whether our load generators can keep up as we increase concurrency. I also want to make sure the results actually reflect how the application performa under load, rather than being affected by limitations in the test environment itself.

How do you usually approach this??

6 Upvotes

5 comments sorted by

1

u/DependentView4789 21h ago

Make sure your test data isn’t too repetitive. If every virtual user is hitting the same few records, your cache hit rates might look way better than they would with actual users. I’d also check whether your staging database has roughly the same data volume as production.

1

u/Junior_Bee7274 21h ago

Check connection limits and anything between your generators and the app, too. Firewalls, NAT gateways, and connection pools can become bottlenecks before the application servers do. If you rely on third-party APIs, make sure their response times aren't throwing off your results either.

1

u/Spirited_Garage_8476 20h ago

Definitely keep an eye on the load generators themselves. At higher concurrency, CPU, memory, or network limits on the machines running the tests can skew your results. If you don’t want to manage the load-generation infrastructure yourself, LoadView is one cloud-based option worth looking into. You can also distribute the load across more generators if you prefer to manage the setup yourself.

1

u/riyashrivel 16h ago

One thing I'd add is to ramp up in steps instead of jumping straight to a few thousand. Hold each step for a few minutes and watch where latency starts bending. Also check for coordinated omission, since a closed-model tool that waits on slow responses will quietly under-report how bad things get. An open arrival-rate model gives you more honest numbers when the server starts struggling.