Reproduced Jmeter's simulation high concurrency test (collection point)

Reprinted as follows:

 

http://www.2cto.com/article/201611/569100.html

 

 Scenes:

When you use Jmeter to test, you should find that,

(1) When the thread is started, the test request will be sent directly;--If you want to simulate a high concurrency test in an instant, you need to increase the number of threads, which consumes the performance of the test machine and often cannot support a large number of concurrency , it is impossible to control the instantaneous concurrency of each test;

(2) If the constant throughput timer is used, a long-term concurrent test can be simulated, but it still cannot meet the stable instantaneous high concurrency test;

solve:

1. Use the rendezvous point;

Function: Block threads until the specified number of threads is reached, and then release them together, which can instantly generate a lot of pressure.

Quoting the words of the insect master, "The platoon leader of the Red Army said: Wait a minute! After all comrades have been assembled, everyone will rush together again! This will put the greatest pressure on the enemy."

Steps

1. Add a rendezvous point, which is synchronized timer in Jmeter;

\" width= b. The number of threads in the last batch is not enough for the number of rendezvous points;

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326678924&siteId=291194637