Commonly used performance testing strategy

Performance testing common strategies are:

1, the benchmark

Single-user tests need to open the console, obtain Analysis results ()

2, concurrent test

Multi-user to do the same thing at the same time or perform the same operation for the same business (LR accurate to the millisecond), general test than the number of concurrent number and the maximum number of online as (1:10)

Concurrent testing is rigorous testing , test AUT ability to withstand transient pressures

3, the integrated scenario testing: analysis of the structure and function of the system, the user of the distribution and frequency of analysis , to construct a model system to test integrated scene, different simulated users perform different operations

Multi-user, online, all the user cycles to perform certain actions (for some time), known as the greatest degree of simulation of real production scenarios, (does not require concurrent)

4, incremental test

Applicable scene: The system login module has a bottleneck (problem), but to examine test points are not logged in, you can use the incremental log on, to test the test point requirements in (such as test 1000 online user's query)

5, a memory leak test

Through the normal performance test, if the trend curve memory system under test is abnormal, the concern for the corresponding memory of the important indicators, through a corresponding trend indeed whether a memory leak,

Memory leaks, (like memory space is occupied by full, can not continue to allocate use)

6, the data capacity test

The large volume of data is added to the database, the system under test to observe whether the normal operation

7, fatigue strength test

AUT test under pressure, performing 24/7 in the system (the intensity) constant, (to be tested, such as the banking system or the like)

When the fatigue strength test study, to examine the average response time, and the resources of each server.
For example: cluster load balancing, reduce costs

8, limit testing

Test concurrent, online testing method, the test system can withstand a limit pressure (the maximum number of users), or the system can reach the maximum processing capacity (throughput), the method can also be used to test the increment, the system 100 user, 200 user 500 user's test (also to touch high test)

Guess you like

Origin www.cnblogs.com/lu-tao/p/11408678.html