Forum Discussion
omatzura
17 years agoSuper Contributor
Hi!
try wrapping the FileWriter with a PrintWriter:
def FileName = new PrintWriter( new FileWriter( "d:/out.txt" ))
Alternatively just set the dumpFile property (since 2.5) on your request to the desired filename and soapUI will dump the response to that file allowing you to skip the code altogether. You can use property-expansion in this field if you want to control the filename somehow.
regards!
/Ole
eviware.com
try wrapping the FileWriter with a PrintWriter:
def FileName = new PrintWriter( new FileWriter( "d:/out.txt" ))
Alternatively just set the dumpFile property (since 2.5) on your request to the desired filename and soapUI will dump the response to that file allowing you to skip the code altogether. You can use property-expansion in this field if you want to control the filename somehow.
regards!
/Ole
eviware.com