rdebieContributor17 years agosave a soap response to a fileHello,How can i save a soap response to a file from a groovy script?greetings
2 RepliesReplies sorted by Most LikedSort ByMost LikedOldestNewestomatzuraSuper Contributor17 years agoHi!try the following;def msg = context.getProperty( "request-step#Response" )new File( "testout.txt" ).write( msg )regards!/Oleeviware.comrdebieContributor17 years agoCool,Tanx that's just what iam looking for
omatzuraSuper Contributor17 years agoHi!try the following;def msg = context.getProperty( "request-step#Response" )new File( "testout.txt" ).write( msg )regards!/Oleeviware.com
Related ContentSaving request and responseGet soap response contentsave pdf from responseSOAP Response timeoutInvalid date value in SOAP Response
Recent DiscussionsHow do I prevent a file path from being altered when being parsed by JsonSlurper in Groovy Script?Multipart requests getting blocked by the Azure WAF 200003Parameterising JDBC Connection Settings..Can you do it?Darshan Hiranandani - How do I use an API in my application?Mismatch between response from a CURL request and ReadyAPI responseSolved