Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install and configure Jmeter

2025-03-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article introduces the relevant knowledge of "how to install and configure Jmeter". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

I. the process of installation and configuration of JMeter

Installation and configuration process:

The first step is to install JDK and configure JDK path

The operating system used here is Windows, choose the last download, download and run the installation directly. Set the environment parameters after installation.

JAVA_HOME:D:\ Program Files (x86)\ Java\ jdk1.8.0_131 (write to the path where jdk is installed)

Path:%JAVA_HOME%\ bin;%JAVA_HOME%\ jre\ bin

Classpath:%JAVA_HOME%\ lib\ dt.jar;%JAVA_HOME%\ lib\ tools.jar

Open cmd, run java-version, and get the following output to indicate that the configuration is correct.

Step 2 download JMeter

Address: http://jmeter.apache.org/download_jmeter.cgi

The current latest version of JMeter is 5. 3, requiring jdk1.8 or above. Since many people still use jdk 1.7 or earlier, you can find a lower version of JMeter installation at this URL.

JMeter environment configuration

JMETER_HOME:D:\ Tool\ apache\ apache-jmeter-5.3

CLASSPATH:%JMETER_HOME%\ lib\ ext\ ApacheJMeter_core.jar;%JMETER_HOME%\ lib\ jorphan.jar

Path:%JMETER_HOME%\ bin

The third step, if necessary, can also install the plug-in, or ignore this step.

1. Plug-in download address: http://jmeter-plugins.org/downloads/all/

two。 Unzip the plug-in after download: find JMeterPlugins-Extras.jar and place JMeterPlugins-Extras.jar in the apache-jmeter-5.3\ lib\ ext directory.

The installation process ends here.

II. Operation and language setting of JMeter

Go to the bin directory and run jmeter.bat to start jmeter, or open cmd and run jmeter.

Note: when opening, there will be two windows, the command window of JMeter and the graphical interface of JMeter. You cannot close the command window.

Classpath (scalability) of JMeter:

(1) if you want to add other JAR files to JMeter's classpath, you must copy them to the lib directory

(2) if you have developed a JMeter-specific component or a valid jar file, copy it to the ext directory under the lib directory.

After opening it, Chinese is displayed. If you want to use other languages, such as English, you can use the menu option-> Select language-> English. Of course, the same is true for switching to Chinese.

This is the end of "how to install and configure Jmeter". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report