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
网友评论