jmeter中接口测试出现乱码

jmeter中接口测试出现乱码或不识别中文解决办法

  • 在查看结果是中出现乱码时:jmeter的bin目录下的jmeter.properties下最下面添加sampleresult.default.encoding=UTF-8后重新打开工具就好了
  • 在接口的Body Data出现乱码时:jmeter的bin目录下的jmeter.properties下最下面添加jsyntaxtextarea.font.family=Hack,重新打开工具,在接口中post方式后面Content Encoding输入utf-8
posted @ 2020-08-24 17:20  Dr博士  阅读(193)  评论(0)    收藏  举报