Retrieve HTTP Digest Data from WWW-Authenticate header in 401 Response from Server
Hi Everyone,
I'm trying to build a test case to test HTTP digest authentication. The basic idea is to send an HTTP GET request without Authorization header first and calculate the digest response from the digest data in WWW-Authenticate header in 401 Response from Server then send the request with Authorization Header to server again.
When I send the request, the server replies with 401 with all digest data in WWW-Authenticate header. I followed blogs about HTTP digest in SmartBear Community to build Groovy script to calculate digest response but it failed.
It would be very appreciated if you could share your experience or instructions to retrieve the digest data from the WWW-Authenticate header. My project and Wireshark trace are both attached.
Thx a lot.
BRs//Asher