Jmeter 循环压力测试简单案例HTTP接口(修改线程组的线程
作者:
嘤嘤嘤999 | 来源:发表于
2020-09-10 07:46 被阅读0次
一、循环压力测试准备:添加察看结果树+添加聚合报告+添加线程组+新建HTTP请求
1.1添加察看结果树:右键TestPlan---点击添加---监听器---察看结果树
添加聚合报告: 右键TestPlan---点击添加---监听器---聚合报告

image.png

image.png

image.png
1.2新建线程组 TestPlan---添加---Threads(Users)---线程组

image
1.3新建HTTP请求:右键线程组---添加---Sampler---HTTP请求

image.png
二、测试HTTP请求接口
2.1免费的接口请求测试网站:聚合数据(需注册并实名验证,每天免费100次接口请求)
https://www.juhe.cn/
2.2先记录下请求Key值

image.png
2.3点击测试跳转页面

image.png

image.png
2.4在Jmeter输入相关数据并请求接口

image.png
2.5运行HTTP请求

image.png

image.png

image.png
2.6点击察看结果树---响应数据 查看返回的结果

image.png
三、简单的测试组---修改线程数---压力测试

image

image
本文标题:Jmeter 循环压力测试简单案例HTTP接口(修改线程组的线程
本文链接:https://www.haomeiwen.com/subject/ktbjektx.html
网友评论