Forum Discussion
omatzura
17 years agoSuper Contributor
Hi,
easiest way to save the entire response to files would probably be to create a Groovy Script Step after your request, containing something like the following:
Hope this helps!
regards,
/Ole
eviware.com
easiest way to save the entire response to files would probably be to create a Groovy Script Step after your request, containing something like the following:
def datasource = testRunner.testCase.testSteps["<Name of DataSource>"]
def outFile = new FileOutputStream('response-' + datasource.currentRow + '.txt')
outFile.write( context.expand( '<Name of Request Step>#Response' ))
outFile.close()
Hope this helps!
regards,
/Ole
eviware.com
Related Content
- 3 years agoMoUddin
- 3 years agoLucian
- 3 years agoprasath_2k
Recent Discussions
- 6 hours agoKLWallace
- 7 days agoruchisingh