Jmeter固定吞吐量控制器Constant Throughput Timer

控制请求的TPS,可以使用JMETER的固定吞吐量控制器Constant Throughput Timer

Target throughput(in samples per minute):目标吞吐量(单位分钟),即每分钟执行多少次(TPM)
Calculate Throughput based on(计算吞吐量策略):
This thread only:仅对当前线程,也就是每个线程相互是不干扰的,都互相分开计算需要多少延迟时间(总吞吐量=Target throughput乘以线程数)
All active threads:针对所有线程,把所有线程的吞吐量合在一起作为因子计算
All active threads in current thread group:针对当前线程组中的所有线程
All active threads(shared):线程延迟计算是基于任意一个线程上次运行的时间,也就是随便获取一个线程的运行时间来计算,既然是随机,结果就不一定准确,所以只能是努力控制吞吐量在某一个范围
All active threads in current thread group (shared):在当前线程组中任取一个线程的上次运行时间来计算延时,与上面意思相近

posted on 2022-10-28 14:48  seamy  阅读(389)  评论(0编辑  收藏  举报