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

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

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

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

备注:
大家可以去 Jmeter官网中下载安装包,下载完成后直接解压压缩包,把安装包安装到电脑中的某个位置,接下来配置环境变量。
以上就是大田今天的分享,如果你觉得有用,可以给大田点个赞~
边栏推荐
- 3dsmax common commands
- [goweb development] Introduction to authentication modes based on cookies, sessions and JWT tokens
- Create a pyGame window with a blue background
- China needle coke industry development research and investment value report (2022 Edition)
- PostgreSQL surpasses mysql, and the salary of "the best programming language in the world" is low
- Setting up redis cluster cluster under Windows
- 【acwing】528. cheese
- 中国艾草行业研究与投资前景预测报告(2022版)
- The remainder operation is a hash function
- 2021 electrician cup idea + code - photovoltaic building integration plate index development trend analysis and prediction: prediction planning issues
猜你喜欢

2021-10-29

2022 thinking of mathematical modeling C problem of American college students / analysis of 2022 American competition C problem

Create a pyGame window with a blue background

计组笔记(1)——校验码、原补码乘除计算、浮点数计算

Unity parallax infinite scrolling background

MySQL in-depth learning - index creation and deletion, index design principles, index failure scenarios, query optimization, index push down ICP
![[groovy] closure closure (customize closure parameters | customize a single closure parameter | customize multiple closure parameters | specify the default value of closure parameters)](/img/92/937122b059b6f3a91ae0e0858685e7.jpg)
[groovy] closure closure (customize closure parameters | customize a single closure parameter | customize multiple closure parameters | specify the default value of closure parameters)

2022 thinking of Mathematical Modeling B problem of American college students / analysis of 2022 American competition B problem

2022 thinking of mathematical modeling a problem of American college students / analysis of 2022 American competition a problem

Redis 排查大 key 的4种方法,优化必备
随机推荐
How to choose a panoramic camera that suits you?
Wenet: E2E speech recognition tool for industrial implementation
2021 huashubei mathematical modeling idea + reference + paper
2022 thinking of Mathematical Modeling B problem of American college students / analysis of 2022 American competition B problem
The 22nd Spring Festival Gala, an immersive stage for the yuan universe to shine into reality
AutoCAD - set layer
SQL set operation
An article takes you to thoroughly understand descriptors
Looking at Chinese science and technology from the Winter Olympics: what is the mystery of the high-speed camera that the whole people thank?
Solutions and answers for the 2021 Shenzhen cup
China needle coke industry development research and investment value report (2022 Edition)
Private collection project practice sharing [Yugong series] February 2022 U3D full stack class 006 unity toolbar
AutoCAD -- dimension break
[AI bulletin 20220211] the hard core up owner has built a lidar and detailed AI accelerator
3dsmax snaps to frozen objects
Number theoretic function and its summation to be updated
English topic assignment (26)
Sixth note
Data security -- 14 -- Analysis of privacy protection governance
775 Div.1 B. integral array mathematics