Contributions
Re: Retrieve HTTP Digest Data from WWW-Authenticate header in 401 Response from Server
Hi Paul, Thx a lot for your kind and detailed reply. The groovy script your shared is working fine and digest response is successfully calculated. But when it comes to send the request again with Authorization Header, the server keeps replying 401 with new nonce challenge. the updated project and Wireshark trace are as attached.2.9KViews0likes1CommentRetrieve 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//Asher2.9KViews0likes3Comments