I checked out the gatling maven demo project and run the gatling:execute goal with gatling.simulation argument, but get the following exception. Did I do anything wrong?
mvn gatling:execute -Dgatling.simulation=basic.BasicExampleSimulation
[INFO] Scanning for projects…
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building gatling-maven-plugin-demo 1.4.5
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] — gatling-maven-plugin:1.4.5:execute (default-cli) @ gatling-maven-plug
in-demo —
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at scala_maven_executions.MainHelper.runMain(MainHelper.java:164)
at scala_maven_executions.MainWithArgsInFile.main(MainWithArgsInFile.jav
Caused by: com.typesafe.config.ConfigException$WrongType: system properties: gat
ling.simulation has type STRING rather than OBJECT
at com.typesafe.config.impl.SimpleConfig.findKey(SimpleConfig.java:124)
at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:138)
at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:142)
at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:150)
at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:155)
at com.typesafe.config.impl.SimpleConfig.getString(SimpleConfig.java:197
)
at com.excilys.ebi.gatling.core.config.GatlingConfiguration$.setUp(Gatli
ngConfiguration.scala:46)
at com.excilys.ebi.gatling.app.Gatling$.fromMap(Gatling.scala:53)
at com.excilys.ebi.gatling.app.Gatling$.runGatling(Gatling.scala:73)
at com.excilys.ebi.gatling.app.Gatling$.main(Gatling.scala:49)
at com.excilys.ebi.gatling.app.Gatling.main(Gatling.scala)
… 6 more
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.856s
[INFO] Finished at: Sat Mar 23 04:42:16 PDT 2013
[INFO] Final Memory: 6M/184M
[INFO] ------------------------------------------------------------------------