JMeter pressure measurement tool installation and usage summary

First, install

  Into the apache official website https://www.apache.org/dist/jmeter/binaries download the Windows version JMeter;

 

Second, configure the environment variables

  After unzipping the download, configure the environment variables

  Control Panel - System - Click the Advanced System Settings - Advanced - Environment Variables - System variables, create JMETER_HOME, value-extracting JMeter installation path (my local is D: \ Program File \ JMeter \ apache-jmeter-5.1 .1)

  CLASSPATH If not, then a new, add% JMETER_HOME% \ lib \ ext \ ApacheJMeter_core.jar;% JMETER_HOME% \ lib \ jorphan.jar;% JMETER_HOME% \ lib / logkit-2.0.jar;

  If there is already, it is appended;% JMETER_HOME% \ lib \ ext \ ApacheJMeter_core.jar;% JMETER_HOME% \ lib \ jorphan.jar;% JMETER_HOME% \ lib / logkit-2.0.jar;

  After the environment variables configured, the bin file into the unpacked directory, click jmeter.bat, you can start JMeter tool, and the successful launch of the interface is as follows:

 

Third, the use

1, create a thread group

2, thread attributes, the number of users, for a few seconds, the cycle several times, as detailed in reference 2

3, create http request

4, demand configuration, if there is no port number is the port 80

 

5, click on the menu bar of the implementation of the green triangle, then the total depends on the test results, the results presented here to see the tree and graphical analysis results

6. Finally, add listener component: Aggregate Report, you're done!

  Such a simple GET request concurrency testing is complete.

  Reference article:

  压力测试工具JMeter入门教程:https://blog.csdn.net/chenleixing/article/details/43418185

Guess you like

Origin www.cnblogs.com/goloving/p/11432516.html