Performance testing and Load Testing - Are they same?
Load testing is actually a type of performance testing that focuses on analyzing the behavior of web application under a particular load test for a predefined amount time. Whereas performance testing not only includes determining application's performance metrics under a particular load but also determining application's upper limit of capacity(break point); ability of system to sustain normal workload for a large duration of time and studying effect of configuration changes on application's performance.
Wiki defines five forms of performance testing-
- Load testing - As discussed above
- Stress testing - For determining applications break point
- Endurance testing (soak testing) - To determine if the system can sustain the continuous expected load(running load test for a long duration like 24 hours, 2 days to check for issues like memory leakage)
- Spike testing - Understanding effect of suddenly increasing the number of users
- Configuration testing - Understanding configuration changes on application (N/w and H/w changes)
- Isolation testing - For fault isolation(running a particular test scenario that is causing problem)
This was all, in brief, about what performance testing mean and why it is required. Next posts will cover the topic - how actually performance testing of an application is planned and done and end to end of performance testing tool - JMeter.