The body data in jmeter is submitted using the json format of the post request

I previously introduced the default submission form of jmeter post to express submission, Content-type = "application / x-www-form-urlencoded", use the form of directly filling in the parameters

This time, the body data in jmeter is in json format. Take the post request as an example.

1. Use the non-post default submission format to specify the request header information, add the http header management in the configuration element, and set the Content-type

2. Add the http request in the sampler, pay attention to the json format filled in here

3. Just add the assertion, the operation is successful

4. In addition, this body data supports all json format submissions, such as put, delete, etc. are similar to the above test, directly modify the post to put and delete

Intelligent Recommendation

Post send json format data request (axios)

Use the axios request in the vue project, the post method submits the json format parameters to the backend First install axios Apply in main.js Used in vue files  ...

Vue-cli the post request format data Json

Not described in detail herein, for example...

Post request and JSON data format of UnityWebRequest

Import the LitJson.dll file library first Create CustomCertHandler script, about certificate processing Create HttpHelper script: about the package of UnityWebRequest Post request response Create Http...

Retrfit2 +RXjava2 + interceptor, using put request, send body in json format

1: Look at the dependency part first 2: api annotation section 3: java part initialization   4: Request section  ...

More Recommendation

GO: get body data in post application/json format

Format type passed to the backend The format type passed to the backend is application/json format: The front-end content-type corresponds to application/json: How the backend gets body data Go needs ...

Hutool Tools POST request setting the Body parameter as JSON data

Hello everyone, I am Xiongxiong, please pay attention to the WeChat public accountXiongxiong's small class Today I introduce a case, the hutool class (Hutool) POST request set the Body parameter as JS...

Postman uses the post request of the ROW JSON data content settings in Body

Postman uses the post request of the ROW JSON data content settings in Body 1. Character changes 2. Analysis in the code When I used Postman or APIFOX, I found that I couldn't change the change. At th...

Copyright  DMCA © 2018-2026 - All Rights Reserved - www.programmersought.com  User Notice

Top