jmeter:

Create a test plan

  1. Add – Thread (user)- Thread group
  2. Thread group – Add – Sampler -HTTP request
  3. HTTP request – Add – Monitor – View result tree
  4. HTTP request – Add – Monitor – Aggregate report
  5. HTTP request – Add – Monitor – Graphic report

Second, about parameters

  1. @getMapping (“/getxxxx/{straaa}”)

  1. If you pass the body argument

postman:

Methods/steps to pass the body parameter:

1. Input the request url in the address bar: http://127.0.0.1:8081/getmoney

2. Select POST.

3. Add key: Content-type, value:application/json to headers

4. Then click “Body “,” raw “and set it to JSON. ‘ ‘

{“userid”: 1}