Performance Testing,Load testing, Stress Testing

22. April 2019 Uncategorized 0

Performance Testing,Load testing, Stress Testing – These three terms are often misunderstood and wrongly interpreted as same concepts. But there are huge differences between these three types of software testing. Before looking into the differences, let us understand what each one suggests.

Performance Testing

What is Performance Testing?

Performance testing is the testing that is performed to ascertain how the components of a system are performing under a certain given situation.Resource usage, scalability, and reliability of the product are also validated under this testing. This testing is the subset of performance engineering, which is focused on addressing performance issues in the design and architecture of a software product.

Performance testing is the superset for both load & stress testing. Other types of testing included in performance testing are spike testing, volume testing, endurance testing, and scalability testing. Thus, performance testing is basically a very wide term.

Goal of Performance Testing:

The primary goal of performance testing includes establishing the benchmark behavior of the system. There are a number of industry-defined benchmarks which should be met during performance testing.

Performance testing does not aim to find defects in the application. It also does not pass or fail the test. Rather, it addresses the critical task of setting the benchmark and standard for an application. Performance testing should be done very accurately. Close monitoring of the application/system performance is the primary characteristic of performance testing.

The benchmark and standard of the application should be set in terms of attributes like speed, response time, throughput, resource usage, and stability. All these attributes are tested in a performance test.

Load Testing

What is Load Testing ?

Load testing is meant to test the system by constantly and steadily increasing the load on the system until it reaches the threshold limit. It is a subset of performance testing.Load testing can be easily done by employing any of the suitable automation tools available in the market. WAPT and LoadRunner are two such famous tools that aid in load testing. Load testing is also famous by names like volume testing and endurance testing.

However, volume testing mainly focuses on databases. Endurance testing tests the system by keeping it under a significant load for a sustained time period.

The sole purpose of load testing is to assign the system the largest job it can possibly handle to test the endurance of the system and monitor the results. An interesting fact here is that sometimes the system is fed with an empty task to determine the behavior of the system in the zero-load situation.

The attributes which are monitored in a load test include peak performance, server throughput, response time under various load levels (below the threshold of break), adequacy of H/W environment, how many user applications it can handle without affecting the performance.

Goal of Load Testing :

The goals of load testing include:

  • Exposing the defects in an application related to buffer overflow, memory leaks and mismanagement of memory. The issues that would eventually come out as a result of load testing may include load balancing problems, bandwidth issues, the capacity of the existing system, etc.
  • To determine the upper limit of all the components of an application like a database, hardware, network, etc. so that the application can manage the anticipated load in the future.
  • To set the SLAs for the application.

a load test done in the tool called JMeter. This test is done to identify how many users a system can handle. In this test, 100 users are added after every 30 seconds until the load reaches 1000 users. Each step takes 30 seconds to complete and JMeter waits for 30 seconds before kicking off the next step.

Once the load reaches 1000 threads, all of them will continue running for 300 seconds (5 mins) together and then finally stops 10 thread every 3 seconds.

Stress Testing

What is Stress Testing ?

Under stress testing, various activities to overload the existing resources with excess jobs are carried out in an attempt to break the system down. Negative testing, which includes removal of the components from the system is also done as a part of stress testing.

Also known as fatigue testing, this testing should capture the stability of an application by testing it beyond its bandwidth capacity.

Thus, basically, stress testing evaluates the behavior of an application beyond peak load and normal conditions.

The purpose of stress testing is to ascertain the failure of the system and to monitor how the system recovers back gracefully. The challenge here is to set up a controlled environment before launching the test so that you can precisely capture the behavior of the system repeatedly under the most unpredictable scenarios.

The issues that would eventually come out as a result of stress testing may include synchronization issues, memory leaks, race conditions, etc. If the stress test is checking how the system behaves in the situation of a sudden ramp up in the number of users, then it is called a spike test.

If the stress test is to check the system’s sustainability over a period of time through slow ramp up in the number of users, it is called as a soak test.

Goal of Stress Testing:

The goal of stress testing is to analyze post-crash reports to define the behavior of the application after failure.

The biggest challenge is to ensure that the system does not compromise the security of sensitive data after the failure. In a successful stress testing, the system will come back to normality along with all its components even after the most terrible breakdown.

The latest software testing training in Cochin is also teaching advanced methods to students that can help them to oversee the process of automation testing. If you are keen on developing a career as a software tester, it is important that you learn everything about the industry and its testing operations from a leading education center which gives the best software testing training in Kerala that can offer highly competent software performance testing lessons.

Software testing is an area where the job opportunities are endless. To know more about software testing and to get places in a career based on software testing,  think no more and join QC More, one of the best software testing institutes which provides the best software testing training in Kochi under the guidance of industrial experts and live projects!