Generating tests that use Kerberos

You must supply your Kerberos user name and password when generating tests that use Kerberos.

About this task

The test generation process attempts to detect if Kerberos was used when a test was recorded. If the test generation process detects that Kerberos was used when a test was recorded, you are prompted for the Kerberos credentials. The test generation process might not differentiate between Kerberos authentication and NT LAN Manager (NTLM) authentication. In that case, you are prompted for the authentication type and credentials.

Procedure

  1. In the Kerberos window, type in the Kerberos Realm name field the Kerberos realm name that you used during recording.
    If the test generation process cannot determine which type of authentication was used, the Authorization window is displayed, not the Kerberos window. In that case, click the Kerberos radio button before typing the Kerberos realm name.
  2. In the User name field, type the user name that you used during recording.
  3. In the Password field, type the password that you used during recording.

Results

The test generation process creates a Kerberos configuration file. The file is krb5.ini and it is stored in the root of the project workspace. This file is required to play back Kerberos tests. Typically, you need to ensure that the workbench computer that you use to record the test is in the same Kerberos realm as the agent computers that you use to play back the test. Advanced users and security administrators can edit this file with a text editor to tailor it to a specific test environment.