kvsspkumar
8 years agoNew Contributor
how to get JMS custom properties from response message to use in groovy or in property transfer
HI experts,
My use case is to retrieve JMS message from a topic and publish the message with all JMS properties to a queue. By browsing internet I found JMSMessageID can be retrieved like ${=context.testCase.testSteps["begin"].testRequest.response.messageReceive.JMSMessageID} in grrovey.
JMSMessageID is in-built property so it worked but I am interested in custom attributes also. "table" is custom property set to the response message.
Can some one help me how to retrieve JMS custom attributes from response message in groovy or in property transfer
Thanks
Kumar
- Not a separate Groovy Script test step. Add Script Assertion for the same request where you get the response.