当前位置:网站首页>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









边栏推荐
猜你喜欢
随机推荐
The blockbuster IP that has been popular in the world for 25 years, the new work has become a script paradise
hcip第八天
桌面软件开发框架大赏
蓝牙技术|了解蓝牙LE Audio的Auracast广播音频
积分简明笔记-第一类曲线积分的类型
【零基础玩转BLDC系列】以GD32F30x为例定时器相关功能详解
input标签的tabindex属性 & a标签的tabindex属性
How to Assemble a Registry
BaseQuickAdapter方法getBindingAdapterPosition
电源完整性基础知识
typescript6-简化运行ts的步骤
Dynamic Lead Time Promising
【蓝桥杯选拔赛真题45】Scratch猫鼠游戏 少儿编程scratch蓝桥杯选拔赛真题讲解
test2
【科普向】5G核心网架构和关键技术
cmd命令
基于SSM实现个性化健康饮食推荐系统
都说FPGA高端,它到底能干啥?
MongoDB - 千万级数据脚本过滤笔记
【微信小程序】页面事件








