ilpeppino
10 years agoNew Contributor
Set JMS header properties with Groovy
Hi,
I'm using SOAPUI 5.0.0 free version. I created a Groovy script that reads xml files from a folder and creates test steps within a test case, using the xml as request messages. Even though the xml template message has JMSDeliveryMode set to NON_PERSISTENT and Add SoapAction as property to true, the test steps have the values set to PERSISTENT and false.
I wanted to know if it was possible to set these values with Groovy or configure it (somehow) in Hermes, so I can avoid to set manually these values for every created test step.
PS: if this can help, I looked into the xml file of the soapui project, and I see that these attributes are defined for the request messages in the following way:
<con:jmsConfig JMSDeliveryMode="NON_PERSISTENT" soapActionAdd="true"/>
Thanks for your help!!!
Giuseppe