最近在学jmeter,学到响应断言时发现响应数据里中文全部是乱码。

后来发现响应数据里的编码是utf-8

于是到jmeter/bin目录下的jmeter.properties

将编码格式设置为utf-8,问题解决。

sampleresult.default.encoding=utf-8