apache / apache/jmeter

JMSSampler (P2P) does not support Timers

Open
#6,366 0 comments 0 reactions 0 assignees View on GitHub
defect to-triage
Dominant language
Java
Stars
9.5k
Forks
2.3k
Avg merge
1d 22h
Merged PRs (30d)
5

Description

### 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](https://github.com/user-attachments/files/17498240/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]

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.