apache / jmeter

Apache JMeter open-source load testing tool for analyzing and measuring the performance of a variety of services
https://jmeter.apache.org/
Apache License 2.0
8.42k stars 2.1k forks source link

JMSSampler (P2P) does not support Timers #6366

Open GreySpike opened 1 month ago

GreySpike commented 1 month ago

Expected behavior

If I add any of the Timers e.g. Constant Throughput Timer or Precise Throughput Timer then I expect JMSSampler to respect it.

Actual behavior

The message rate is unaffected by any settings in the Timer.

Steps to reproduce the problem

The attached test plan has both JMS Sampler and JMS Subscriber versions, so that it is easy to toggle between them.

The Subscriber correctly locks in at 100tps; the Sampler rate varies according to the number of threads. QDrain-Test.jmx.txt

JMeter Version

5.6.3

Java Version

openjdk version "21.0.2" 2024-01-16 LTS

OS Version

Microsoft Windows [Version 10.0.22631.3737]