Jmeter响应报文中文乱码

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接: https://blog.csdn.net/weixin_41052270/article/details/102718136

一、打开Jmeter安装文件的bin目录,找到jmeter.properties文件。

  打开jmeter.properties文件,将sampleresult.default.encoding设置为UTF-8

# The encoding to be used if none is provided (default ISO-8859-1)
sampleresult.default.encoding=UTF-8

找到jmeter.bat重启Jmeter。

如果响应报文还是乱码,在jmeter中添加一个HTTP信息头管理器

Content-Type:application/json;charset=UTF-8

猜你喜欢

转载自blog.csdn.net/weixin_41052270/article/details/102718136
今日推荐