The JMeter documentation does an excellent job of describing how to set up a test plan for a JMS provider. However there are still a few provider specific details you need to know:
Make sure you’ve copied all the jars from TIBCO_HOME\ems\6.0\lib to jmeter\lib!
The InitialContextFactory for TIBCO EMS 6.0 is:
A fault tolerant Provider Url looks like:
It’s also worth setting the reconnect_attempt_delay (or count) reasonably high in your connection factory, as it can take a while for failover to succeed.
[LoadTesting] type = topic url = tcp://machine1:7222,tcp://machine2:7222 reconnect_attempt_delay = 10000
If you’re using durable subscribers, you can only have one thread (user) per subscriber as the client id must be unique. And the permissions are different (durable & use_durable).
You can’t use MapMessage, stick with TextMessage.
There’s a bug in JMeter 2.5.1 (fixed in the trunk) that may cause you to see NPEs when getting the connection (InitialContextFactory.lookupContext doesn’t use the map/cache properly).