After getting everything running, I went and started to record one of the first example tests I wanted to perform. I named the test "onefile.scala " and everything looked good. Started gatling.bat, expecting to see the test added to the options list, but instead got the below error. If I take the “onefile.scala” out of the user-files\simulations folder, gatling.bat works fine.
I have uploaded the recorded test to my skydrive here: http://sdrv.ms/XksAIF
GATLING_HOME is set to “C:\gatling-charts-highcharts-1.4.1-bundle”
16:54:38.413 [ERROR] c.e.e.g.a.ZincCompiler$ - IO error while decoding C:\gatlin
g-charts-highcharts-1.4.1-bundle\user-files\simulations\onefile.scala with UTF-8
Please try specifying another one using the -encoding option
16:54:38.413 [ERROR] c.e.e.g.a.ZincCompiler$ - one error found
Exception in thread “main” Compilation failed
at sbt.compiler.AnalyzingCompiler.call(AnalyzingCompiler.scala:76)
at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:35)
at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:29)
at sbt.compiler.AggressiveCompile$$anonfun$4$$anonfun$compileScala$1$1.a
pply$mcV$sp(AggressiveCompile.scala:71)
at sbt.compiler.AggressiveCompile$$anonfun$4$$anonfun$compileScala$1$1.a
pply(AggressiveCompile.scala:71)
at sbt.compiler.AggressiveCompile$$anonfun$4$$anonfun$compileScala$1$1.a
pply(AggressiveCompile.scala:71)
at sbt.compiler.AggressiveCompile.sbt$compiler$AggressiveCompile$$timed(
AggressiveCompile.scala:101)
at sbt.compiler.AggressiveCompile$$anonfun$4.compileScala$1(AggressiveCo
mpile.scala:70)
at sbt.compiler.AggressiveCompile$$anonfun$4.apply(AggressiveCompile.sca
la:88)
at sbt.compiler.AggressiveCompile$$anonfun$4.apply(AggressiveCompile.sca
la:60)
at sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:2
4)
at sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:2
2)
at sbt.inc.Incremental$.cycle(Incremental.scala:40)
at sbt.inc.Incremental$.compile(Incremental.scala:25)
at sbt.inc.IncrementalCompile$.apply(Compile.scala:20)
at sbt.compiler.AggressiveCompile.compile2(AggressiveCompile.scala:96)
at sbt.compiler.AggressiveCompile.compile1(AggressiveCompile.scala:44)
at com.typesafe.zinc.Compiler.compile(Compiler.scala:158)
at com.typesafe.zinc.Compiler.compile(Compiler.scala:142)
at com.excilys.ebi.gatling.app.ZincCompiler$.apply(ZincCompiler.scala:10
3)
at com.excilys.ebi.gatling.app.SimulationClassLoader$.fromSourcesDirecto
ry(SimulationClassLoader.scala:34)
at com.excilys.ebi.gatling.app.Gatling$$anonfun$11$$anonfun$13.apply(Gat
ling.scala:90)
at com.excilys.ebi.gatling.app.Gatling$$anonfun$11$$anonfun$13.apply(Gat
ling.scala:90)
at scala.Option.getOrElse(Option.scala:108)
at com.excilys.ebi.gatling.app.Gatling$$anonfun$11.apply(Gatling.scala:9
0)
at com.excilys.ebi.gatling.app.Gatling$$anonfun$11.apply(Gatling.scala:8
7)
at scala.Option.getOrElse(Option.scala:108)
at com.excilys.ebi.gatling.app.Gatling.start(Gatling.scala:87)
at com.excilys.ebi.gatling.app.Gatling$.fromMap(Gatling.scala:54)
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)
Press any key to continue . . .