当前位置:网站首页>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信息头管理器


- 可以存储请求头里面的信息
结果查看
选择线程组,右键–>添加–>监听器–>查看结果树

边栏推荐
- Implementation of replacement function of shell script
- pytest+allure+jenkins環境--填坑完畢
- Leetcode 43 String multiplication (2022.02.12)
- Yugu p1020 missile interception (binary search)
- Codeforce c.strange test and acwing
- Qt学习28 主窗口中的工具栏
- 【数字IC验证快速入门】14、SystemVerilog学习之基本语法1(数组、队列、结构体、枚举、字符串...内含实践练习)
- Figure out the working principle of gpt3
- padavan手动安装php
- These five fishing artifacts are too hot! Programmer: I know, delete it quickly!
猜你喜欢

Quickly use Jacobo code coverage statistics

王爽 《汇编语言》之寄存器

Bugku CTF daily one question chessboard with only black chess

Record a stroke skin bone error of the skirt

2022年全国最新消防设施操作员(初级消防设施操作员)模拟题及答案

Thinkcmf6.0安装教程

Linux server development, detailed explanation of redis related commands and their principles

2022 recurrent training question bank and answers of refrigeration and air conditioning equipment operation

Leetcode 40: combined sum II

Who has docker to install MySQL locally?
随机推荐
Niu Mei's mathematical problem --- combinatorial number
2022茶艺师(初级)考试题模拟考试题库及在线模拟考试
大视频文件的缓冲播放原理以及实现
[quick start of Digital IC Verification] 15. Basic syntax of SystemVerilog learning 2 (operators, type conversion, loops, task/function... Including practical exercises)
Pytest + allure + Jenkins Environment - - achèvement du remplissage de la fosse
Cnopendata list data of Chinese colleges and Universities
Pytest+allure+jenkins environment -- completion of pit filling
Ansible
Es FAQ summary
运放电路的反馈电阻上并联一个电容是什么作用
Cnopendata American Golden Globe Award winning data
Qt学习28 主窗口中的工具栏
C语言队列
C语言航班订票系统
C language queue
LeetCode 90:子集 II
MySQL multi column index (composite index) features and usage scenarios
LeetCode中等题之我的日程安排表 I
探索干货篇!Apifox 建设思路
2022 National latest fire-fighting facility operator (primary fire-fighting facility operator) simulation questions and answers