JMeter Related Learning Notes (distributed 1)

Source: Internet
Author: User

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.