Hello,
I have problem when I send the following two queries:
`
…
val httpConf = http
.baseURL("*****")
.inferHtmlResources(BlackList("""..css""", “”"..js""", “”"..png""", “”"..ico""", “”"..gif""", “”"..js?."""), WhiteList())
.acceptHeader("""image/png,image/;q=0.8,/;q=0.5""")
.acceptEncodingHeader(""“gzip, deflate”"")
.acceptLanguageHeader(""“fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3"”")
.connectionHeader(“keep-alive”)
.contentTypeHeader(""“application/x-www-form-urlencoded; charset=UTF-8"”")
.userAgentHeader(""“Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0"”")
val feeder = csv(“users.csv”)
object Login {
val action =
exec(http(“Login”)
.get("/login")
.check(regex("""<input type=“hidden” name=“form_build_id” value="([^"]+)" />""").saveAs(“formBuildId”)))
.pause(2)
}
object LoginPost {
val action =
exec(http(“Login Pass”)
.post("/login")
.headers(headers_default)
.formParam(“name”, “${login}”)
.formParam(“pass”, “${password}”)
.formParam(“op”, “Valider”)
.formParam(“form_build_id”, “”"${formBuildId}""")
.formParam(“form_id”, “ede_utilisateur_form”)
.check(status.is(200)))
.pause(2)
}
val scn = scenario(“Limit Test Edelia”).feed(feeder).exec(Login.action, LoginPost.action)
setUp(scn.inject(atOnceUsers(1))).protocols(httpConf)
…