Problem using assertThat

Hello,

I am using the version 2.0.0-M3a and I have a problem when using “assertThat” like this :

import io.gatling.core.Predef._
import io.gatling.core.session.Expression
import io.gatling.http.Predef._
import io.gatling.jdbc.Predef._
import io.gatling.http.Headers.Names._
import io.gatling.http.Headers.Values._
import scala.concurrent.duration._
import bootstrap._
import assertions._

class GatlingTest extends Simulation {

val httpProtocol = http
.baseURL(“http://monclub.net”)
.acceptHeader(“image/webp,/;q=0.8”)
.acceptEncodingHeader(“gzip,deflate,sdch”)
.acceptLanguageHeader(“fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4”)
.userAgentHeader(“Mozilla/5.0 (Windows NT 6.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.72 Safari/537.36”)

val scn = scenario(“Scenario Name”)
.exec(http(“request_1”)
.get("""/index.php"""))

setUp(scn.inject(atOnce(1 user))).protocols(httpProtocol)

assertThat(
global.responseTime.max.lessThan(1000)
)

}

Perhaps that the wiki is not up to date…or I missed something…
I have this error in eclipse : “not found: value assertThat”

I forgot to mention this change.

That’s setUp(scn.inject(atOnce(1 user))).protocols(httpProtocol).assertions(global.responseTime.max.lessThan(1000))