Jmeter interface test realizes form-data format parameter passing

The interface is POST interface, and the parameter passing format is Form Data

 

Jmeter configuration

1. Check Use multipart/form-data for POST

The parameter passing format is application/x-www-form-urlencoded

2. Enter information such as cookies in the HTTP information header, but do not enter the content-type as multipart/form-data, because the request has already checked the use of multipart/form-data for POST, just delete the content-type in the information header.

3. The request is successful

Guess you like

Origin blog.csdn.net/bugua3542/article/details/109095245