1.在HTTP请求中的Content encoding设置为UTF-8
2.bin路径下的jmeter.properties文件中修改如下
# The encoding to be used if none is provided (default ISO-8859-1)
sampleresult.default.encoding=UTF-8
3.添加BeanShell PostProcessor,脚本框中输入:prev.setDataEncoding("UTF-8")
1.在HTTP请求中的Content encoding设置为UTF-8
2.bin路径下的jmeter.properties文件中修改如下
# The encoding to be used if none is provided (default ISO-8859-1)
sampleresult.default.encoding=UTF-8
3.添加BeanShell PostProcessor,脚本框中输入:prev.setDataEncoding("UTF-8")