Quick use of Jmeter
Hereby solemnly declare! This article is an original work, and it is not easy for the editor to write it. Help me like it and follow it~ Reprint friends, please indicate the source! Thanks for
an overview of
Apache JMeter, a stress testing tool developed by the Apache organization. Currently used for stress testing software via HTTP and FTP servers, it was originally designed for web application testing. Some novices may find it a little difficult to get started in the process of using it. No more nonsense. Tell me directly how to use Jmeter
Jemter is a very useful visualization tool
Step 1: Download the current version of Jmeter
[Mac system I use]
Jemter version 5.4.2 download address
Step 2: Install JDK
[I install openJDK16 by default]
Suggestion: Install JDK1.8
Note:
Jemter needs JDK environment to run the program, check the current TLS version supported by JDK, some versions of JDK do not enable TLS related protocols.
Step 3: Download the Jmeter plug-
in The current version [Mac system I use] The
newly installed Jemter does not have this PluginsManager as shown in the figure
Step 3: Download the PluginsManager plug-in
https://mvnrepository.com/artifact/org.mortbay.jetty.alpn /alpn-boot
plug-in download address
Download complete:
Configure
Windows system Modify jmeter.bat
Add in jmeter.bat file:
set JVM_ARGS=-Xbootclasspath/p:[jar文件路径]/alpn-boot-8.1.13.v20181017.jar
Mac /linux system modify the jmeter.sh file
Add in the jmeter.sh file:
JVM_ARGS="-Xbootclasspath/p:[jar文件路径]"
Restart after adding
Step 4: Install visualization tools
and select PluginsManager
It is recommended to choose these two [3 Basic Graphs/ 5 Additonal Graphs]
The download is relatively slow
, you may need to go over the wall, you can test it after the download is complete
verify
If so, the installation is successful!