Hey all!
I am currently stuck trying to build a certain JMS scenario and maybe someone here has an idea.
The JMS DSL caches connections per connection factory in a hash map. This absolutely makes sense in regular scenarios.
Now we have the case that we want to run a simulation of a lot of different client apps opening jms connections to our broker.
So far the only way I can think of is to have the scenario run on multiple source hosts which poses it’s own challenges.
Does anyone have an idea how we could force a new connection per virtual user?
I tried having the connection factory object return a random hashcode on each invocation hoping that this would result in misses when checking the hash map but without success.
Another idea was to duplicate the scenario and call that multiple times in the setup method but even then all requests are handled by a single connection.
Any ideas are welcome