当前位置:网站首页>Using JMeter pressure test upload and download interface practice
Using JMeter pressure test upload and download interface practice
2022-07-18 05:57:00 【Data-Mining】
Catalog
Organize the pressure test script
Preface
Suddenly a task comes , Let the upload and download interfaces of the pressure test object storage service , I haven't done it before , Nor does it belong to my own work . however , Things are in a hurry , I'll just have to bite the bullet myself .
Text
Scheme Research
Speaking of pressure measuring interface , I first thought of Postman and Apipost, But after a brief look , It may be difficult to meet your pressure testing needs . therefore , I found it again JMeter, Um. , Sure enough , Implement concurrent testing so easy!
Download tool
Want to use JMeter Tools , First you need to download , Download address :Apache JMeter - Download Apache JMeter
See the figure below for specific operation :

When the download is complete , decompression .
Launch tool
This article takes mac OS The system is introduced as an example , Go to unzip directory apache-jmeter-5.5, Execute the following command :
cd bin
./jmeter.sh
This will start JMeter Tools , As shown in the figure below :

Organize the pressure test script
1. establish Upload Thread group .
2. Set up http Request defaults , Add protocol type and domain name address .

3. add to http request , Fill in the necessary upload interface parameters .

Be careful : The physical path of the uploaded file needs to be set separately , As shown in the figure below :

among ,examples Directory is JMeter A directory carried by itself , And executables jmeter At the same level .
4. Set the concurrent number of upload requests .

Pressure test results
1. 500 Path concurrency normal

2. 1000 Path concurrency normal

Conclusion
The load balancing strategy of object storage service is ok , It can meet the use requirements of basic scenarios , Of course, the specific performance also has a certain relationship with the file size . About the discussion , Later, we will have time to expand .
Author's brief introduction : Hello everyone , I am a Data-Mining(liuzhen007), Is a typical audio and video technology enthusiast , Before and after working in traditional radio and television giants and audio and video internet companies , Rich experience in audio and video live and on demand , Yes WebRTC、FFmpeg and Electron Have a very deep understanding of . It's also CSDN Blogger ( Blog star )、 Huawei cloud sharing expert ( Co creation editor 、 Top ten bloggers )、51CTO Community editor 、InfoQ Signed on , Welcome to follow me and share more dry goods !
边栏推荐
- CEO干货| CSDN演讲回顾:如何利用低代码提升研发和IT效能?
- Foundation of deep learning: 8 Convolution and pooling
- [special topic of golang database 4] golang language operation PostgreSQL for addition, deletion, modification and query
- 【用户文章】P4合并实践指南之实例拆解Resolve
- [comprehensive pen test] difficulty 2/5, recursive application, prefix and optimization
- Use excel2016's functions to generate random 16, 32, and 36 bit ID string contents
- 深度学习基础:8.卷积与池化
- 剑指 Offer打卡 数组与矩阵
- Xiamarin integrates braze to realize messaging and end-to-end notification
- If you don't want to step on those holes in SaaS, you must first understand the "SaaS architecture"
猜你喜欢

利用 JMeter 压测上传和下载接口实战

Sql笔记

Single view reconstruction -- deduction of shadow vanishing points, shadow vanishing lines, camera internal parameters and plane normal vectors

Foundation of deep learning: 8 Convolution and pooling

全球云市场增势迅猛,数据安全进入法治化的强监管时代
![[dynamic planning] - counting DP](/img/28/254790a65bd4e4803815147fc9b7ef.png)
[dynamic planning] - counting DP

【动态规划】—— 计数类DP

北航&信工所&美团提出LBDT,基于语言桥接的时空交互来进行准确指向性视频对象分割,性能SOTA!代码开源(CVPR 2022)...

Dimitra 和 Ocean Protocol 解读农业数据背后的秘密

Dimitra and ocean protocol interpret the secrets behind agricultural data
随机推荐
CPU介绍
Single view reconstruction -- deduction of shadow vanishing points, shadow vanishing lines, camera internal parameters and plane normal vectors
Create a 12g logical volume with one disk and three 5g partitions
The SQL implementation divides the values in the fields in the data table into multiple columns according to the separator
Meiker Studio - liqinghao SQL statement notes
磁盘分区标为活动的方法及取消磁盘分区标为活动的方法
抢先体验! 在浏览器里写 Flutter 是一种什么体验?
Beihang & Institute of Information Technology & meituan proposed lbdt, which is based on spatiotemporal interaction of language bridging to accurately segment directional video objects, with performan
【NDI】关于NDI的注意事项
【用户文章】P4合并实践指南之实例拆解Resolve
i7-12700H 和 R7-6800H,这两个 CPU 差距有多大?
浏览器缓存机制详解
讓企業數字化砸鍋和IT主管背鍋的軟件供應鏈安全風險指北
What is the difference between i7-12700h and r7-6800h CPUs?
database
[dynamic planning] - state compression DP
数字座舱新时代,头部企业博泰的洞见与预判
If you don't want to step on those holes in SaaS, you must first understand the "SaaS architecture"
运维-技能大杂烩
Mysql/Mairadb主从复制