title: How to get the assertion data in SoapUI using Groovy script?
body: <p><a href="https://i.stack.imgur.com/I0rBU.png" rel="nofollow noreferrer">enter image description here</a></p>
  <p>I have a SOAP request. Some times it gives a null/empty response. I have added assertion for the request and I am getting the assertion status and description. But how can I get the message &quot;null/empty response&quot;(screen shot of the message is attached) using the Groovy script.</p>
  <pre><code>def assertionsList = testRunner.getTestCase().getTestStepByName(&quot;&quot;+testStep[i]+&quot;&quot;).getAssertionList()
  
  assertioncounter = assertionsList.size()
  
  for( e in assertionsList){                                        
       log.info e.status
       log.info e.DESCRIPTION
      }
  </code></pre>