Forum Discussion
nmrao
10 years agoCommunity Hero
Which version of ReadyAPI are you using? JMS Test step? You mean, JMS Soap Request?
- simonjdonnelly10 years agoContributor
ReadyAPI 1.4.1. Yes, I mean JMS Soap Request.
- nmrao10 years agoCommunity Hero
Would you please add info like what exactly you were trying to achieve in groovy?
May be one way to check based on the end point starts with jms, so you can say it is a jms transport.
Provide specific details, that will be much easier if the above pointer does not help.- nmrao10 years agoCommunity Hero
Here some code snippet for what I replied earlier
//Provide the actual test step name (JMS Soap Request)as per your environment def stepName = 'step1' def endpoint = context.testCase.testSteps[stepName].properties['Endpoint'].value if (endpoint.startsWith('jms')) { //do the needful for you here as you know it is jms request was sent } else { log.warn "${stepName} is not a JMS Soap Request" }