You can do it with your hands! Nanny-level Jmeter distributed pressure measurement operation process (with pictures and texts)

Principle of Distributed Pressure Measurement

Distributed pressure measurement operation

  • Ensure that the JDK and Jmeter versions of the local machine and the execution machine are consistent
  • Configure Jmeter environment variables
  • Configure the Jmeter configuration file

Upload each execution machine service jmeter

chmod -R 755 apache-jmeter-5.1.1/

Execution machine configuration writes its own ip

Configure the IP of all execution machines on the control machine, and change server.rmi.ssl.disable to true

Use this machine as a press to start jmeter-server.bat

The execution machine executes jmeter-server

现在我也找了很多测试的朋友,做了一个分享技术的交流群,共享了很多我们收集的技术文档和视频教程。
如果你不想再体验自学时找不到资源,没人解答问题,坚持几天便放弃的感受
可以加入我们一起交流。而且还有很多在自动化,性能,安全,测试开发等等方面有一定建树的技术大牛
分享他们的经验,还会分享很多直播讲座和技术沙龙
可以免费学习!划重点!开源的!!!
qq群号:110685036

Open the control machine jmeter and select remote start all

Remote start command line mode

All distributed nodes

  • JMeter -n -t [JMX script path] -r -l test output file path -j log path

Specify ip distribution

  • JMeter -n -t [JMX script path] -R ip:port -l test output file path -j log path
parameter meaning
-n Indicates non gui mode non-graphical mode
-t testplan followed by the jmeter script path and script name to run
-l Specifies the save file for generating test results, jtl file format
-r Remotely start all agents and use them in the distributed test scenario. If it is not a distributed test, but a single point, there is no need for -r
-R specify certain machines
-H Set the proxy host used by Jmeter
-P Set the port of the proxy host used by Jmeter
-e After the test, generate a test report
-o Specify the storage location of the test report

Distributed common errors

1. Error reporting permission denied

  • Modify the entire jmeter directory permissions
  • chmod -R 755 apache-jmete5.1.1 (just the directory)

2. Error connection timed out: connect

  • Check whether the ip of the execution machine is consistent with the ip of the configuration file of the control machine
  • Is the firewall turned off

3./jmeter-server startup error localhost.localdomain is a loopback address

  • Add a parameter to the start command, and write the IP address to the corresponding address of the press./jmeter-server -Djava.rmi.server.hostname=ip address (executor ip)

4./jmeter-server startup error Unrecognized VM option

  • The JDK version is wrong, replace the 1.8 version JDK and configure the environment variables

The following are supporting learning materials. For friends who do [software testing], it should be the most comprehensive and complete preparation warehouse. This warehouse also accompanied me through the most difficult journey. I hope it can help you too!

Software testing interview applet

The software test question bank maxed out by millions of people! ! ! Who is who knows! ! ! The most comprehensive quiz mini program on the whole network, you can use your mobile phone to do the quizzes, on the subway or on the bus, roll it up!

The following interview question sections are covered:

1. Basic theory of software testing, 2. web, app, interface function testing, 3. network, 4. database, 5. linux

6. web, app, interface automation, 7. performance testing, 8. programming basics, 9. hr interview questions, 10. open test questions, 11. security testing, 12. computer basics

Information acquisition method:

Guess you like

Origin blog.csdn.net/IT_LanTian/article/details/132300244