JMeter接口测试中,响应数据中文显示乱码的处理方法(转)

1.apache-jmeter-4.0打开安装路径injmeter.properties文件,搜索“default.encoding”关键字,找到如下配置:

# The encoding to be used if none is provided (default ISO-8859-1)
#sampleresult.default.encoding=ISO-8859-1

2.将注释#删掉,并改成utf-8编码,如下:

 The encoding to be used if none is provided (default utf-8)
sampleresult.default.encoding=utf-8

3.重启JMeter即可

本文来自 差不多的人生 的CSDN 博客 ,全文地址请点击:https://blog.csdn.net/a2853963242/article/details/80416658?utm_source=copy 

原文地址:https://www.cnblogs.com/Jollyxi/p/10282740.html