title: Jmeter: HTML report generation after tests
body: <p>These are the steps that I followed to generate reports:</p>
  
  <ol>
  <li>I have the <code>.jtl</code> file</li>
  <li>I copy paste given <a href="http://jmeter.apache.org/usermanual/generating-dashboard.html#sample_configuration" rel="nofollow noreferrer">sample configuration</a> to my <code>user.properties</code> file located at <code>apache-jmeter-5.0\bin</code></li>
  <li><p>I convert <code>.jtl</code> to aggregate report using <code>CMDRunner.jar</code> </p>
  
  <pre><code>java -jar CMDRunner.jar --tool Reporter --generate-csv Demo17Results.csv --input-jtl Demo17Results.jtl --plugin-type AggregateReport
  </code></pre></li>
  <li><p>Convert <code>csv</code> file got from step#3 to HTML reports</p>
  
  <p><strong>I tried (1)</strong>   <code>jmeter -g Demo17Results.csv -o htmlReports/</code></p></li>
  </ol>
  
  <p><code>Error: csv' does not contain the field names header, ensure the jmeter.save.saveservice.* properties are the same as when the CSV file was created or the file may be read incorrectly when generating report
  An error occurred: Mismatch between expected number of columns:17 and columns in CSV file:11, check your jmeter.save.saveservice.* configuration or check line is complete</code></p>
  
  <p><strong>I tried (2)</strong> <code>jmeter -n -t Demo17Run.jmx -l Demo17Results.csv -e -o htmlReports/</code></p>
  
  <p><code>Creating summariser &lt;summary&gt;
  Error in NonGUIDriver java.lang.IllegalArgumentException: Results file:Demo17Results.csv is not empty</code> </p>
  
  <p>after emptying the csv file</p>
  
  <p><code>Creating summariser &lt;summary&gt;
  Created the tree successfully using Demo17Run.jmx
  Starting the test 
  Waiting for possible Shutdown/StopTestNow/Heapdump message on port 4445
  summary =      0 in 00:00:00 = ******/s Avg:     0 Min: 9223372036854775807 Max: -9223372036854775808 Err:     0 (0.00%)
  Tidying up ...
  Error generating the report: org.apache.jmeter.report.core.SampleException: Could not read metadata !
  ... end of run</code></p>
  
  <p>What am I doing wrong to generate Jmeter HTML dashboard reports? </p>