title: how to pull the parameter from cdata response and use it in another request using groovy in soapUi
body: <ol>
  <li>This is my response from soapUI</li>
  </ol>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
          &lt;soap:Body&gt;
            &lt;SearchAirFaresResponse xmlns="http://www.sample.com/xchange"&gt;
             &lt;SearchAirFaresResult&gt;
              &lt;![CDATA[
               &lt;FareSearchResponse&gt;
                 &lt;MasterDetails&gt;
                    &lt;CurrencyCode&gt;INR&lt;/CurrencyCode&gt;
                    &lt;RecStNo&gt;1&lt;/RecStNo&gt;
                    &lt;SessionID&gt;5705b1a6-95ac-486c-88a1f90f85e57590&lt;/SessionID&gt;
                  &lt;/MasterDetails&gt;
                  &lt;/FareSearchResponse&gt;
              ]]&gt;
          &lt;/SearchAirFaresResult&gt;
       &lt;/SearchAirFaresResponse&gt;
     &lt;/soap:Body&gt;
  &lt;/soap:Envelope&gt;
  </code></pre>
  
  <ol start="2">
  <li><p>How to extract SessionID element which is inside CDATA using groovy script and use it in another request like</p>
  
  <pre><code>  &lt;soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
   &lt;soap:Body&gt;
     &lt;xch:GetMoreFares&gt;
      &lt;xch:sGetMoreFare&gt;
     &lt;![CDATA[
      &lt;MoreFlights&gt;
      &lt;MasterDetails&gt;
          &lt;NoOfResult Index="1"&gt;40&lt;/NoOfResult&gt;
          &lt;BranchId&gt;1&lt;/BranchId&gt;
          &lt;SessionId&gt;5705b1a6-95ac-486c-88a1f90f85e57590&lt;/SessionId&gt;
      &lt;/MasterDetails&gt;
      &lt;Journey&gt;DOM&lt;/Journey&gt;
      &lt;ResponseType&gt;XML&lt;/ResponseType&gt;
      &lt;SearchType&gt;OW&lt;/SearchType&gt;
      &lt;/MoreFlights&gt;
      ]]&gt;
      &lt;/xch:sGetMoreFare&gt;
    &lt;/soap:Body&gt;
  &lt;/soap:Envelope&gt;
  </code></pre>
  
  <p>3.I have been searching lot but didnt get the right one,and also am new to groovy script using soapUi , pls guide me stepwise procedure in soapUi to implement .</p></li>
  </ol>