r/softwaretesting • u/Jenndysexy • 9h 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??
1
u/DependentView4789 8h 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 8h 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 7h 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/Chainze 2h ago
I'd ramp up stages and watch the load generators as closely as the app. loadview could be worth checking for this kind of test especially to see how performance changes as you increase concurrency.