JMeter Startup Guide: Detailed explanation of how to start JMeter

How to start Apache JMeter

Apache JMeter is an open source performance testing tool that is often used to test static and dynamic resources to determine server performance and stability. This article will introduce how to start JMeter .

Windows system

If you have configured the Java environment, you can  bin open files directly in the directory by  starting JMeter ApacheJMeter.jar .

picture.png

You can also start JMeter by opening  a file bin in the directory  jmeter.bat .

picture.png

It is worth noting that when opening JMeter, a command line window running JMeter will automatically open. Please do not close this window, otherwise JMeter will also be closed.

Mac and Linux systems

Enter the following command in the terminal to start JMeter:

sh /path/to/jmeter/bin/jmeter.sh

A faster way to start is to enter  jmeter the command directly in the terminal. You need to configure the following:

  1. ~/.bashrc Add the following content to the file
export JMETER_HOME=/path/to/jmeter export PATH=$JMETER_HOME/bin:$PATH

Please  JMETER_HOME replace it with the actual directory where Apache JMeter is located.

If you are using  zsh the terminal, you will need to modify  ~/.zshrc the file and add the same configuration as above.

  1. Let the terminal configuration take effect:
source ~/.bashrc

Or  zsh enter in the terminal:

source ~/.zshrc

Give it a try and you will successfully start JMeter!

picture.png

Finally, I would like to thank everyone who reads my article carefully. Reciprocity is always necessary. Although it is not a very valuable thing, if you can use it, you can take it directly:

This information should be the most comprehensive and complete preparation warehouse for [software testing] friends. This warehouse has also accompanied tens of thousands of test engineers through the most difficult journey. I hope it can also help you!

Guess you like

Origin blog.csdn.net/YLF123456789000/article/details/135363002