title: Getting attribute values from XML nodes with namespace in soapui using groovy
body: <p>Below is my xml and i want to get the attribute value using groovy language so that i can use that in SoapUI assertion</p>
  
  <pre><code>&lt;testns:TestResult attr1="100" attr2:"Sample"&gt;
    &lt;testns:TestToken&gt;XXXXXX&lt;/testns:TestToken&gt;
  &lt;/testns:TestResult&gt;
  </code></pre>
  
  <p>I want to get the value of attr1 and attr2.</p>