The difference between Parameters and Body Data in jmeter

tags: jemeter  parameter  bodydata

Parameters

The parameter in xx=xx&xxx=xx format is the value of the parameter in the url in the GET or POST request, such as:

In one such request/api/v1/courseware/list?index=0&pagesize=100&thumb=1 
? The number after the number can be written in the url, or in the Parameters

In the Parameters mode, the requested parameters are automatically mapped to the corresponding entity types in the daemon.

Body Data

The json format is a parameter in the POST request. When POST requests a parameter, it looks at the format of the request. Is it necessary to add an HTTP header manager to the request, which will be requested?Content-TypeOrUser-AgentEtc.

In Body Data mode, the requested parameters are not mapped to the corresponding entity type in the daemon.

The format of the HTTP request:

HTTP Header Manager:

Original link:The difference between Parameters and Body Data in jmeter

Intelligent Recommendation

Difference between Params parameter in postman and form-data parameter in Body

1. The difference between Params and Body As shown in the figure, postman can input parameter variables and values ​​in two places. What is the difference between them? The variable set at Params will...

JMeter assertion failed to extract parameters in Request Body

A problem that has been plagued for a long time, I haven't found the relevant answer, share it. For example, a scene: POST request, import DATA using CSV parameterization, when responding to assertion...

Jmeter parameters: Use the _CSVRead and CSV Data Set Config, and the difference

Firstly, the result of their own practice: _CSVRead: thread implementation is to rely on parameterization, each thread with different parameters; CSV Data Set Config: rely on the number of cycles to a...

The difference between postman Params and Body

Team mode Postman offers a paid service, which can be added to the postman pro program for $8 per month. The registered account is upgraded to a developer account. The project has a creation team. The...

The difference between header and body in Http

HTTP (HyperTextTransferProtocol) is the hypertext transfer protocol, the current general protocol for web page transmission. The HTTP protocol uses a request/response model, and the browser or other c...

More Recommendation

JS - the difference between body and head

JS - the difference between body and head - window.onload...

CSS: the difference between HTML and Body

In CSS,<html> with <body> The difference is often ignored, or are defined in the global style<html> On or in the definition of<body> on. In fact, the two are different, whether...

The difference between body() and peekBody() in Response

The body() and peekBody() methods both return a ResponseBody object, the difference is the body of the current response returned by body(). View source code The peekBody() method returns a new respons...

The difference between Query and Body in http

Recently, I was doing docking and encountered POST submission, but requiring the requirements of Query and Body parameters separately. At first, I did not understand the difference between Query and B...

Transfer of parameters between jmeter threads

background When doing project performance testing recently, I encountered a problem, that is, the tested interface needs to use other interface return values ​​as input parameters, such as cookie valu...

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

Top