title: Error When trying to use XSSF on Jmeter
body: <p>I am getting error when trying to create <strong>xlsx</strong> file using Jmeter. actually I already try using <strong>HSSF</strong> (for .xls) and it is works fine. But when I am trying to change it using <strong>xlsx</strong>, I am getting error. I already copy the jar file for <strong>poi</strong> and <strong>poi-ooxml</strong> on jmeter <strong>lib</strong> file. here is my simple script :</p>
  
  <pre><code>import org.apache.poi.ss.usermodel.Cell;
  import org.apache.poi.ss.usermodel.Row;
  import org.apache.poi.xssf.usermodel.XSSFSheet;
  import org.apache.poi.xssf.usermodel.XSSFWorkbook;
  import java.io.File;
  import java.io.FileNotFoundException;
  import java.io.FileOutputStream;
  import java.io.IOException;
  import java.util.*;
  import java.lang.String;
  import java.lang.Object;
  
  XSSFWorkbook workbook = new XSSFWorkbook();
  XSSFSheet sheet = workbook.createSheet("Sample sheet");
  Row row = sheet.createRow(0);
  Cell cell = row.createCell(0);
  cell.setCellValue("HENCIN");
  
  try {
      FileOutputStream out = new FileOutputStream(new File("D:\\Jmeter\\testhencin.xlsx"));
      workbook.write(out);
      out.close();
      System.out.println("Excel written successfully..");
  } catch (FileNotFoundException e) {
      e.printStackTrace();
  } catch (IOException e) {
      e.printStackTrace();
  }
  </code></pre>
  
  <p>Actually when I am trying to find the error, the problem are getting from this line :</p>
  
  <pre><code>XSSFWorkbook workbook = new XSSFWorkbook();
  XSSFSheet sheet = workbook.createSheet("Sample sheet");
  </code></pre>
  
  <p>Please someone help me to figure it out. it works on <strong>HSSF</strong> but on <strong>XSSF</strong> it is not working. I am getting error :Response code: 500</p>
  
  <pre><code>Response message: org.apache.jorphan.util.JMeterException: Error invoking bsh method: eval  org/apache/xmlbeans/XmlObject
  </code></pre>