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

相关推荐
稚南城才子,乌衣巷风流2 小时前
函数:编程中的核心概念
开发语言·前端·javascript
阿米亚波2 小时前
【C++】流式数据输入处理(不完全整理)
开发语言·c++·笔记
大模型码小白3 小时前
JAVA 集合框架进阶:List 与 Set 的深度解析与实战
java·开发语言·人工智能·windows·语言模型·list·ai编程
名字还没想好☜3 小时前
Go 的 time.Ticker 陷阱:定时任务里被忽略的内存泄漏与正确关闭
java·数据库·golang·go·定时器
皓月斯语3 小时前
【C++基础】三目运算符
开发语言·数据结构·c++
音符犹如代码4 小时前
后端视角看 EventBus:发布订阅总线的原理、场景与用法
java·spring boot·guava
前端炒粉4 小时前
手撕小汇总
java·前端·javascript
初願致夕霞4 小时前
C++懒汉单例设计详解
服务器·开发语言·c++
脱胎换骨-军哥4 小时前
C++分布式系统设计:从通信引擎到分布式共识
开发语言·c++·分布式
唐青枫4 小时前
Java Kafka 实战指南:从 Topic、分区到 Spring Boot 可靠消息处理
java