Build a test premise for distributed platforms:
1 All firewalls should be shut down
2 All clients should be in the same subnet.
3 Ensure that JMeter can access this server
4 Ensure that the JMeter versions of each client are consistent, and that different versions of JMeter may not work together.
If you are ready for these prerequisites, then you can start the remote test. The way JMeter works is a primary opportunity to initialize other slave-based test cases.
Below we will build this platform step-by-step,
- Deployment Agent: Enter the bin directory of the JMeter and execute jmeter-server.bat to start the JMeter agent.
- Deploy controller: Open the bin directory under the Jmeter.properties file, in the "Remote_hosts" line, add the slave IP, such as remote_hosts=192.168.0.108:1099, localhost:1099 (where 1099 is the default RMI communication port) then start JMeter, import the test plan you want to execute in the control system, note that the port number is added, or the startup will fail.
- Start Jmeter.bat in the bin directory of the JMeter as the controller, open the JMeter user interface to start:
- Click "Run/Remote Start" to start a specific remote agent;
- Click "Remote Start All" to start all agent execution scripts
JMeter Distributed Configuration