Hot answers tagged

1

Your code is not doing anything because it's not being called at all. JMeter's JSR223 Test Elements don't automatically execute Java main method, you will need to explicitly call it by adding the next line to the end of your script: ExcelExample.main() Full code just in case: import org.apache.poi.ss.usermodel.Row import org.apache.poi.xssf.usermodel....


1

As the attached image shows that user needs to browse the excel sheet.I was also faced the same situation. So, Assuming that request for the same has been recorded. Follow below instructions: Use beanshell post processor and write code to read the excel file. {It is similar to Java IO file read code} like this import org.apache.jmeter.threads....


Only top voted, non community-wiki answers of a minimum length are eligible