美文网首页
jmeter的第一个脚本

jmeter的第一个脚本

作者: 宅四 | 来源:发表于2018-10-23 17:19 被阅读0次

1、添加一个线程组


image.png
image.png

2、添加http请求,设置


image.png
image.png
3、添加查看结果树
image.png

4、运行查看结果


image.png

5、解决响应数据中文乱码
需要在jmeter配置文件:jmeter.properties 中,修改#sampleresult.default.encoding=ISO-8859-1 为
sampleresult.default.encoding=utf-8 ;保存重启jmeter,问题解决。


image.png

相关文章

网友评论

      本文标题:jmeter的第一个脚本

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