We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi
I am trying to run a simple script in Kraken but I get a compilation error
13:31:33.564 [ERROR] i.g.c.ZincCompiler$ - /kraken/gatling/user-files/simulations/com/octoperf/tutorials/restcore/restscenarios/DemoAccountCreation.scala:17:10: type mismatch; found : Iterator[scala.collection.immutable.Map[String,String]] required: io.gatling.core.feeder.FeederBuilder
Locally everything works out for me
Sample script:
import io.gatling.core.Predef.{feed, scenario} import io.gatling.core.structure.ScenarioBuilder import scala.concurrent.duration._ object DemoAccountCreation { val emailGenerator: Iterator[Map[String, String]] = Iterator.continually(Map("email" -> Utils.randomStringFromCharList(10, ('a' to 'z')))) val start: ScenarioBuilder = scenario("DemoAccountCreation") .during(1.minutes) { feed(emailGenerator) .exec(RestApi.demoAccountCreation) } }
The text was updated successfully, but these errors were encountered:
Hello,
What version of Gatling are you using locally? Kraken uses the 3.3.0.
Sorry, something went wrong.
geraldpereira
No branches or pull requests
Hi
I am trying to run a simple script in Kraken but I get a compilation error
13:31:33.564 [ERROR] i.g.c.ZincCompiler$ - /kraken/gatling/user-files/simulations/com/octoperf/tutorials/restcore/restscenarios/DemoAccountCreation.scala:17:10: type mismatch;
found : Iterator[scala.collection.immutable.Map[String,String]]
required: io.gatling.core.feeder.FeederBuilder
Locally everything works out for me
Sample script:
The text was updated successfully, but these errors were encountered: