ntlmAuth not working

Hi guys,

It’s my first time using Gatling and I’m trying to stress test some web apps with it. The apps I talk about use ntlm authentication.
After recording some scenarios with the recorder (who use a token in the header to make work the ntlm authentication), I wrote few scenarios in scala to have more “precise” tests.

And there is my problem : I can’t make ntlm authentication work with my app. This is my scenario :

val scn = scenario(“scenario”)
.exec(http(“request_0”)
.get(“http://” + uri1 + “:xxxx/”)
.headers(headers_0))
.exec(http(“NTLM Authentication”)
.get("/api/xxxx/xxxx")
.ntlmAuth(“username”, “password”, “domain”))
.exec(http(“request_2”)
.get("/api/xxxx/xxxx/xxxx")
.headers(headers_1))
.exec(http(“request_3”)
.get("/api/xxxx/xxxx/xxxx")
.headers(headers_1))

The only error message I have is this :

value ntlmAuth is not a member of io.gatling.http.request.builder.HttpRequestBuilder
possible cause: maybe a semicolon is missing before `value ntlmAuth’?
.ntlmAuth(“username”, “password”, “domain”))

Does anyone have an idea to make this works? Thanks for the help.

See https://github.com/gatling/gatling/issues/3525

Ok, so no stress test for me in my context, at least with Gatling. Thanks for the informations.