Forum Discussion
1 Reply
Sort By
- Alex99Contributor
In your mock request definition lookup the Script tab, see also here.
THen adjust to your needs, here I used a XML request to check if it is working.
def holder = new com.eviware.soapui.support.XmlHolder( mockRequest.requestContent ) new File('c:/foo.txt').withOutputStream { it.write holder.getNodeValue("//<xpath>").getBytes() }
Related Content
Recent Discussions
- 3 hours agoruchisingh