Routing and Recording Requests to Kerberos Servers

Applies to ReadyAPI 3.56, last modified on November 21, 2024

Due to the specifics of implementation of Kerberos authentication, in the Route and Record Non-Virtualized Requests routing mode, authentication requests are normally not recorded correctly for servers that use Kerberos authentication. They can be recorded only if the virtual service and the tested server are running on the same computer, and both of them can be addressed through localhost. However, this is an exception, because quite often, virtual services and servers function on different machines.

To work around the issue, you can try using API Discovery:

  1. Open the API Discovery window. You can do this by selecting the APIs (Virtual) node in the Navigator and clicking Discover on the toolbar:

    Service virtualization: Open the Discovery window

    Click the image to enlarge it.

  2. Switch the discovery engine to the Proxy mode:

    Service virtualization: Switch the discovery engine to proxy mode

    Click the image to enlarge it.

    The window will display information on the proxy parameters:

    Service virtualization: Instructions in the Discovery window

    Click the image to enlarge it.

    See Using ReadyAPI as Proxy for details.

  3. Configure your client application using the information you see in the Discovery window.

  4. Send authentication requests from your client application to the server. ReadyAPI will work as a proxy between the client app and the server. It will trace the requests and responses and display them on the Transactions page:

    Service virtualization: Recorded authentication requests and responses

    Click the image to enlarge it.

    Note: Depending on the client configuration, the authentication steps can be recorded as several requests.
  5. Stop recording and then click Add to Existing Virtual Service to add the recorded requests and responses to your virtual service:

    Add Kerberos authentication requests and responses to a virtual service

    Click the image to enlarge it.

Now, the authentication requests and responses will be in your virtual service.

See Also

About Routing
Request Routing and Recording
Discovering APIs

Highlight search results