What is Stability Testing?
Stability Testing is the ability of the product to continue to function, over time and over its full range of use, without failing or causing failure.
It is a Non-Functional Testing Technique, with the aim to stress the software component to the maximum. In process, determine how well it performs under loads at acceptable levels, peak loads, loads generated in spikes, with a large number of volumes data to be processed, etc.
Stability Testing is done to check the efficiency of a developed product beyond normal operational capacity, often to a breakpoint. There is greater significance is on error handling, software reliability, robustness and scalability of a product under heavy load rather than checking the system behavior under normal circumstances.
Stability testing is also referred to as a Load or endurance testing.
In this tutorial, you will learn-
What happens if a System under test has not undergone Stability Test?
For an application under test where a large number of users are introduced and applications that have to run for months without restarting, a number of problems are likely to occur:
Possible error can be faced,
- the system slows down
- the system encounters functionality problems
- the system shows wired behavior
- the system crashes altogether
Hence, Stability Testing typically involves exercising the system with heavy users (virtual) and measuring the performance parameters to verify whether the system can support the anticipated load.
This kind of testing helps users to understand the ways the system will work in real-life situations.
Hence, Stability Testing allows you to check,
- Provide confidence in the stability of your system under test.
- Ensure that your system can handle large programs.
- Monitor the effectiveness of your system.
- Test system stability under stress.
It plays an important role in product development as it is used to determine the limitations of a software product under test before it is released or the areas of more improvement before the product goes live or at Production.
A very common example of Stability testing technique is
Online Shopping Portals: Stability testing will check how the website will behave when -
- High Amount of data entered at peak time
- Number of hits at certain specific time
- Page load issue at the same time
- Behavior of system
- Responsiveness of the system and many more comes under Stability Testing
A CPU test is a popular form of stability test under Performance Testing technique. This test checks for processor stability and also monitors its performance as the processor's workload is increased.
- To determine the scope and objective for the testing, we must ensure that the Application Server(s) do not crash during the Load Test executions.
- To determine the Business issues, verify the system performance and load as per end user perspective.
- To assign the different Responsibilities and Roles like -Creating Test plan, Test Case design, Test case review, Test execution, etc.
- To ensure the Test deliverables within the specified time
- To ensure proper Load Testing tools and experience team is present for the same.
- To measure the risk and cost involves in the testing. This will determine the cost for each execution in terms of CPU utilization and memory.
- Determine the Defect tracking and reporting and there proper mapping with the requirements.
- To verify the Upper limit of the system.
- How system crashes or recovers.
- Total number of transactions completed per request.
- Whether or not transaction response stays steady or increases over time.
- How the system behaves under heavy load.
- Its response and behavior under heavy load.
Several statistics are gathered and measured during test executions; these numbers are analyzed in order to generate a report and to identify possible performance problems.
Examples of statistics collected under test are:
- Transaction Response Times: The average time taken to perform transactions during the test. This statistic will evaluate whether the performance of the server is within the acceptable minimum and maximum transaction performance time periods defined for the system.
This information will evaluate the time taken in processing the request by the web server and sent to the application server, which in most of the cases will make a request to database server.
- Hits Per Second: The number of hits made on the server by users. This statistics benefits to determine the amount of load users generate, with respect to a number of hits.
- Throughput: The amount of throughput on the Web server during the test which is measured in bytes. Throughput means the amount of data that the users received from the server at any given time. This statistic helps to evaluate the amount of load that users generate.
- Transaction per second: These are the total number of completed transactions (both successful and failed) performed during a test. This statistic helps to check the actual transaction load on the system.
- CPU: CPU percentage utilization spent during a test.
- Memory: Memory usage during a test.
- Disk: utilization of disk spaces spent during a test.
By the time, you can now easily identify that –
Stability Testing comes under Performance Testing –a technique that is performed to check some of the quality attributes of Software like stability, reliability, and availability.
This testing is used to determine how fast a system or sub-system performs under a particular workload.
Performance Testing has many types and stability testing is one of them.
- Stress testing: It is a testing type which checks the robustness of the system beyond the system capacity.
- Spike testing: It is used to check the behavior of a system by increasing the load of a system instantly. The objective is to check at which point the system will be having performance issues, or it will pass.
- Scalability testing: It is used to check the capabilities of a system. How effectiveness the system will going to behave in growing needs, change in size and change in volume.
- Volume testing: It is a non-functional testing technique where software under test is subjected to huge volume of data, and the behavior of a system is checked and verified accordingly.
- Load or Stability testing: (already discussed above)
Some of the tools for Performance Testing are as –
- Apache JMeter
- Performance Tester
- Testing Anywhere
Stability testing is a non-functional process of testing the behavior of the application by applying maximum load. It is performed to find out the scalability of the system under a given environment.
This article is contributed by Vaibhav Chitransh