Enable Kerberos Auth via the Authorization Manager

Issue #125 new
Former user created an issue

I'm currently trying to reach a server accepting websockets/http requests that is behind a corporate proxy with Kerberos authentication. I have added on the AuthorizationManager my Kerberos credentials and my local machine have a valid ticket. When I try hitting the http:// api it works flawlessly, but when using the WebSocker Single Writer Sampler the Authorization credentials are not picked up from the authorization manager.

I would like to know if it is possible to make the plugin to be aware of the authorization manager so it can be used in the presence of a kerberos corporate proxy.

Comments (5)

  1. Peter Doornbosch repo owner

    And maybe there is a work-around by first doing a regular HTTP request to obtain the kerberos token and then put the token in the header manager to have it send with the initial websocket request?

  2. luka.swiech

    I tried the workaround, extracted the token from the previous request, and entered it in the 'HTTP Header Manager' for the Authorization parameter but I was getting the ‘krb5krb_ap_err_repeat 401’ in the response (checked in Wireshark, JMeter was only displaying 401). Seems like there is no option to obtain the token from another HTTP request. Any chance to implement support for Kerberos in the near future?

  3. Log in to comment