JMeter结果树响应数据中文乱码解决办法

时间:2020-12-11 23:44:14

打开apache-jmeter-2.11\bin\jmeter.properties文件,搜索“encoding”关键字,找到如下配置:

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

将注释删掉,并改成utf-8编码,即:

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

重启JMeter即可