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

相关推荐
蜡笔小谢6 小时前
DeepSeek Harness Java 实战笔记(五)|插件、MCP 与 Skill
java·笔记·ai·agent·deepseek·harness
FRing037 小时前
vue2干货总结12(loading效果、全局前置导航守卫、搜索历史管理)
开发语言·前端·javascript·vue.js·vue2
wefg17 小时前
【项目】C++ 基于 Vibe Coding 的 OJ 平台
开发语言·c++
唐老板7 小时前
Spring AI 2.0 只支持 Boot 4
java
琳少_10 小时前
java程序设计笔记
java·开发语言·数据库·笔记
小荷才露尖尖角,早有蜻蜓立上头11 小时前
SpringBoot 定时任务
java·spring boot·后端
Helix25012 小时前
JDK高频报错速查手册:javac不是内部命令、内存溢出、版本不兼容等12类问题解决方法
java·开发语言·内存溢出·java异常处理·jdk版本兼容·jdk报错·javac报错
郝学胜-神的一滴13 小时前
Effective STL 条款 07:指针容器销毁前先删除
开发语言·c++·vscode·leetcode·rpc·visual studio
CoderYanger13 小时前
A.每日一题:2243. 计算字符串的数字和
java·开发语言·程序人生·leetcode·面试·蓝桥杯·学习方法
摇滚侠14 小时前
《On Java 中文版 基础卷》阅读笔记 接口 19
java·开发语言·笔记