title: Groovy script to get the request xml
body: <p>I can get the response xml using Groovy script. I need to get the request XML since I need to add 'assertion script' to my soap ui testing.</p>
  
  <p>I am using the following code to get the response xml </p>
  
  <pre><code>def response = new XmlHolder(messageExchange.responseContentAsXml)
  </code></pre>
  
  <p>But I am not sure how to get the request xml of SOAPUI. Can anyone please help me in getting the request xml of SOPAUI?</p>