Fast: Runs tests significantly faster than human users.
Repeatable: Testers can test how the website or software reacts after repeated execution of the same operation.
Reusable: Tests can be re-used on different versions of the software.
Reliable: Tests perform precisely the same operation each time they are run thereby eliminating human error.
Comprehensive: Testers can build test suites of tests that covers every feature in software software application.
Programmable: Testers can program sophisticated tests that bring hidden information.
Types of Performance Testing
Load Testing is type of performance testing to check system with constantly increasing the load on the system until the time load is reaches to its threshold value. Here Increasing load means increasing number of concurrent users, transactions & check the behavior of application under test. It is normally carried out underneath controlled environment in order to distinguish between two different systems. It is also called as “Endurance testing” and “Volume testing”. The main purpose of load testing is to monitor the response time and staying power of application when system is performing well under heavy load. Load testing comes under the Non Functional Testing & it is designed to test the non-functional requirements of a software application.
Load testing is perform to make sure that what amount of load can be withstand the application under test. The successfully executed load testing is only if the specified test cases are executed without any error in allocated time.
Simple examples of load testing:
Testing printer by sending large job.
Editing a very large document for testing of word processor
Continuously reading and writing data into hard disk.
Running multiple applications simultaneously on server.
Testing of mail server by accessing thousands of mailboxes
In case of zero-volume testing & system fed with zero load.
Stress Testing is performance testing type to check the stability of software when hardware resources are not sufficient like CPU, memory, disk space etc.
“To determine or validate an application’s behavior when it is pushed beyond normal or peak load conditions.”
Stress testing is Negative testing where we load the software with large number of concurrent users/processes which cannot be handled by the systems hardware resources. This testing is also known as Fatigue testing, this testing should capture the stability of the application by testing it beyond its bandwidth capacity.
The main idea behind stress testing is to determine the failure of system and to keep an eye on how the system gracefully get recover back, this quality is known as recoverability. Stress testing comes under the Non Functional Testing & it is designed to test the non-functional requirements of a software application. This testing is to be carried out under controlled environment before launch, so that we can accurately capture the system behavior under most erratic scenarios
Spike testing is subset of Stress Testing. A spike test is carried out to validate the performance characteristics when the system under test subjected to workload models and load volumes that repeatedly increase beyond anticipated production operations for short periods of time.
Endurance testing is a non functional type of testing. Endurance testing involves testing a system with a expected amount of load over a long period of time to find the behavior of system. Let’s take a example where system is designed to work for 3 hrs of time but same system endure for 6 hrs of time to check the staying power of system. Most commonly test cases are executed to check the behavior of system like memory leaks or system fails or random behavior. Sometimes endurance testing is also referred as Soak testing.
Scalability Testing is type of non-functional tests and it is the testing of a software application for determine its capability to scale up in terms of any of its non-functional capability like the user load supported, the number of transactions, the data volume etc. The main aim if this testing is to understand at what peak the system prevent more scaling.
Volume testing is non-functional testing which refers to testing a software application with a large amount of data to be processed to check the efficiency of the application. The main goal of this testing is to monitor the performance of application under varying database volumes.Type your paragraph here.
Benefits of Performance Testing
Determines the performance of system to major the measure, validate or verify quality attributes of the system like responsiveness, speed, scalability, and stability under variety of load conditions.
The goal of performance testing is not only find the bugs in the system but also eliminate the performance bottlenecks from the system.