Load Testing - Web Performance
Menu

Load Testing Blog

Avoid Contention For Resources

Unless you’ve specifically designed your load test to include them, the most accurate, consistent results will come from tests that do not compete for resources with other processes – particularly sporadic, uneven processes.
If the site’s peak traffic is at 2pm and the least traffic is at 2am, it may be tempting to run your load tests at 2a. Have you checked the backup schedule with the sysadmins? If your backups run at 2:30a, you could spend hours diagnosing strange performance anomalies that could not be reproduced in a second test at 4a. Sounds obvious, right? But it happens all the … Continue reading »

Running a good load test requires getting the right people involved

If you are testing in-house, then you will (hopefully) have the opportunity to run many tests. This gives you the opportunity to shake out your testing process ahead of time and to bring individuals in as needed to look at specific problems.
If, however, you are using an outside testing resource service or will be running one big test on a production system, then it is crucial to have the right people involved in the planning and execution of the test. This list includes:

Network administrators
System developers and/or integrators
Web- and app-server administrators
Database admins
Architects
Content Experts
3rd-party services, such as your hosting company

During the load … Continue reading »

Validate the Testcases

When a website is placed under heavy load, it can fail in a wide variety of ways. The site may become unresponsive or return an HTTP status code indicating an error (500). Or it might return a web page that is mostly complete (the headers, footers and navigation are all present) but is missing a critical part that was related to the failure.
If the load test scenarios (testcases) do not validate page content well enough to catch these problems, the results could be misleading. I.e. the system could be failing but the results indicate success. In the process of helping … Continue reading »

Test Only as Accurately as Needed

In previous posts, I’ve talked a lot about the dangers of not accurately simulating the real-world usage. But there is another side to this story: obsessing too much over an accurate simulation can be very costly. There is one very important thing to understand about load testing: No matter how hard we strive to make tests accurate, they are still only an estimate.
Your load test will never match even one single hour of production usage, not even once, no matter how hard you try. Bold statement? Perhaps. Consider this: even if you could capture the exact usage of real-world customers … Continue reading »

Identify and Test High-Risk Operations

As I described in my previous post on choosing test scenarios, the early tests should focus on the high-traffic scenarios. After testing and optimizing those, the next step is to identify and test the rarely-used but high-risk operations. These are operations that may have an impact on performance that is not proportional to their frequency. Even though these are not as common, they can have large impacts due to their system-wide nature and can cause sporadic performance drops during production hours that defy explanation.
Examples include:

Complex searches
Updates that touch many joined tables at once
Mass changes to data that affect many … Continue reading »

Design a Load Test that Measures What You Really Want to Know

When the first few testcases are ready, the next step is to put them together into a load test. How they are combined and executed will have a big impact on the accuracy of the test.
Testcase ratios – Make sure that each testcase is exercised in the correct ratio relative to the other testcases. For example, it is likely that many more people will be searching for products than buying them – the load configuration should reflect this ratio.
Page ratios – Re-visit the hit rate that will be exerted on each page based on the ratio of testcases and the … Continue reading »

Build Realistic Testcases

When you have identified the first group of scenarios to test, it is time to turn them into testcases, which is the term we use for the representation of the scenario in software. In it’s simplest form, a testcase is a list of pages to visit. In the simplest tools, it may simply be a list of URLs. With most tools, the testcase is a program generated by the tool and customized by the tester. More sophisticated tools, such as Load Tester, present the testcase visually.
The testcase represents not only the page … Continue reading »

Functional test suites do NOT make good load tests!

Functional test suites do NOT make good load tests! Functional test suites have an inherently different purpose than performance test suites. It is always tempting to take your suite of functional tests and use that as the basis for your load test. This is especially true if your testing tool supports both functional and load testing.
The purpose of functional testing is to determine if the site works correctly. As every good tester knows, this means testing the edge cases. What happens when the user does something unexpected? What if I complete the “How many children do you have?” field by … Continue reading »

Choosing the User Scenarios to Load Test

The first step in building a load test is to choose the scenarios to test – this is frequently harder than one might guess. When we ask customers which scenarios we should test first, a common answer is “test them all”. While this might yield the most accurate results, it is rarely practical for the allotted budget and schedule. There is great value in getting load test results sooner rather than later – so we recommend testing as early as possible and taking an iterative approach.
Start with the most common operations that users will … Continue reading »

Assume nothing. Test everything!

Just because you are paying for a 100MB connection does not mean that you will get that much. And if you don’t test it, you will not know until it is too late.
Just because your admins insist that your test environment is an “exact copy” of your production site does not mean that they are. And if you don’t test it, you will not know until it is too late.
Just because your web server was the bottleneck in the last test and you added another front-end server and put a load balancer in … Continue reading »

Resources

Copyright © 2025 Web Performance, Inc.

A Durham web design company

×

(1) 919-845-7601 9AM-5PM EST

Justin complete this form and we will get back to you as soon as possible with a quote. Please note: Technical support questions should be posted to our online support system.

About You
How Many Concurrent Users