当前位置:网站首页>用 Jmeter 工具做个小型压力测试
用 Jmeter 工具做个小型压力测试
2022-07-05 04:53:00 【大田测试录】
大家好啊,我是大田。
今天给大家分享下,大田在平常工作中,使用 Jmeter 做完接口测试后,如何去简单做个压力测试,看本次测试接口的承载能力。
在接口测试的基础上增加一个元件:聚合报告。

步骤:
1、准备好批量的压测数据,这个数据是来源于接口测试过程,将数据保存在 CSV 或者 txt 文件中;

2、创建 CSV 元件,配置好文件路径,以及各个变量名称,应为数据文件中各个表头数据;

3、在 HTTP 请求中使用 ${} 去引用上述图中各个变量,如:${变量名1};
4、在线程组中设置要并发的数量即下图中的线程数,还可以勾选调度器,设置持续时间和启动线程组时延迟时间。

备注:
大家可以去 Jmeter官网中下载安装包,下载完成后直接解压压缩包,把安装包安装到电脑中的某个位置,接下来配置环境变量。
以上就是大田今天的分享,如果你觉得有用,可以给大田点个赞~
边栏推荐
- Rip notes [rip three timers, the role of horizontal segmentation, rip automatic summary, and the role of network]
- The first topic of ape Anthropology
- 質量體系建設之路的分分合合
- Number theoretic function and its summation to be updated
- AutoCAD - scaling
- [groovy] closure closure (customize closure parameters | customize a single closure parameter | customize multiple closure parameters | specify the default value of closure parameters)
- Sqlserver stored procedures pass array parameters
- 【Leetcode】1352. 最后 K 个数的乘积
- Emlog博客主题模板源码简约好看响应式
- 介绍汉明距离及计算示例
猜你喜欢

AutoCAD - feature matching

Group counting notes (1) - check code, original complement multiplication and division calculation, floating point calculation

AutoCAD - workspace settings
![[Business Research Report] top ten trends of science and technology and it in 2022 - with download link](/img/9f/4fc63fa7b0e9afc5dd638d4b599b2c.jpg)
[Business Research Report] top ten trends of science and technology and it in 2022 - with download link

49 pictures and 26 questions explain in detail what is WiFi?
![[groovy] closure (Introduction to closure class closure | closure parametertypes and maximumnumberofparameters member usage)](/img/1b/1fa2ebc9a6c5d271c9b39f5e508fb0.jpg)
[groovy] closure (Introduction to closure class closure | closure parametertypes and maximumnumberofparameters member usage)

LeetCode之单词搜索(回溯法求解)

xss注入
![[PCL self study: feature9] global aligned spatial distribution (GASD) descriptor (continuously updated)](/img/2b/933586b6feff1d48c5bee11cd734ba.jpg)
[PCL self study: feature9] global aligned spatial distribution (GASD) descriptor (continuously updated)

C4D simple cloth (version above R21)
随机推荐
数论函数及其求和 待更新
The difference between bundle, chunk and module
中国聚氨酯硬泡市场调研与投资预测报告(2022版)
[groovy] closure (closure parameter list rule | default parameter list | do not receive parameters | receive custom parameters)
AutoCAD - scaling
669. Prune binary search tree ●●
2020-10-27
MD5 bypass
Special information | real estate and office buildings - 22.1.9
Number theoretic function and its summation to be updated
次小生成树
中国针状焦行业发展研究与投资价值报告(2022版)
Understand encodefloatrgba and decodefloatrgba
Redis 排查大 key 的4种方法,优化必备
Flink cluster configuration
Detailed introduction of OSPF header message
On-off and on-off of quality system construction
[groovy] closure (closure call | closure default parameter it | code example)
[PCL self study: feature9] global aligned spatial distribution (GASD) descriptor (continuously updated)
AutoCAD - feature matching