Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JMS Publisher not updating values when jndi.properties file changes #6275

Open
johnqa opened this issue Apr 26, 2024 · 1 comment
Open

JMS Publisher not updating values when jndi.properties file changes #6275

johnqa opened this issue Apr 26, 2024 · 1 comment

Comments

@johnqa
Copy link

johnqa commented Apr 26, 2024

Expected behavior

No response

Actual behavior

No response

Steps to reproduce the problem

I have a test plan to publish/subscribe using JMS Publisher and JMS Subscriber.

Before JMS Publisher is called I have e JSR223 Preprocessor that creates a jndi.properties file with a dynamic name containing the thread number.

When running the script I see that, even if JMS Publisher uses the different JNDI files, it always publishes to the queue from the first file. Somehow it seems this is cached.

Result of execution:
image

JMS Publisher:
image

jndi.properties file:
image

On the other hand, the JMS Subscriber properly tries to consume messages from the proper queue when loading the same jndi file.

Thank you

JMeter Version

5.6.2

Java Version

java 11.0.16.1

OS Version

Microsoft Windows 10.0.19044.4291

@johnqa
Copy link
Author

johnqa commented Apr 26, 2024

it looks very similar to this #3630 but doesn't seem to work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant