title: How to check xml response for dynamic array elements
body: <p>I am new to groovy and soapui pro. I have below sample response that displays 2 or more array elements with dynamic data. I am wondering how to write a script assertion or xpath match to check if script passes as long as one of the elements has value 1.</p>
  
  <pre><code>&lt;ns1:SampleTests&gt;
      &lt;ns1:SampleTest1&gt;
          &lt;ns1:Test&gt;1&lt;/ns1:Test&gt;
      &lt;/ns1:SampleTest1&gt;   
      &lt;ns1:SampleTest2&gt;
          &lt;ns1:Test&gt;2&lt;/ns1:Test&gt;
      &lt;/ns1:SampleTest2&gt;  
  &lt;/ns1:SampleTests&gt;
  </code></pre>
  
  <p>I have written this in script assertion but its failing.</p>