Performance testing | Load Testing | Stress Testing |
Superset of load and stress testing. | A subset of performance testing. | A subset of performance testing. |
Helps to set the benchmark and standards for the application. | To recognize the upper limit of the system, set SLA of the app and check how the system can handle a heavy load. | To check out how the system behaves under extreme loads and how it recovers from failure. |
The aim of performance testing is to get an indication of how an application behaves under regular parameters. | Generating increased load on a web application is the main aim of load testing. | Stress testing aims to ensure that under a sudden high load for a considerable duration the servers don't crash. |
Resource usage, availability, and reliability of the product are validated under this testing. | The attributes which are checked in a load test are peak performance, server quantity and response time. | This kind of testing checks stability response time, etc. |
In performance testing, Load limit is both below and above the threshold of a break. | In load testing load limit is a threshold of a break. | In stress testing load limit is above the threshold of a break. |
Example of performance testing are:
- Checking concurrent users, HTTP connections or checking Suitable response time.
|
Example of Load testing are:
- Test of a word processor by make change in the large volume of data, test a printer by transferring heavy data.
- Check mail server with thousands of concurrent users.
|
Example of Stress testing is:
- Casually shut down and restart ports of a large network.
|
Why Performance Testing?
- Validating that application performs properly
- Validating to conform the performance needs of the business
- Finding, analyzing and, fixing performance issues
- Validating the hardware adequate to handle the expected load.
- Doing capacity planning for future demand of the application
|
Why Load Testing?
- Find bugs which are not possible with any other testing method. Such as memory management memory leaks, bugs, buffer overflows, etc.
- To assure that application able to achieve the performance point recognized during performance testing.
- To determine the operating capacity of an application
- To check out that current infrastructure is sufficient to run the application or not.
- Numbers of concurrent users which an application can support, and scalability to allow more users to access it.
|
Why Stress Testing?
- It helps the testing unit to test the system in the situation of failures.
- To make sure that the system has saved the data before crashing or not.
- To check whether any unexpected failures do not harm the system security.
|