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
- 11 years ago
- 2 years ago
- 2 years ago
Recent Discussions
- 11 days ago