Forum Discussion

rdebie's avatar
rdebie
Contributor
18 years ago

save a soap response to a file

Hello,

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

greetings
  • omatzura's avatar
    omatzura
    Super Contributor
    Hi!

    try the following;

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


    regards!

    /Ole
    eviware.com