Forum Discussion
nmrao
Champion Level 3
def hermes = HermesUtils.getHermes(context.testCase.testSuite.project, jmsEndPoint.sessionName) def jmsConnectionHolder = new com.eviware.soapui.impl.wsdl.submit.transports.jms.JMSConnectionHolder(jmsEndPoint, hermes, false, clientID, username, password)
See if this is helpful.
Said
9 years agoContributor
Thanks for you suggestion Rao.
I pasted this:
def hermes = HermesUtils.getHermes(context.testCase.testSuite.project, jmsEndPoint.sessionName)
But I get this error on that line:
groovy.lang.MissingPropertyException: No such property: jmsEndPoint for class: Script2 error at line: 22.
I added line below to check the sessionName
log.info "jmsEndpoint.sessionName: " + jmsEndpoint.sessionName
Gives: jmsEndpoint.sessionName: WMQ_PRIVATE_SESSIONNAME
I get the session name there. Could it be an issue with processing hermes-config.xml?
Related Content
- 3 years ago
- 30 days ago
- 4 years ago
Recent Discussions
- 2 days ago