美文网首页工作生活
Jmeter中乱码的解决

Jmeter中乱码的解决

作者: Yin先生 | 来源:发表于2019-06-30 22:11 被阅读0次

第一种:在添加的HTTP请求中—content encoding 中写入 utf-8 可解决部分乱码问题
第二种:在安装包文件中 jmeter properties 中搜索 sampleressult.default.encoding编辑sampleressult.default.encoding=utf-8 后保存并退出。把jmeter重启。(./jmeter.sh demo中启动jmeter)
第三种:进入jmeter properties 搜索iso 直接pleressult.default.encoding=utf-8
改为sampleressult.default.encoding=ISO-8859-1(乱码)
第四种: 添加组件:线程组-添加-后置处理器-BeanShell PostProcessor
写入代码: prev.setDataEncoding("utf-8")-------(推荐)

相关文章

网友评论

    本文标题:Jmeter中乱码的解决

    本文链接:https://www.haomeiwen.com/subject/vidicctx.html