Forum Discussion
omatzura
18 years agoSuper Contributor
Hi Juergen,
It shouldn't be that difficult,
// get the request object
def request = testRunner.testCase.testSteps["Request 1"].testRequest
// get the actual messages
def requestContent = request.requestContent
def responseContent = request.response.contentAsString'
// save them
...
(check the GroovySQL documentation..)
soapUI Pro has a DataSink TestStep which makes it a breeze to save properties like this to files, databases, etc.. Have a look at http://www.soapui.org/userguide/functio ... kstep.html
Hope this helps!
regards,
/Ole
eviware.com
It shouldn't be that difficult,
// get the request object
def request = testRunner.testCase.testSteps["Request 1"].testRequest
// get the actual messages
def requestContent = request.requestContent
def responseContent = request.response.contentAsString'
// save them
...
(check the GroovySQL documentation..)
soapUI Pro has a DataSink TestStep which makes it a breeze to save properties like this to files, databases, etc.. Have a look at http://www.soapui.org/userguide/functio ... kstep.html
Hope this helps!
regards,
/Ole
eviware.com