Jmeter type of performance test
- pipe-clean test
- Previously run in a test environment
- Determine the accuracy of the script
- Single-user run
- Obtain baseline
- Capacity Test
- The classic type of performance test
- Maximum throughput / concurrent / response time acquisition system is stable when
- Try to simulate the real situation, such as adding user think time
- pressure test
- Get the hang system
- Unless the system is not responding, the response time than expected, the user can not log in, otherwise to stop
- Assume that the system is expected to sustain 5,000 people, but when 5005 people hung up, this time we should think how
- Stability Test
- To find out in the long run when the system problems that may arise
- The classic example is to find memory leaks
- The system performance is a problem: the response time becomes long gradually or suddenly unavailable
- somke test
- Code is modified, affected script code modifications smoke test
- Isolation Test
- To reproduce the problem
- The general strategy is to repeatedly perform a module or script problem in order to find problems
- Load Model
- Linear model
- Throughput Model
- Configuring load
- Big Bang: load while producing
- Ramp up: start when a certain load, and then from time to time to add some load until the target load, which is typical mode
- Ramp-up (with step): generating a load segment. For example, a total of 1000 users load, but we need to observe the system at 250, 500, 700 performance under load, after reaching these loads need to run some time to add a new load
- Ramp up (with step), ramp down (with step): Similarly with the above, only the last load back to 0
- Delayed start: delayed start
- Testing Process
- Tested for capacity for each use case: load policy generally ramp-up or ramp-up with step
- Example of performance problems with the isolation test
- Tested for capacity with Example Group
- Isolation of test cases Group: Load Policy is generally ramp-up or ramp-up with step
- Pressure test with Example Group
- Stability testing of Example Group use