cancel
Showing results for 
Search instead for 
Did you mean: 

save a soap response to a file

Highlighted
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
Highlighted
Super Contributor

Hi!

try the following;

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


regards!

/Ole
eviware.com
Highlighted
Contributor

Cool,

Tanx that's just what iam looking for
New Here?
Join us and watch the welcome video:
Announcements
TechCorner Leaderboard
Want a fun and easy way to learn ReadyAPI and show off your skills? Try solving weekly TechCorner challenges and get into the Leaderboard!


Challenge Status

Get a full Raw JMS request

Participate!

Compare an expected JSON value and actual response in Events

Participate!

Fetch value/data from JSON response using Groovy Script

See replies!

Get data from Petstore and add it to Excel sheets

Participate!
Top Kudoed Authors