JMeter结果树响应数据中文乱码

打开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即可

猜你喜欢

转载自www.cnblogs.com/daxiong225/p/9093138.html