Forum Discussion
SuperSingh
Contributor
nmrao I did try that step. But it doesn't work.
It creates a file with no data in it. I tried changing the file formats to .txt but no luck . :(
SuperSingh
8 years agoContributor
I got it . The following is the difference and it works.
def ResFile ="C:/Testing Lab/Soap TestBed/Response Data/Response1.xml"
def Res = context.expand( '${Rate#ResponseAsXml}' )
def j = new File(ResFile)
j.write(Res, "UTF-8")
Thanks all for the help !
Thanks,
PredatorSingh
Related Content
Recent Discussions
- 15 years ago