Suggested doc update: Mention requirement to import scala.concurrent.duration._

The docs (http://gatling.io/docs/2.0.2/general/scenario.html?highlight=during#loop-statements) say that I should be able to write something like:

during( 15 seconds ) { . . . }

But when I compile it, I get an error: value seconds is not a member of Int

Clearly, I am missing an import in order to get the implicit conversions. It would be wonderful if importing io.gatling.core.Predef._ took care of it for me. But in the absence of that, mentioning the need to import scala.concurrent.duration._ (or whatever is a better import) would be helpful for people who are just starting out.

I noticed that too. In my case, IDE picked it up and suggested that import, otherwise I would be lost.

Not sure why, but IntelliJ did not notice it for me, which is why I mentioned it. :slight_smile:

This import is described as required in the quickstart.
Feel free to provide a PR on the documentation if you see how we could improve it.

I’ll keep this in the back of my mind…