Software performance testing in a broad sense refers to the testing process that requires the cooperation of the relevant performance testing methods to complete the system testing activities, including reliability testing, recoverability testing, stability testing, compatibility testing, scalability testing, and so on. testing, compatibility testing, scalability testing, etc.
Seven methods of performance testing:
1. Benchmarking
Benchmarking refers to the design of scientific testing methodology, testing tools and testing systems, to achieve a class of test objects of a certain indicator of quantitative and comparative testing.
2. Stress testing
Through the continuous pressure on the software system to identify the system performance inflection point, so as to obtain the maximum service provided by the system boundary testing activities, the main purpose is to check the system under pressure in the application performance.
3. Load testing
By continuously increasing the pressure in the system under test until the performance index limit is reached. The main purpose is to find the limit of the system's processing power in a given environment.
4. Concurrency testing
The main purpose of concurrency testing is to see if there are hidden concurrency problems, such as memory leaks, thread locks, and resource contention, when testing multiple users accessing the same application, module, or data concurrently, which is what almost all performance testing involves. The main purpose is not to get performance metrics, but to identify and cause problems.
5. Fatigue testing
By letting the software run for a long time under a certain amount of access to check how long the system performance will show a significant decline, the main purpose is to verify the reliability of the system operation.
6. Data Volume Test
By allowing the software to run under different data volume conditions, in order to test the performance of the system in various data volume conditions. The main purpose is to find the data volume permissions that support the normal operation of the system.
7. Configuration test
Configuration test is mainly for hardware, to understand the degree of impact of different environments on system performance, so as to find the optimal allocation of system resources. The main purpose is to understand the degree of impact of different factors on system performance, so as to determine the most worthwhile tuning operations.
Why study performance testing?
Relatively Low Threshold: Compared to automation testing, which is purely writing code, performance testing has a relatively low barrier to entry, and is the preferred entry point for most of our friends who are transitioning and upgrading.
Rapidly improve the knowledge system: excellent performance test engineers need to learn database, architecture, tools and other aspects of knowledge, can help you improve the overall knowledge system, enhance the overall competitiveness.
The market is big: performance test engineers are not yet saturated, in the development, opportunities and challenges co-exist, who can cut into the field in advance who will occupy a place, you know! (Purely functional testing will become more and more serious in the future crisis)