在用Jmeter测试的时候吸纳供应数据如果出现中文乱码解决方法:
1、如下图在Content encoding输入框内输入 UTF-8
2、右击HTTP请求,添加->后置处理器-BeanShell PostProcessor
3、修改Jmeter的配置文件 apache-jmeter-3.2\bin\jmeter.properties,
添加一行 sampleresult.default.encoding=UTF-8
liujie- 2017-09-25 16:01 原文
在用Jmeter测试的时候吸纳供应数据如果出现中文乱码解决方法:
1、如下图在Content encoding输入框内输入 UTF-8
2、右击HTTP请求,添加->后置处理器-BeanShell PostProcessor
3、修改Jmeter的配置文件 apache-jmeter-3.2\bin\jmeter.properties,
添加一行 sampleresult.default.encoding=UTF-8