Forum Discussion
15 years ago
I am using the XmlHolder object to hold the response content. Then, I print directly it's content in a pretty XML format into a file.
And it works well.
Though, I didn't know about the dumpFile property...
import com.eviware.soapui.support.XmlHolder
def response = new XmlHolder(messageExchange.responseContent)
File responseFile = new File("filename.out")
responseFile.write(response.prettyXml)
And it works well.
Though, I didn't know about the dumpFile property...