Admins
4 years agoOccasional Contributor
Write SOAP Body to File for Mock Service
I have a Mock Service running in SOAPUI and I want to get the message inside the SOAP Body for the Request and write it out to a file.
I have tried many methods but just can't seem to get the SOAP Body. I can get the Request which is the SOAP Envelope but get stuck here.
I am writing some groovy script in the OnRequest Script for the Mock Service, not sure if this is the right place.
Any help would be most appreciated.