cancel
Showing results for 
Search instead for 
Did you mean: 

save a soap response to a file

rdebie
Contributor

save a soap response to a file

Hello,

How can i save a soap response to a file from a groovy script?

greetings
2 REPLIES 2
omatzura
Super Contributor

Re: save a soap response to a file

Hi!

try the following;

def msg = context.getProperty( "request-step#Response" )
new File( "testout.txt" ).write( msg )


regards!

/Ole
eviware.com
rdebie
Contributor

Re: save a soap response to a file

Cool,

Tanx that's just what iam looking for
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors