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









边栏推荐
猜你喜欢

typescript7-typescript common types

JS中对事件流的理解

浅论各种调试接口(JTAG、SWD、RDI、Jlink、Ulink、STlink)的区别

积分简明笔记-第二类曲线积分的类型

SRAM与DRAM的区别

【蓝桥杯选拔赛真题45】Scratch猫鼠游戏 少儿编程scratch蓝桥杯选拔赛真题讲解

How to implement Golang DES encryption and decryption?

One article to understand twenty kinds of switching power supply topologies

瑞吉外卖项目(五) 菜品管理业务开发

MagicDraw secondary development process
随机推荐
SQL的substring_index()用法——MySQL字符串截取
HashSet和LinkedHashSet
Detailed explanation of 4D words: C language three-point chess advanced + N-piece chess recursive dynamic judgment of winning or losing
出网判断:
How to implement Golang DES encryption and decryption?
信号完整性测试
leetcode力扣——一篇文章解决多数之和问题
用示波器揭示以太网传输机制
SQL行列转换
剑指offer 48:最长不重复子串
It is said that FPGA is high-end, what can it do?
JS中对事件流的理解
Webview中的超链接点击到外部浏览器打开
[Unity]UI切换环形滚动效果
stugc_paper
基于SSM实现高校后勤报修系统
Alibaba Cloud Cloud Server Firewall Settings
TreeSet parsing
Golang DES 加解密如何实现?
【愚公系列】2022年07月 Go教学课程 021-Go容器之切片操作