chioubaca
12 years agoOccasional Contributor
Replace complete POST Request XML Content using Groovy scrip
Hi,
I'm sending POST request using SoapUI and I want to replace the current XML content of my request with a String I created using a groovy script.
I've found several ways to update one node value of my request (using getXmlHolder and setNodeValue), but no way to replace the whole xml content of my POST request.
Is there a way to replace the whole content of my xml request with a String ?
Thanks a lot for your answer.
I'm sending POST request using SoapUI and I want to replace the current XML content of my request with a String I created using a groovy script.
I've found several ways to update one node value of my request (using getXmlHolder and setNodeValue), but no way to replace the whole xml content of my POST request.
Is there a way to replace the whole content of my xml request with a String ?
Thanks a lot for your answer.