On the performance test

Original link: http://www.cnblogs.com/Javame/archive/2013/03/18/2965923.html

For different pressure conditions can be divided into light-load region, the load region, a heavy load region, as shown in (FIG night to go back to find the Internet)

The system pressure in the light load region, the processing capacity of the system increases as TPS number of concurrent users increases, but the response time is not changed

Load area: With the increase in the number of concurrent users, response time and system resources occupancy increment

Heavy load zone: This time, system performance should like to fluctuations, but there is a problem can not be unable to provide services

Accordingly, the number of concurrent users of the system performance. 4 <concurrent users of the system 5 performance, but the same response time; 5 concurrent users response time <6 concurrent users response time, but the same performance, this time 5 concurrent users that is the critical point of the light load area and the number of load area

Test Methods:

A method, Vusers 100, the scene is set to increase by 10 users per 10 minutes

The second method 100 Vusers,

1 CPU, memory, bandwidth (1000M) occupancy rate of 70%

2 the response time limit is reached

3 No matter how increasing the pressure, TPS does not increase

Mixing process testing (four concurrent interfaces), may be used to set the target virtual object scene and different users 250TPS script percentage of tender hand 2 different scenarios using different test scripts run sets, each virtual group length can be set when the number of users, according to the actual operating conditions and test results indicators 30 minutes

Stability Test

Stability test may have plenty of time measured for each interface, the test length of 24 hours; may refer to measure mixing time is not enough flow length test 48 hours

Overload (pressure) test

System handling of time of 1.5 -10 times the overload test, the test's ability to reach the system performance, selected test required to achieve 80% of the actual processing capacity, downtime can not occur, the test duration 30 minutes

Test test abnormal operation of the system under abnormal conditions

Delay test test the influence of the external component of the system delay performance

benchMark test (baseline)

Reproduced in: https: //www.cnblogs.com/Javame/archive/2013/03/18/2965923.html

Guess you like

Origin blog.csdn.net/weixin_30919571/article/details/94789539