Performance Testing Process :
We have discussed performance testing in detail in the previous article. Here it is an overview of the performance testing process.
Identification of Testing Environment
At first, you should have a clear understanding of your test environment and production environment. You should be aware of the available tools also. You should understand the hardware, software and network configurations which are supposed to be used in testing, well before the starting of the test.
Identification of Performance Acceptance Criteria
Here the testers should set the performance criteria and the goals. Project specification may not include all performance criteria and hence it is better to have a comparison with a similar project.
Plan and Design Performance Tests
Here you should determine the various uses by the end users and should identify the key scenarios of various tests. You should plan performance test data and determine what all are the metrics to be gathered.
Configuration of Test Environment
Arrange tools and other resources and configure the test environment before execution.
Implementation of Test Designs
In this stage should-should create performance tests as per the designs.
Running the Tests
Execution and monitoring of the tests will be done at this stage.
Analyzing, tuning and retesting
Analyzing the test reports will be the first step in this stage. Then retests will be started to find whether there are any improvements.
Performance Parameters Monitored
Following are the parameters monitored usually during performance testing.
- Processor usage
- Memory use
- Disk time
- Private Bytes
- Committed Memory
- Memory pages/second
- Page ault/second
- CPU interrupts/second
- Disc queue length
- Network output queue length
- Network bytes total /second
- Response time
- Amount of connection pooling
- Maximum active sessions
- Hit ratios
- Hits per second
- Rollback segment
- Database Locks
- Top waits
- Thread counts
- Garbage collection
Performance Test Tools
There are a good number of performance test tools are available in the market. One should make the selection of the tool depending on the license cost, type of protocol supported, hardware requirements, platform supported etc. Here are a few most widely used performance test tools.
- HP LoadRunner: – This is the most widely used performance test tool in the world today. It has the ability to stimulate thousands of users and to test applications under real-life load.
- LoadView Testing: – It can be used to test the infrastructure at any scale. It can be used to find performance bottlenecks also. Hundred percent cloud-based testing.
- HTTP Load: – It is a throughput testing tool to test web servers and to check how servers handle a workload.
- Proxy Sniffer: – This is one of the prominent tools used for load testing of web and application servers and it is a cloud based tool.