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

相关推荐
程序猿大帅3 小时前
别再只当调包侠了:用 Spring AI 落地 Function Calling,我被大模型硬生生砸出了三个大坑
java
程序员晓琪4 小时前
约定大于配置:基于 Java 包名自动生成 API 版本路由的最佳实践
java·spring boot·后端
Flittly4 小时前
【AgentScope Java新手村系列】(11)中断与恢复
java·spring boot·spring
众少成多积小致巨5 小时前
JNI (Java Native Interface) 技术手册中文参考指南
android·java·c++
东坡白菜5 小时前
破局全栈:前端开发的Java入门实战记录—JPA(2)
java·后端
SimonKing11 小时前
艹,维护AI写的代码,我心态崩了......
java·后端·程序员
用户2986985301412 小时前
Java Word 文档样式进阶:段落与文本背景色设置完全指南
java·后端
小bo波1 天前
从"任意文件复制"深挖Java I/O:字符流与字节流的本质抉择
java·nio·io流·后端开发·文件复制
nanxun8862 天前
记一次诡异的 Docker 容器"串包"故障排查
java
用户1563068103512 天前
Day01 | Java 基础(Java SE)
java