jmeter software testing experiment (with source code and configuration)

jmeter introduction

JMeter is an open source performance testing tool developed and maintained by the Apache Software Foundation. It is mainly used for performance testing of web applications, web services, databases and other types of services. JMeter was originally designed for testing web applications, but has now been extended to support a wider range of application scenarios.

JMeter can simulate huge loads on servers, networks or objects, test their strength and analyze overall performance under different stress categories. Additionally, JMeter enables functional/regression testing of the application by creating scripts with assertions to verify that the program returns the expected results. For maximum flexibility, JMeter allows the use of regular expressions to create assertions.

jmeter download

Note that the Java environment needs to be installed before installing jmeter

Download address: Apache JMeter - Download Apache JMeter icon-default.png?t=N6B9https://jmeter.apache.org/download_jmeter.cgi

jmeter uses

Query the cookie and Content-Type in the request header

Set related properties in the request header

 Set request group related information: number of threads, number of loops, duration, etc. I set the request here to be 10, cycle 1 time

set http request

get request

 put request

Query the result tree after running

 

aggregated report

Download

Website and test configuration: points mall management system: points mall system, supports point redemption, shopping cart and other functions (gitee.com)

Guess you like

Origin blog.csdn.net/qq_51118755/article/details/131870579