title: JMeter: Aggregated report not generated using CMDRunner or JMeterPluginsCMD
body: <p>I run my .jmx file from command line and I save the metrics to the .jtl file. My .jmx file has the following structure:</p>
  
  <ul>
  <li>A Thread Group where are my tests in selenium</li>
  <li>A tearDown Thread Group where I have:
  
  <ol>
  <li>A BeanShell Sampler which checks the .jtl file if is not empty if yes, I added a Thread.sleep();</li>
  <li>An OS Process Sampler which runs a cmd.exe with the bat file where I have the code which generates the aggregated .csv file.</li>
  <li>And at the end, I have 2 BeanShell Samplers which manipulates the .CSV file.</li>
  </ol></li>
  </ul>
  
  <p>I tried to generate the aggregated csv file using both methods:</p>
  
  <p>Code using cmdRunner:</p>
  
  <pre><code>java -jar "C:\apache-jmeter-5.2.1\lib\cmdrunner-2.2.jar" --tool Reporter --generate-csv "C:\LoadTesting\aggregate.csv" --input-jtl "C:\LoadTesting\log.jtl" --plugin-type AggregateReport
  </code></pre>
  
  <p>Code using JMeterPluginsCMD:</p>
  
  <pre><code>JMeterPluginsCMD.bat --generate-csv "C:\LoadTesting\aggregate.csv" --input-jtl "C:\LoadTesting\log.jtl" --plugin-type AggregateReport
  </code></pre>
  
  <p>When I run the .JMX file from command line like this:</p>
  
  <pre><code>jmeter -n -t "C:/LoadTesting/MyTest.jmx" -f -l "C:/LoadTesting /log.jtl" -j jmeter.log
  </code></pre>
  
  <p>The aggregate.csv file has only the header and the row with Total, but if I run one of the commands above the file is generated correctly. </p>
  
  <p>Do you have any idea why my OS Process Sampler doesn’t work as I expect? 
  Does anyone have a suggestion on what to check or how to debug this?</p>