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

相关推荐
日月云棠1 天前
各版本JDK对比:JDK 25 特性详解
java
用户8307196840821 天前
Spring Boot 项目中日期处理的最佳实践
java·spring boot
JavaGuide1 天前
Claude Opus 4.6 真的用不起了!我换成了国产 M2.5,实测真香!!
java·spring·ai·claude code
IT探险家1 天前
Java 基本数据类型:8 种原始类型 + 数组 + 6 个新手必踩的坑
java
花花无缺1 天前
搞懂new 关键字(构造函数)和 .builder() 模式(建造者模式)创建对象
java
用户908324602731 天前
Spring Boot + MyBatis-Plus 多租户实战:从数据隔离到权限控制的完整方案
java·后端
桦说编程1 天前
实战分析 ConcurrentHashMap.computeIfAbsent 的锁冲突问题
java·后端·性能优化
程序员清风1 天前
用了三年AI,我总结出高效使用AI的3个习惯!
java·后端·面试
beata1 天前
Java基础-13: Java反射机制详解:原理、使用与实战示例
java·后端
用户0332126663671 天前
Java 使用 Spire.Presentation 在 PowerPoint 中添加或删除表格行与列
java