title: Error while reading Excel file in SOAPUI using Groovy
body: <p>I am trying to read an Excel file, inside SOAPUi (Free version) using Groovy.</p>
  
  <p>Code : </p>
  
  <pre><code>import org.apache.poi.ss.usermodel.*;
  import org.apache.poi.hssf.usermodel.*;
  import org.apache.poi.xssf.usermodel.*;
  import org.apache.poi.ss.util.*;
  import org.apache.poi.ss.usermodel.*;
  import java.io.*;
  
  def path = "D:\\Automation\\Testdata\\testdata.xlsx"
  def inputStream = new FileInputStream(path)
  def wb=new XSSFWorkbook(inputStream)
  def workSheet=wb.getSheet("sheet1")
  def rows=workSheet.getPhysicalNumberOfRows()
  long.info rows
  </code></pre>
  
  <p>Error : </p>
  
  <pre><code>java.lang.reflect.invocationtargetexception 
  </code></pre>
  
  <p>I am new to SOAPUI and Groovy, but I have a decent knowledge on java. Couldnt find a proper solution for this.</p>