dougmc
8 years agoNew Contributor
Dynamic JMS MessageSelector
I am using ReadyAPI 1.9.0 with SOAPUI NG PRO.
I have a JMS Test Step where I dynamically set the JMSCorrelationID as ${=java.util.UUID.randomUUID()}.
How can I set the MessageSelector so that it looks for JMSCorrelationID that was sent?
Since I am using a random value, I cannot hard-code the MessageSelector.
thanks!
Doug
- Instead you may use test case level custom property and use property expansion.
Generate UUID, store it at custom property say UUID and use ${#TestCase#UUID} while sending and as selector too.