请求参数有中文,post传过去显示乱码

从网上找到的方法: 
在jmeter.properties中: 
sampleresult.default.encoding=ISO-8859-1 改 成 sampleresult.default.encoding=utf-8 保存后,重新Jmeter 
还要注意将 sampleresult.default.encoding=ISO-8859-1 前的# 去掉

尝试了上主面的方法没有效果: 
仔细查看后,在HTTP请求的Content encoding 中维护utf-8 
这里写图片描述
再次尝试,执行,不会出现乱码

猜你喜欢

转载自blog.csdn.net/weixin_41044523/article/details/79291119