当前位置:网站首页>Jemter distributed

Jemter distributed

2022-07-08 00:50:00 Proud cat sauce

Original address :

jmeter Distributed deployment _ Shiyan's blog -CSDN Blog _jmeter Distributed deployment details

One 、 Distributed principle


1、jmeter Distributed pressure measurement , Choose one of them as the dispatcher (master), Other machines act as actuators (slave)
2、 Execution time , The dispatcher (master) The script will be sent to each executing machine (slave) On , Actuator (slave) Get the script and start executing , Actuator (slave) It doesn't need to be started to execute GUI, Execute in command line mode .
3、 After execution , Actuator (slave) The result will be sent back to the dispatcher (master), The dispatcher (master) All actuators will be collected (skave) Information about .

 

  • 1、 The actuator starts first Agent Program ( function jmeter-server)
  • 2、 The dispatcher is connected to the remote load machine ( Modify the configuration file , Will automatically connect )
  • 3、 The dispatcher sends instructions ( Scripts and startup commands ) Start thread ( Parameterized files or dependent packages need to be manually copied to each execution machine )


Two 、mac Local distributed

2.1 Prerequisite

1、 Turn off firewall
2、 All clients are in the same subnet
3、 Intranet environment : The server is also in the same subnet as the client
4、 Internet Environment : Most of the bottlenecks in stress testing are bandwidth , It is necessary to ensure that the bandwidth of the press is higher than that of the server , Otherwise, the pressure will not go up
5、 Each machine installs the same version of... In the same directory jmeter
6、 Need all jmeter It's all set up ssl for rmi(jmeter4.0 Later versions need )
7、 Each machine installs the same version of... In the same directory JDK
8、 If the script involves reading external parameterized files (csv), Files need to be uploaded to each executive machine (slave) On
 

2.2  The dispatcher (master) To configure

3、 ... and 、liunx Distributed

原网站

版权声明
本文为[Proud cat sauce]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/189/202207072258263448.html