how to use ramp in version 2 ?

Hi,

I apologize for this following question, but going further with my tests, I’m not able to use the distribution :

For example, I try to do this :

setUp(scn.inject(ramp(10 users) over (5 seconds))).protocols(httpProtocol)

but eclipse says “not found : value ramp” and then there are error launching the engine…

I’m sorry but I read this :

https://github.com/excilys/gatling/wiki/Concepts#simulation

and tried to use the example, but same problème.

I don’t understand what I am missing.

Thanks in advance,

Regards,

rampUsers(10)

You can find examples of the current syntax here:
https://github.com/excilys/gatling/blob/master/gatling-http/src/test/scala/io/gatling/http/HttpCompileTest.scala

THanks,
this example is very helpful !
Regards