Hi there,
Noob to the world of Gatling for my enterprise, the tool was sold me as “easy like 1+1 to use”.
Well, well.
I have an application: www.application.com
Which authenticate user using Kerberos (Tomcat + Spnego).
The browser recieved first a 401 http then send a WWW-Authenticate:“Negotiate oYHrMIHo…==”
My Windows login is: “domain\j.doe”, my password “pass” and my desktop named “jdoedesk”.
So, i get a try:
package computerdatabase
import io.gatling.core.Predef._
import io.gatling.http.Predef._
import scala.concurrent.duration._
class JDoeTest01 extends Simulation {
val httpConf = http
.baseURL(“http://www.application.com”)
val scn = scenario(“First test”)
.exec(http(“request_1”)
.get("/")
.basicAuth(“j.doe”,“pass”))
setUp(scn.inject(atOnceUsers(1)).protocols(httpConf))
}
KO.
.ntlmAuth(“j.doe”,“pass”,“domain”,“jdoedesk”))
KO
Each time: 401 !
13:55:43.051 [WARN ] i.g.h.a.ResponseProcessor - Request ‘request_1’ failed: status.find.in(200,304,201,202,203,204,205,206,207,208,209), but actually found 401
Am i missing an easy thing ?
Thanx by advance.
FYvon