[JMETER]"msg":"Content type 'application/x-www-form-urlencoded;charset=UTF-8' not supported",

时间:2022-11-13 14:51:39

[问题]"msg":"Content type 'application/x-www-form-urlencoded;charset=UTF-8' not supported",

[JMETER]"msg":"Content type 'application/x-www-form-urlencoded;charset=UTF-8' not supported",

 

[解决办法]

step1:在HTTP请求下添加一个“HTTP信息头管理器”

step2:在“HTTP信息头管理器”界面,新增一行信息头:content-type application/json

step3:重新请求该接口即可。

[JMETER]"msg":"Content type 'application/x-www-form-urlencoded;charset=UTF-8' not supported",

 

 [参考链接]

https://blog.csdn.net/foreverlemon/article/details/74295729