jmeter返回数据乱码

解决方案一:

 

一、检查请求中内容编码是否填写:UTF-8

 

 二、检查请求头中是否添加Content-Type:application/json;charset=UTF-8

 

 三、检查jmeter.properties是否修改sampleresult.default.encoding=UTF-8

 

 

 

 四、该请求中添加后置处理器BeanShell:  配置prev.setDataEncoding("UTF-8");

 

posted @ 2020-12-16 16:00  美女爱找茬  阅读(142)  评论(0编辑  收藏  举报