当前位置:网站首页>How to use Jmeter to carry out high concurrency in scenarios such as panic buying and seckill?
How to use Jmeter to carry out high concurrency in scenarios such as panic buying and seckill?
2022-07-30 09:12:00 【God is the Tao, Taoism is the natural Tathagata】
Main introduction here
Sync timer: Blocks the thread (accumulates a certain number of requests), when the specified time reaches the strong>A certain number of threads, these threads will be released together at the same time point Parameter introduction: -If it is greater than 0, then if the set number of threads has not been reached after the maximum waiting time set in Timeout in milliseconds, Steps The first step, right-click on the test plan, add a thread group Set the number of threads to: 100 Set the Ramp-Up time to: 10 The second step, add HTTP request, fill in the url to be concurrent The third step, in the http request, add a synchronization timer, Set Number of Simulated Users to Group by to: 20 Set Timeout in milliseconds (unit: milliseconds) to: 5000 The fourth step, right-click on the test plan, add a view result tree Step 5, right-click on the test plan, add listener-aggregation report The sixth step, run jmeter to view the aggregated report
Number of Simulated Users to Group by: The number of simulated users, that is, the number of threads to be released at the same time.
- If set to 0, it is equal to the number of threads set to the thread group
Timeout in milliseconds: Timeout time, that is, how many milliseconds after the timeout, the specified number of threads will be released at the same time;
-If set to 0, the timer will wait for the number of threads to reachThe set number of threads is released until the set number of threads is reached. If the set number of threads is not reached, it will continue to die.
Timer will no longer wait and release the threads that have arrived.Default is 0









边栏推荐
- Thinking about digital transformation of construction enterprises in 2022, the road to digital transformation of construction enterprises
- typescript5-编译和安装ts代码
- 剑指offer 48:最长不重复子串
- 与tcp协议有关的几个知识点
- tabindex attribute of input tag & tabindex attribute of a tag
- 基于SSM实现个性化健康饮食推荐系统
- It is said that FPGA is high-end, what can it do?
- MagicDraw二次开发过程
- 【无标题】
- hcip实验
猜你喜欢

阿里云国际版云服务器防火墙设置

SQL window function
![[Fun BLDC series with zero basics] Taking GD32F30x as an example, the timer related functions are explained in detail](/img/1d/700c79a766f115d5d0f3bd8263d67c.png)
[Fun BLDC series with zero basics] Taking GD32F30x as an example, the timer related functions are explained in detail

Thinking about digital transformation of construction enterprises in 2022, the road to digital transformation of construction enterprises

One article to understand twenty kinds of switching power supply topologies

基于SSM实现个性化健康饮食推荐系统

leetcode力扣——一篇文章解决多数之和问题

JS中对事件流的理解

C language classic practice questions (3) - "Hanoi Tower (Hanoi)"

FPGA基础协议二:I2C读写E²PROM
随机推荐
typescript1-typescript是什么
Thinking about digital transformation of construction enterprises in 2022, the road to digital transformation of construction enterprises
【小程序专栏】总结uniapp开发小程序的开发规范
TreeSet解析
七大排序之直接选择排序
JS中对事件流的理解
基于JSP实现校园二手交易平台
【无标题】
信号完整性测试
SwiftUI SQLite 教程之 构建App本地数据库实现创建、读取、更新和删除(教程含完成项目源码)
test4
C language classic practice questions (3) - "Hanoi Tower (Hanoi)"
【无标题】
function (1)
[Mini Program Column] Summarize the development specifications of uniapp to develop small programs
电源完整性基础知识
stugc_paper
Detailed explanation of 4D words: C language three-point chess advanced + N-piece chess recursive dynamic judgment of winning or losing
RFID固定资产盘点系统给企业带来哪些便利?
js currying