The concurrent testing tool apache-jmeter uses sending post to request JSON data

Table of contents

1 Download and install

2 Chinese

3 Create high-concurrency tests

Configure thread group

Create web request

Create listener

fruit tree

summary report 

Add token for web request

Add Content-Type for sending json

4 Start testing

5 View results


1 Download and install

Official websiteApache
JMeter - Download Apache JMeter

Unzip and run

2 

2 Chinese

Open the software and set Chinese

Effect

3 Create high-concurrency tests

Configure thread group

Additional knowledge:

What is Damp-up:

For Ramp-Up Period, leave the default value of 1 second. This property tells JMeter how long to delay between starting each user. For example, if you enter a Ramp-Up Period of 5 seconds, JMeter will finish launching all users at the end of 5 seconds. So if we have 5 users and a 5 second Ramp-Up Period, the delay between starting users will be 1 second (5 users / 5 seconds = 1 user / second).

If you set this value to 0, then JMeter will start all your users immediately.

Create web request

Create listener

fruit tree

summary report 

Add token for web request

Add Content-Type for sending json

4 Start testing

5 View results

Guess you like

Origin blog.csdn.net/qq_53679247/article/details/132634791