title: Capturing response to a text or excel file in soapui
body: <p>I am using free soap-ui version . 
  for basic Add operation(Calculator WSDL) , i am feeding inputs from a text file using groovy and i want to save its response . </p>
  
  <p>Groovy script which I am using is:</p>
  
  <pre><code>nextLine=context.fileReader.readLine()
  def inputFileResponse = new File("D://file.txt")
  if(nextLine!=null){
  String[] inpData=nextLine.split(",")
  testRunner.testCase.testSteps["Properties"].setPropertyValue("num1",inpData[0])
  testRunner.testCase.testSteps["Properties"].setPropertyValue("num2",inpData[1])
  inputFileResponse.write(context.testCase.testSteps["Add - Request 1"].getProperty("response").value)
  testRunner.gotoStep(0)               
  }
  </code></pre>
  
  <p>Problem Area:</p>
  
  <p>1.Now this is giving me complete xml Response . But I just want to get nodevalue "AddResult" and I want to save it in a file .</p>
  
  <ol start="2">
  <li>out of 4 inputs it is only capturing the response of last input .I want to capture every response . </li>
  </ol>