Tips for Load Testing Before Big Events

Noga Cohen

This edition of Software Confidential is by Noga Cohen, Senior Product Marketing Manager at CA Technologies. Noga manages the CA BlazeMeter blog and the JMeter Slack workspace. Her particular areas of focus are performance testing, DevOps and API testing.

Create Real-World Scenarios

First, calculate acceptable response times, load limits and error rates, aligned with your business goals. Configure your performance tests in line with these calculations. Then design test scenarios based on what you know about the behavior of your users. All this will help you to ensure you are testing for an optimal user experience in the real world.

Run Tests from Your Live Environment

If you want to catch real errors and bottlenecks, run your tests on your real environment. But to avoid disrupting valuable traffic, do so at your least busy time of the week. You should also have backup servers and locations in place. Not only will this reduce the risk of testing from the live environment, it is always a valuable precaution against power outages and other emergency situations.

Bring Your System to Failure

When running your load tests, slowly ramp-up the number of users until you achieve your target number. But don’t stop there. Take your system to the limit and purposely make it crash. This can help you identify system bottlenecks and errors you might not discover otherwise. By knowing your system’s limits, you will know how to act and recover if your website or app receives unanticipated traffic.

By Noga Cohen | 25 Apr 2018
How to Ensure Your Website or App Won't Fail at Peak Times >