0

In windows, using the command "jmeter -n -t [test JMX file] -l [test log file] -e -o " to generate the dashboard result doesn't execute and shows the error.

Pravin
  • 155
  • 1
  • 1
  • 9
  • What error do you get ? can you show the full command line your execute ? – UBIK LOAD PACK Aug 01 '16 at 13:48
  • Executing above command it says, "jmeter' is not recognized as an internal or external command, operable program or batch file." – Pravin Aug 02 '16 at 04:11
  • I used following command:- jmeter -n -t C:\Users\Freeware Sys\Desktop\JmeterTestCases \VisitingAllPages.jmx -l C:\Users\Freeware Sys\Documents\apache-jmeter-3.0\bin\j meter.log -e -o C:\Users\Freeware Sys\Desktop\DashboardReport\ – Pravin Aug 02 '16 at 04:13

2 Answers2

1

You have at least 2 problems:

  • first ensure that you have a Java 7 or 8 installed and that this command works:

java -version

  • second, change your current directory to be in the jmeter_home\bin folder (C:\Users\Freeware Sys\Documents\apache-jmeter-3.0\bin) ad run command from there
UBIK LOAD PACK
  • 33,980
  • 5
  • 71
  • 116
  • Thanks. I followed above processes but still getting some different problem. This time executing command "jmeter -n -t D:\VisitingAllPages.jmx -l jmeter.log -e -o D:\DashboardReport" to create the report it gives below error:- Creating summariser Error in NonGUIDriver java.lang.IllegalArgumentException: Results file:jmeter.log is not empty – Pravin Aug 02 '16 at 11:46
  • Can you open another question with full details ? Thanks – UBIK LOAD PACK Aug 02 '16 at 13:06
0

Please follow below steps to generate report dashboard instead of using jmeter.log file.

  1. Add Simple Data Writer from Listeners.
  2. Provide your path, where you want to generate like it could be in csv file or xls file etc.

Note: Remember one thing you should not create a file whether it could be csv,xls etc file because Simple Data writer automatically creates the Test results file as provided location.Then simple run your test plan and try to generate report dashboard with command prompt with generated Test Result file. You can read more configurations here.

Here it has given complete step by step details for generating Report Dashboard in Jmeter.

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
Rajesh Om
  • 483
  • 2
  • 15
  • 39