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

August 15, 2018

Microservices are a hot topic in IT circles these days. The idea of a modular approach to system building – where you have numerous, smaller software services that talk to each other instead of monolithic components – has many benefits ...

August 13, 2018

Agile is expanding within the enterprise. Agile adoption is growing within organizations, both more broadly and deeply, according to the 12th annual State of Agile report from CollabNet VersionOne. A higher percentage of respondents this year report that "all or almost all" of their teams are agile, and that agile principles and practices are being adopted at higher levels in the organization ...

August 09, 2018

For the past 13 years, the Ponemon Institute has examined the cost associated with data breaches of less than 100,000 records, finding that the costs have steadily risen over the course of the study. The average cost of a data breach was $3.86 million in the 2018 study, compared to $3.50 million in 2014 – representing nearly 10 percent net increase over the past 5 years of the study ...

August 08, 2018

Hidden costs in data breaches – such as lost business, negative impact on reputation and employee time spent on recovery – are difficult and expensive to manage, according to the 2018 Cost of a Data Breach Study, sponsored by IBM Security and conducted by Ponemon Institute. The study found that the average cost of a data breach globally is $3.86 million ...

August 06, 2018

The previous chapter in this WhiteHat Security series discussed dependencies as the second step of the Twelve-Factor App. This next chapter examines the security component of step three of the Twelve-Factor methodology — storing configurations within the environment.

August 02, 2018

Results from new Forrester Consulting research reveal the 20 most important Agile and DevOps quality metrics that separate DevOps/Agile experts from their less advanced peers ...

July 31, 2018

Even organizations that understand the importance of cybersecurity in theory often stumble when it comes to marrying security initiatives with their development and operations processes. Most businesses agree that everyone should be responsible for security, but this principle is not being upheld on a day-to-day basis in many organizations. That’s bad news for everyone. Here are some best practices for implementing SecOps ...

July 30, 2018

While the technologies, processes, and cultural shifts of DevOps have improved the ability of software teams to deliver reliable work rapidly and effectively, security has not been a focal point in the transformation of cloud IT infrastructure. SecOps is a methodology that seeks to address this by operationalizing and hardening security throughout the software lifecycle ...

July 26, 2018

Organizations are shifting away from traditional, monolithic architectures, with three-quarters of survey respondents delivering at least some of their applications and more than one-third delivering most of their applications as microservices, according to the State of DevOps Observability Report from Scalyr ...

July 24, 2018

What top considerations must companies make to ensure – or at least help improve – Agile at scale? The following are key techniques and practices to help accelerate Agile delivery rollouts and scale Agile and DevOps in the Enterprise ...

Share this