What Your Company Should Consider When It Comes to Load Testing
June 13, 2016

Sven Hammar
Apica

Businesses use load testing to determine the maximum workload their software operations can handle and how their platform holds up during increased usage. Load testing analyzes the performance, reliability, and capacity of a software implementation on specific hardware, as well as gives companies the ability to identify problems that may arise.

Below are several questions businesses should consider as they prepare to conduct a load test.

What Should Your Company Do Before Getting Started on a Load Test?

Know your application. Development teams should establish performance goals (i.e., every web page should load in under four seconds), and test planners should carefully assess the application — knowing what parts are most often used, how many users visit the application at peak load times, what parts are critical, etc. All of this governs the magnitude of the test.

What Should Your Company Look for When Testing?

“Load curves” are the most valuable metrics when it comes to performance. These measurements examine the performance limit by evaluating response time, capacity, and stability of the web application.

Testing a website, for example, includes things such as measuring the average duration of a user session, the number of successful page calls per second, the percentage of page calls that fail, and the average response time to starting pages. These metrics will give your business the numbers it needs to identify how many users can access your application simultaneously before it encounters performance issues.

Another metric to be aware of is the “point of collapse.” This refers to the amount of work an application can perform before it becomes unresponsive.

Now That Your Company Has Completed a Load Test, What Should You Do?

User experience is extremely important to a business, so having insights to where user experience can be improved is invaluable. The test results will allow your company to look at areas where the application can be enhanced. Test results can assist developers in assessing stability problems, application overload issues, and any others concerns that may arise.

For example, test results that measure long response times could mean there are problems with the database connection pool and the database engine. If developers determine there are no issues with the database, the test implies that the application itself has programming inefficiencies that need to be addressed.

As Your Company Works Through Load Testing, Consider These Design Tips

■ Measure the performance curve based on simultaneous user loads by running the same test and increasing virtual users logarithmically to 50, 100, 500, 1000, 1500, 2000, and so on until you have surpassed the performance goal.

■ Make sure the load tests run a sufficient duration by allowing a minimum of 10 minutes for effective test duration. Calculate ramp-up time vs. load size and total length of the test.

■ Be prepared to break or pause the application during the test. Someone should be on hand to restart the application if it goes down.

■ Make sure the testing system itself does not get overloaded, as this will produce inaccurate tests. Monitor load server CPU.

■ Each virtual user needs its own login credentials for a test, as using the same account many times can produce errors not found in real-world situations.

■ Provide a minimal 100 Mbit/second connection between the testing server and the application server.

■ Work with the system administrator, database administrator, or application developer during the analysis stage for feedback and additional data sources, such as log files and CPU monitoring.

Remember that load testing is critical to any web or mobile application. In today’s fast-paced world, make sure your enterprise has the highest possible web performance.

Sven Hammar is Chief Strategy Officer and Founder of Apica

The Latest

October 18, 2018

Are applications teams prepared to manage the chaos arising from an ever-growing landscape of heterogeneous deployment types? A recent survey of application and operations professionals sought to better understand how the industry is shifting and what the future of DevOps might look like. Here is what the survey uncovered ...

October 16, 2018

More than half of organizations have a dedicated DevOps team to help them better implement agile strategies, accelerate release cycles and ensure continuous development. However, databases have a habit of holding DevOps back ...

October 15, 2018

Test Environment Management can save organizations close to $10,000 for each release, yet only four percent of large enterprises have fully integrated TEM processes into organizational DNA, according to the 2018 Test Environment Management Survey released by EMA and Plutora ...

October 11, 2018

Agile is indeed expanding across the enterprise and there was a significant jump from last year to this year in the percentage of respondents who indicated that all or almost all of their teams were agile, according to the State of Agile 2018 report from CollabNet ...

October 09, 2018

Adopting a modern application architecture is critical to business success and a significant driver of profit growth in today’s digital economy, according to the results of a global survey of IT and business executives released by CA Technologies and conducted by Frost & Sullivan ...

October 04, 2018

How do you integrate tools to enable shift-left performance? The following tools will simplify maintenance, can be managed in a centralized way, and provide an easy-to-use UI to comprehend results ...

October 03, 2018

Focusing at the API layer of an application can help enable a scalable testing practice that can be efficiently executed as part of an accelerated delivery process, and is a practice that can be adopted and enabled at the earliest possible stages of development — truly shifting left functional testing. But what about performance testing? How do we enable the shift left of nonfunctional testing? Here, we explore what this means and how to enable it in your organization ...

October 01, 2018

As businesses look to capitalize on the benefits offered by the cloud, we've seen the rise of the DevOps practice which, in common with the cloud, offers businesses the advantages of greater agility, speed, quality and efficiency. However, achieving this agility requires end-to-end visibility based on continuous monitoring of the developed applications as part of the software development life cycle ...

September 27, 2018

Imagine that you are tasked with architecting a mission-critical cloud application. Or migrating an on-premise app to the cloud. You may ask yourself, "how do the cloud savvy companies like Airbnb, Adobe, SalesForce, etc. build and manage their modern applications?" ...

September 26, 2018

In a DevOps evolution, there are many paths to success, but even more that lead to failure, according to the 2018 State of DevOps Report from Puppet ...

Share this