1、Jmeter安装目录/bin/jmeter.properties中sampleresult.default.encoding默认为ISO-8859-1,将参数修改为
sampleresult.default.encoding=utf-8 即可
同时注意将注释符号#去掉,否则不会生效
2、如果还有乱码,可能是因为请求中post的数据中有中文,发post请求时,请求页面的Content encoding设置为utf8
1、Jmeter安装目录/bin/jmeter.properties中sampleresult.default.encoding默认为ISO-8859-1,将参数修改为
sampleresult.default.encoding=utf-8 即可
同时注意将注释符号#去掉,否则不会生效
2、如果还有乱码,可能是因为请求中post的数据中有中文,发post请求时,请求页面的Content encoding设置为utf8
相关文章: