How to use Jmeter for performance testing

Preface

JMeter is a Java-based stress testing tool developed by the Apache organization. Used to stress test the software,

download link:

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

After downloading, he needs to configure environment variables in jdk to run. This is a very important point.

installation

A series of next steps are installed. Then find the program location

  

Open the bin, find it and double-click to open it.

He will open a cmd.exe first. Don't close it, just minimize it. Don't turn it off, because Jmeter will be turned off after you turn it off.

 

After downloading, you can set it to Chinese. Steps: 1. [Options] button in the menu bar 2. Then click [Choose language]>[Chinese(simplified)] in turn

After that, you can test the web page, and prepare the URL of the website you want to test

operating

First enter the test plan, add a thread group:

The content of the thread group is

Continue to right-click on the thread group to add an HTTP request, the process is as follows 

Copy the URL in, https://www.baidu.com   can be Baidu's.

Right-click on the HTTP request to add a listener-view the result, an aggregate report,

Then you can start

After running, you can see the access efficiency, throughput and so on.

 

Guess you like

Origin blog.csdn.net/weixin_43472073/article/details/109299553