在使用jmeter测试时,如果你的sampler名字为中文、或者输出的结果信息有中文,你会发现它们都是乱码,非常蛋碎!原因是: jmeter的默认编码为:ISO-8859-1,
解决方案就是要修改它的默认编码。
打开jmeter\bin\jmeter.properties,找到
# The encoding to be used if none is provided (default ISO-8859-1)
#sampleresult.default.encoding=ISO-8859-1
改为:
sampleresult.default.encoding=utf-8
修改配置后,要重启jmeter才会生效
jmeter summariser(命令行执行时的输出) 、查看结果树等结果中文乱码
原文:http://www.cnblogs.com/onmyway20xx/p/4904727.html