原因
当 httpResponse 没有设置编码时,jmeter 会读取 jmeter.properties 文件中的 sampleresult.default.encoding 属性设置编码。
解决方案
- 将配置文件
jmeter.properties文件中sampleresult.default.encoding属性设置为UTF-8。
image.png
-
添加后置处理器
image.png
image.png
当 httpResponse 没有设置编码时,jmeter 会读取 jmeter.properties 文件中的 sampleresult.default.encoding 属性设置编码。
jmeter.properties 文件中 sampleresult.default.encoding 属性设置为 UTF-8。
image.png
添加后置处理器
image.png
image.png
本文标题:jmeter中http请求响应结果乱码问题
本文链接:https://www.haomeiwen.com/subject/qwgmfqtx.html
网友评论