• 问题:   

     当响应数据或响应页面没有设置编码时,jmeter会按照jmeter.properties文件中,sampleresult.default.encoding

设置的格式解析默认ISO-8859-1,这时候解析中文就会出错

  1. # The encoding to be used if none is provided (default ISO-8859-1)  
  2. #sampleresult.default.encoding=ISO-8859-1  
  • 解决方案:

     直接修改sampleresult.default.encoding=UTF-8。(需要去掉#,解除注释)

 

 

 

 

相关文章:

  • 2021-12-11
  • 2022-03-10
  • 2021-12-25
  • 2022-12-23
  • 2021-08-14
猜你喜欢
  • 2022-12-23
  • 2021-06-27
  • 2021-11-30
  • 2022-01-26
  • 2021-08-06
  • 2021-09-21
相关资源
相似解决方案