I’m trying to use JMeter to test a web application, but there is no documentation on how to set it up to use digest authentication. I’ve tried using the proxy server to record the authentication, but the requests have no information that I can see in the UI and playback doesn’t work. It seems the default with JMeter is basic authentication, though I’ve heard hints that digest can be used. A simple example would be great.
Share
JMeter supports DIGEST authentication using Authorization Manager and httpclient
Using HTTP 3.1 :
in jmeter.Properties , uncomment:
httpclient.parameters.file=full path to bin folder/httpclient.parameters
in httpclient.parameters, uncomment:
http.authentication.preemptive$Boolean=true
Using HTTP Client 4:
hc.parameters.file=full path to bin folder/hc.parameters
in hc.parameters, uncomment:
http.authentication.preemptive$Boolean=true