Jmeter stress test - Web proxy local interface test [teaching articles]

Quick use of Jmeter

Hereby solemnly declare! This article is an original work, and it is not easy for the editor to write it. Please indicate the source if you reprint it! Thanks for
an overview of
Apache JMeter, a stress testing tool developed by the Apache organization. Currently used for stress testing software via HTTP and FTP servers, it was originally designed for web application testing. Some novices may find it a little difficult to get started in the process of using it. No more nonsense. Tell me directly how to use Jmeter

Install Jmeter

Before installing Jmeter, you need to install Java first and then run the program list:
it is recommended to install Java8 JDK download address

  1. Official website download JDK address: http://www.oracle.com/technetwork/java/javase/downloads/index.html
  2. Download Jmeter address:
    Official website download address: http://jmeter.apache.org/download_jmeter.cgi
    After completion.
    In addition: you need to download a Firefox browser
    in front of your computer (the latest version is enough) and then the above version is processed.

1.1 Basic settings
Enter Jmeter bin, open the file
insert image description here
, select a template, create a template,
insert image description here
insert image description here
open monitoring
insert image description here
insert image description here
, complete the settings,
1.2 browser settings,
open the Firefox browser. Select the option
insert image description here
insert image description here
PS: It should be noted that the port needs to be set separately for the listening port, which is the same as the Jmeter port setting.

When operating in step 5, open the Jmeter installation package to automatically generate two certificates and
insert image description here
import the certificates into the browser configuration
insert image description here
insert image description here

After the setup is complete.

1.3 Data capture
Access the current own page server, observe and monitor the processing of Jmeter data page at this time,
insert image description here
you can see that there are many data requests coming in. Unnecessary requests can be blocked directly, and
insert image description here
insert image description here
you can directly perform a quick stress test by selecting Start.

If you want to use Google browser, you can use it with Blazmeter

Guess you like

Origin blog.csdn.net/jjc120074203/article/details/125393689