Hi,
I’m getting a type error when running the lastest head version:
Simulation basic-script-exampleATdefault.txt started…
Exception in thread “main” java.lang.RuntimeException: Compilation failed:
gatling:70: error: type mismatch;
found : Int(302)
required: AnyRef
Note: an implicit exists from scala.Int => java.lang.Integer, but
methods inherited from Object are rendered ambiguous. This is to avoid
a blanket implicit which would convert any scala.Int to any AnyRef.
You may wish to use a type ascription: x: java.lang.Integer
.
.check(status.eq(302))
^
one error found
at com.excilys.ebi.gatling.app.compiler.ScalaScenarioCompiler.compile(ScalaScenarioCompiler.scala:79)
at com.excilys.ebi.gatling.app.compiler.ScalaScenarioCompiler.run(ScalaScenarioCompiler.scala:49)
at com.excilys.ebi.gatling.app.Gatling$.com$excilys$ebi$gatling$app$Gatling$$run(Gatling.scala:211)
cheers,
Luke.