Jmeter configuration introduction and common commands

Common configuration

1. setenv configuration

It exists as setenv.bat under Windows and setenv.sh under Linux. It does not exist by default and needs to be created manually.
Mainly used to configure system environment variables, such as JVM startup parameters, default language, etc.
Configuration details: 1.4 Running JMeter

2. jmeter.properties

Almost all configurations can be modified through this file. The more commonly used one is 19.7 Remote hosts and RMI configuration
configuration details: https://jmeter.apache.org/usermanual/properties_reference.html

3. user.properties

User-defined parameters, generally used for test plans.

Common commands

Windows commands, generally used in graphical interfaces

Start command effect
jmeter.bat Start the interface in graphics mode (with cmd command box), it is recommended to use it when there are console messages.
jmeter.cmd Start the interface in graphics mode (without cmd command box)
jmeter-server.bat Start in server mode
mirror-server.cmd Start a mirror server

Linux commands, generally used in the server interface

Start command effect
jmeter Start the interface in graphics mode (with a terminal command box). It is recommended to use it when there are console messages.
jmeter.sh Start the interface in graphics mode (no terminal command box)
jmeter-server Start in server mode
mirror-server.sh Start a mirror server

Guess you like

Origin blog.csdn.net/Naruto_22/article/details/132348302