Forum Discussion
omatzura
17 years agoSuper Contributor
Hi!
there are 2 main options:
1) get the DOM node for the common parent (via GroovyUtils/XmlHolder.getDomNode) and use standard Node manipulation methods to insert the desired content
2) create the desired content as a string in your groovy script and use property expansion to "insert" it in the request.. ie in your script write
context.myArray = 'xml string'
and in the request use
${arrayContent}
Hope this helps!
regards,
/Ole
eviware.com
there are 2 main options:
1) get the DOM node for the common parent (via GroovyUtils/XmlHolder.getDomNode) and use standard Node manipulation methods to insert the desired content
2) create the desired content as a string in your groovy script and use property expansion to "insert" it in the request.. ie in your script write
context.myArray = 'xml string'
and in the request use
${arrayContent}
Hope this helps!
regards,
/Ole
eviware.com
Related Content
- 8 months agoHenrikHL
- 5 years agoradekoziol
- 2 years agolia
- 11 months agoNicolaFilosa_SE
Recent Discussions
- 17 hours agodipsthorat
- 21 hours agoisbiat
- 2 days agoarmygrad