Jmeter installation and quick start (super detailed tutorial)

Table of contents

1. Install Jmeter

1.1. Download

1.2. Decompression

1.3. Run

2. Quick Start

2.1. Set Chinese language

2.2. Basic Usage


1. Install Jmeter

Jmeter depends on JDK, so you must ensure that JDK is installed on the current computer and the environment variables are configured.

1.1. Download

It can be downloaded from Apache Jmeter official website, address: Apache Jmeter official website download

The downloaded installation package is also provided in this resource:

1.2. Decompression

Because the download is a zip package, it can be used after decompression. The directory structure is as follows:

The bin directory is the executed script, which contains the startup script :

1.3. Run

The startup script can be run by double-clicking, but there are two points to note:

  • The startup speed is relatively slow, so be patient

  • The black window cannot be closed after startup, otherwise Jmeter will also be closed

 

 

2. Quick Start

2.1. Set Chinese language

The default language of Jmeter is English, which needs to be set:

 Effect:

Note : The above configuration can only ensure that this operation is in Chinese. If you want permanent Chinese, you need to modify the Jmeter configuration file  


Open the jmeter folder, find jmeter.properties in the bin directory , and add the following configuration:

 language=zh_CN

 

 Note: Do not appear # in front, # represents a comment, and here is an underscore, not a dash

2.2. Basic Usage

Right-click on the test plan and select Add > Thread (User) > Thread Group:

In the newly added thread group, fill in the thread information:

 

Right-click the thread group and add an http sampler:

 

Write sampler content:

 

Add monitoring report:

 

Add monitoring result tree:

 

Summary report results:

 

Result tree:

 

 

The material comes from the Internet...

Guess you like

Origin blog.csdn.net/WQGuang/article/details/131835838