Jmeter design stress test scenario

1, what business needs to do stress tests?

More commonly used function modules

Single or multi-service business scene scene

Projects to do business scene

2, number of concurrent stress test is how much?

There are the expected values? Disposable achieve? The outcome of the previous value of the performance test?

No expected value? Online users only reference? 2: 8 In principle, with 20% of the number of online users by reference to a test

3, focus on what parameters?

Response time 1: 3: 5, or 2: 5: 8

tps concurrent transactions per second, there will be limits, to do a number of concurrent adjustment / script based on the results of superposition

 

Error rate

cpu (not to exceed 80%) and memory (at least 20% of the spare) usage

Queue <1

Disk: read and write operating frequency is not too high

 

Assertion of using simple classification results: Add the following HTTP request

Tool is usually a request sample for each additional validation: in response to the assertion

Response time assertion: response time requirements requested can not exceed the number of milliseconds

Guess you like

Origin www.cnblogs.com/ella-li/p/12110052.html