当前位置:网站首页>Jmeter 的使用
Jmeter 的使用
2022-07-07 04:55:00 【呆小呆啊】
下载
官网地址https://jmeter.apache.org/
使用步骤
- 下载解压,目前最新版本为5.5
- 进入bin目录,点击jmeter.bat
会启动JMeter GUI工具。
也可以设置界面语言Options --> Choose Language --> Chinese(Simplified), 设置为简体中文。
接口使用
- 选择TestPlan,右键–>添加–>线程–>线程组
- 线程组内容
a.线程组名称,可修改
b.取样器错误后执行的操作,可修改
c.线程数,即为并发请求数量,可修改
d.ramp-UI时间,即为几秒内开启全部线程,可修改
例如:
- 选择线程组,右键–>添加–>取样器–>HTTP请求
请求名称,可不改
Web服务器信息,网络协议、域名或IP、端口号,可自行修改
接口请求:请求方式、请求路径、编码格式,可自行修改
参数传递:消息体数据存储JSON信息
- 选择线程组,右键–>添加–>配置元件–>HTTP信息头管理器
- 可以存储请求头里面的信息
结果查看
选择线程组,右键–>添加–>监听器–>查看结果树
边栏推荐
- [matlab] when matrix multiplication in Simulink user-defined function does not work properly, matrix multiplication module in module library can be used instead
- 2022 simulated examination question bank and online simulated examination of tea master (primary) examination questions
- [2022 actf] Web Topic recurrence
- Button wizard script learning - about tmall grabbing red envelopes
- 探索干货篇!Apifox 建设思路
- Button wizard collection learning - mineral medicine collection and running map
- Qt学习26 布局管理综合实例
- [quick start of Digital IC Verification] 17. Basic grammar of SystemVerilog learning 4 (randomization)
- LeetCode中等题之我的日程安排表 I
- A bit of knowledge - about Apple Certified MFI
猜你喜欢
Linux server development, MySQL index principle and optimization
Operation suggestions for today's spot Silver
Figure out the working principle of gpt3
Linux server development, SQL statements, indexes, views, stored procedures, triggers
Quickly use Jacobo code coverage statistics
2022 Inner Mongolia latest advanced fire facility operator simulation examination question bank and answers
Shell 脚本的替换功能实现
Detailed explanation of Kalman filter for motion state estimation
王爽 《汇编语言》之寄存器
Few-Shot Learning && Meta Learning:小样本学习原理和Siamese网络结构(一)
随机推荐
Button wizard script learning - about tmall grabbing red envelopes
Thinkcmf6.0 installation tutorial
Pytorch(六) —— 模型调优tricks
快速使用 Jacoco 代码覆盖率统计
Qt学习28 主窗口中的工具栏
[2022 ciscn] replay of preliminary web topics
Pytorch parameter initialization
2022 National latest fire-fighting facility operator (primary fire-fighting facility operator) simulation questions and answers
青龙面板-今日头条
Implementation of replacement function of shell script
有 Docker 谁还在自己本地安装 Mysql ?
2022年全国最新消防设施操作员(初级消防设施操作员)模拟题及答案
Linux server development, redis source code storage principle and data model
Chip information website Yite Chuangxin
这5个摸鱼神器太火了!程序员:知道了快删!
Rust Versus Go(哪种是我的首选语言?)
[UVM foundation] what is transaction
2022 Inner Mongolia latest advanced fire facility operator simulation examination question bank and answers
Yugu p1020 missile interception (binary search)
Pytest+allure+jenkins installation problem: pytest: error: unrecognized arguments: --alluredir