How to "reportsOnly" with maven plugin

Hi,

I’ve this error :

Error: Unknown option --ro
Error: Unknown argument ‘true’

when :
mvn gatling:execute -Dgatling.reportsOnly=true
with last 2.0.0-snapshot

I don’t know if it’s normal, if I use correctly maven gatling plugin ?

Regards,

reportsOnly argument is not a boolean, it’s the name of the result folder that contains the log files you want to generate the reports for.
Are you sure you’re not confusing for noReports? reportsOnly is not exactly the thing I’d run from maven…

Yes reportsOnly, I’ve a strange issue with a simulation which appears sometimes, and I wanted to try regenerate report.
https://github.com/excilys/gatling/wiki/Maven-plugin suggests a boolean value…

Typo, will fix, sorry :slight_smile:

I try with a string value, folder containing simulation.log, but I’ve a same error :

Error: Unknown option --ro
Error: Unknown argument ‘validatorsimulation-20140606145038’

Fixed: https://github.com/excilys/gatling/issues/1948

Thanks again!

Thanks to you for this quick fix !