[英]How to run jmeter requests with application/x-www-form-urlencoded; charset=UTF-8" (like postman's) setting
I am trying to set an http head manager element with application/x-www-form-urlencoded; 我试图用application / x-www-form-urlencoded设置一个http头管理器元素; charset=UTF-8"; param. I get the needed result from postman but there is a checkbox for this setting. I need to use JMeter for the rest api project.
charset = UTF-8“; param。我从postman获得了所需的结果,但是这个设置有一个复选框。我需要将JMeter用于其余的api项目。
You need to set up HTTP Header Manager to send Content-Type header with the value of application/x-www-form-urlencoded; charset=UTF-8
您需要设置HTTP标头管理器以发送带有
application/x-www-form-urlencoded; charset=UTF-8
值的Content-Type标头application/x-www-form-urlencoded; charset=UTF-8
application/x-www-form-urlencoded; charset=UTF-8
Actually you can just record Postman requests instead of building them manually. 实际上,您只需记录Postman请求,而不是手动构建它们。
File - Templates - Recording - Create
File - Templates - Recording - Create
Workbench - HTTP(S) Test Script Recorder
and click "Start" Workbench - HTTP(S) Test Script Recorder
,然后单击“开始” Postman.exe --proxy-server=localhost:8888
Postman.exe --proxy-server=localhost:8888
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.