Gatling and ScalaTest


I found discussion

And I was not able to get this work.

Mixing gatling test with scalatest seems very natural for me.

Usages I see:

  • More precisely and with know framework define success criteria, based on scenarios output, introducing stat.js in scala.
  • Reusing traits for integration tests with load, e.g. BeforeAndAfter trait in scalatest, without need to reimplement it for Simulation.
  • Being able to define tests before and after, and this is really Tests.
  • Possible to mix integration tests with load push.

Does it seem overuse of gatling? Does someone already using it in this way?


The plan is to be able to use scalatest and others on top of the test framework that’s been done for the sbt plugin.