mstdoc
mstdoc

Reputation: 31

Jmeter Digest Authentication

Is it possible to use digest auth in jmeter.

When server answers 401 with auth header

(etc: WWW_Authenticate :SP Digest realm="SD Digest Authentication Realm", qop="auth", nonce="MTYyNTE2Mjc5MDE4NDo0ZTQ0NWJjM2Y0MWQ4OGFlMzQyODRmMjEzNWViMTYwNQ==")

on the first request from client and then client must resend original request with properly formed auth headers?

I try to use HTTP Authorization Manager with http client 4, but no luck.

Jmeter does not send any auth header and does not repeat original request. enter image description here enter image description here enter image description here

Upvotes: 0

Views: 349

Answers (1)

Dmitri T
Dmitri T

Reputation: 168147

Try removing this / from "Domain" section, I don't think it's applicable for Digest authentication, it's more for NTLM and/or Kerberos. But given server sends proper WWW-Authenticate header even given wrong HTTP Authorization Manager configuration you should be seeing the Authorization request header

Apart from this I cannot reproduce your issue using simple Apache web server with mod_auth_digest

enter image description here

Upvotes: 0

Related Questions