在使用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才会生效

相关文章:

  • 2022-12-23
  • 2021-12-10
  • 2021-08-01
  • 2021-08-01
  • 2021-08-01
  • 2021-08-01
  • 2021-08-01
猜你喜欢
  • 2022-01-07
  • 2021-06-18
  • 2022-12-23
  • 2022-12-23
  • 2021-08-01
  • 2021-12-04
  • 2022-01-13
相关资源
相似解决方案