Forum Discussion

rdebie's avatar
rdebie
Contributor
17 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

2 Replies

  • 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