I attempting to upgrade to Gatling 3 and I’m encountering the following compilation error:
16-Nov-2018 16:43:55 [ERROR] found : io.gatling.core.check.CheckBuilder[io.gatling.http.check.status.HttpStatusCheckType,io.gatling.http.response.Response,Int] with io.gatling.core.check.SaveAs[io.gatling.http.check.status.HttpStatusCheckType,io.gatling.http.response.Response,Int]
16-Nov-2018 16:43:55 [ERROR] required: io.gatling.http.check.HttpCheck
16-Nov-2018 16:43:55 [ERROR] .check(status.in(200, 201))
16-Nov-2018 16:43:55 [ERROR] ^
for the following code that used to work in 2.2.
http("PUT RPM")
.put(hostedGrp1dUrl + "${rpm}")
.headers(headers)
.body(ByteArrayBody(session => readAllBytes(session("rpm").as[Path])))
.basicAuth("${username}", "${password}")
.check(status.in(200, 201))