Forum Discussion
nmrao
10 years agoCommunity Hero
Did you try below for single response? Then add the same for different tests for multiple occurrences.
Bala_1980
10 years agoOccasional Contributor
Hi, its working now with the following lines of code:
def myOutFile = "File Path"
def response = context.expand( '${Methodname#Response}' )
def myOutFile1 = new File(myOutFile)
myOutFile1.write(response, "UTF-8")