当前位置:网站首页>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
边栏推荐
猜你喜欢
随机推荐
HashSet and LinkedHashSet
leetcode力扣——一篇文章解决多数之和问题
都说FPGA高端,它到底能干啥?
hcip 第14天学习笔记
ant-design form表单校验upload组件(附个人封装的上传组件)
剑指offer 48:最长不重复子串
js currying
【Flask框架①】——Flask介绍
剖析SGI STL空间配置器(空间配置器的重要性和重要成员及函数)
香港服务器iis配置web服务器如何操作?
一文读懂二十种开关电源拓扑结构
DDR、GDDR、QDR的区别
Leetcode - 990: equations of satisfiability
stugc_paper
【蓝桥杯选拔赛真题45】Scratch猫鼠游戏 少儿编程scratch蓝桥杯选拔赛真题讲解
基于JSP实现校园二手交易平台
typescript4 - installs a toolkit for compiling ts
input标签的tabindex属性 & a标签的tabindex属性
经典毕业设计:基于SSM实现高校后勤报修系统
集合相关Collection