Thread 100~300 can be handled on a 1.4G Hz~3ghz CPU, 1GB memory JMeter client. ButService exception. XML processing is CPU intensive and consumes all of the CPU quickly. In general, the application system with XML technology as its corePerformance will be normal web applied 10%~25%. In addition, if all loads are generated by a single machine, the network card and switch ports can create bottlenecks, so the number of one JMeter client threads should not exceed 10 0. adopt JMeter Remote mode is not more resource-intensive than running the same number of non-GUI tests independently. However, if a large number of JMeter remote servers are used, the client may be overloaded, or the network connection will be congested.
Set the distributed JMeter method:
1) Install JMeter on all machines that expect to run JMeter as a load generator, and identify one of the machines as the controller and the other as the agent. Then run the Jmeter-server file on all the agent machines (assuming that two machines 192.167.0.100 with 192.168.0.101 as the agent)
(2) in the JMeter Bin directory of the controller machine, Locate the Jmeter.properties file, edit the file:
Find:
remote_hosts=127.0.0.1
Modified to:
remote_hots= 192.168.0.100:1099,192.168.0.101:1099
PS: Notice whether the agent's machine has turned on the firewall and so on.
(3) Start the JMeter application on the controller machine, select the menu "Run"---> "remote Start" to start the agent separately, or you can directly select "Remote Start All" to start all agents.
JMeter Related Learning notes (distributed 1)