jmeter定时器-Constant Throughput Timer

jmeter定时器-Constant Throughput Timer

说明

  1. Target Throughput(minute):每分钟吞吐量
  2. Calculate Ghtrouhput based on:吞吐量基于下面几种方式计算
    (1)this thread only:基于当前线程。如Number of Thread=5.则TPS=5*2=10
    (2)all active threads:所有活跃的线程
    (3)all active threads in current thread group:当前线程组所有活跃的线程
    (4)all active thread(shared):所有活跃的线程(共享)
    (5)all active threads in current thread group(shared):当前线程组中的所有活跃的线程(共享)

测试场景

新增Constant Throughput Timer

this Thread only


执行结果
结论

选择this thread only时,TPS=目标吞吐量*线程数

all active threads


执行结果
结论

选择all active threads 时,TPS=目标吞吐量

all active threads in current thread group


执行结果


结论

选择all active threads in current thread group时,TPS=目标吞吐量

all active threads(shared)


执行结果


结论

选择all active threads(shared)时,TPS=目标吞吐量/所有活跃线程=2/2=1

all active threads in current thread group(shared)


执行结果


结论

选择all active threads(shared)时,TPS=目标吞吐量/单线程组下所有活动的线程=2/1=1

相关推荐
江南十四行14 分钟前
Python上下文管理器与with语句——资源管理的艺术
java·jvm·数据库
书源丶15 分钟前
四十五、函数式接口与 Lambda 表达式
java·开发语言
直奔標竿16 分钟前
MySQL与Redis数据一致性实战方案(避坑指南)
java·数据库·spring boot·redis·mysql·spring·缓存
java1234_小锋18 分钟前
Java进程突然挂了如何排查?
java·开发语言
夕除22 分钟前
spring boot--04
java·spring boot
java小白小44 分钟前
Guava Cache 本地缓存
java
梦梦代码精1 小时前
LikeShop 二次开发扩展能力白皮书——面向业务增长的可扩展电商架构实践
java·架构·github
极客先躯1 小时前
高级java每日一道面试题-2025年12月05日-实战篇[Dockerj]-Docker 安装后的默认存储路径是什么?如何修改?
java·docker·默认存储路径在不同系统上的区别·linux overlay2·修改存储路径的理论方法·修改流程中的关键理论点
祁_z1 小时前
LangSmith 实操指南「Agent 可观测性系统」
java·服务器
小雅痞1 小时前
[Java][Leetcode hard] 76. 最小覆盖子串
java·算法·leetcode