Top Ten Load Testing Tips


Tip 1 - Decide exactly why you want to test

Clearly define what value you expect from the load test. What question(s) are you trying to answer (see examples below)? Agree what level of success you need and this will define when you stop testing or making improvements. Make these relevant to your business.
See more.


Tip 2 - Give yourself time

Load testing doesn’t have to take ages. But you’ll get far more value from it if you give yourself time to plan, execute and complete corrective work. The three phases of a load testing project – before, during and after testing – each need a lot of thought and planning.

The rest of this guide expands on these phases.

 


Tip 3 - Involve the right people: in-house and suppliers

Your testing should provide detailed information about the performance of your infrastructure, content and network. Without this information you won’t have a complete view of performance. Do the people responsible for the testing have access to teams covering these areas? If the right people aren’t available, you won’t get the complete picture.
See more.


Tip 4 - Be brave! Load test your live website if you can

Remember the value of the load test! If you load test a site that isn’t representative of live, will the results be meaningful? Testing your live website provides the ultimate assurance that it will perform under load. Make sure you understand the impacts of testing on a live site. Will you place orders as part of the test? Can you test your payment gateway? Will real users be affected in any way?
See more.


Tip 5 - Test what’s critical to your customers and your business

Leverage your analytics and highlight the most popular or business critical feature of your site. Ensure you understand what people are going to be doing on your site. Decide which user journeys touch on all parts of your system or infrastructure; how can you be sure that every aspect is tested? Time spent here designing your load test is invaluable.
See more.


Tip 6 - Get smart! Use various inputs when setting load levels

Understand how many page impressions you get at peak time and what you might expect in the future (your web analytics can help you here). What input data do you need to simulate usage (think user logins, search terms, credit card payment details and so on)?
See more.


Tip 7 - Understand your errors – don’t ignore them!

It sounds like such an obvious point, but it’s often not followed. Don’t just tick a box to say you’ve load tested! Dig into the errors to see where the weaknesses lie. You may need to understand performance in the future when usage patterns change. Understand what your errors are telling you as they’ll give you more understanding about your site.
See more.


Tip 8 - Use iterative testing techniques: test, improve, re-test, etc.

Load testing always highlights vulnerabilities! It’s rare that you’ll only need one quick test and you will pass first time. Test to find your system’s weak points, and then look to make improvements there and then. Re-test to ensure you have increased performance as you expected and then repeat the process. Iterative testing leads to more rapid improvement.
See more.


Tip 9 - You’re not quite done yet. Design your ongoing testing regime

Understanding when to load test will allow you to plan for the future. As you know from earlier tips, planning is the key to success. Think about what changes ahead may need to be tested or re-tested (more examples below). Make sure you consider load testing each time you do a significant release.
See more.


Tip 10 - Not just for Christmas…

OK, so we could only think of 9 tips. But the fact is that if you have followed the other nine, you not only get more from your load testing, you will also be way ahead of most of your competitors.
See more.