johnqa opened a new issue, #6275:
URL: https://github.com/apache/jmeter/issues/6275

   ### 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](https://github.com/apache/jmeter/assets/4747139/5a522b19-a252-40ef-94cf-f3488e4090e0)
   
   JMS Publisher:
   
![image](https://github.com/apache/jmeter/assets/4747139/0e40f19f-aeb2-411c-b120-6bf4293ba69c)
   
   jndi.properties file:
   
![image](https://github.com/apache/jmeter/assets/4747139/e930a62a-d692-42f9-9911-fbac7a2869b3)
   
   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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@jmeter.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to