Through a groovy teststep in soapUI i want all request and response files to be stored in a local directory with system date.
The groovy teststep in soapUI:
There are several ways of doing this. One would be creating a Groovy test step with the following script:
def myOutFile = "C:/Temp/MyOutDir/response.xml" def response = context.expand( '${MyTestRequest#Response}' ) def f = new File(myOutFile) f.write(response, "UTF-8")