Encrypting and decrypting datapools

If you want to encrypt confidential information, such as a set of passwords or account numbers that are used during a test, you can use an encrypted datapool. Datapool columns are encrypted using the RC4 private-key algorithm. Although datapool encryption was available before 9.1.1, HCL OneTest™ UI 9.1.1 now provides support for datapool decryption.

Before you begin

You must have created a test that contains a datapool.

About this task

When you run a test that uses a datapool that contains encrypted variables, you are prompted for the datapool password. If the test uses multiple encrypted datapools, you must enter the password for every encrypted datapool that the test uses. You can use only one password to encrypt columns in any given datapool.

Important: If you forget the password to a datapool, there is no way to recover the password.

When you run a test that uses a datapool with an encrypted column, the value of the column is decrypted at run time. The column value is sent as a cleartext string in the requests to the server. The actual values of the encrypted datapool variables are not displayed in the test log. The test log displays asterisks for the encrypted datapool variables.

Datapool encryption and decryption for HCL OneTest UI are very similar to what is offered with HCL OneTest Performance. See the Encrypted datapools overview for HCL OneTest Performance.

Procedure

  1. Open a datapool for editing.
  2. Click the heading of the column to encrypt. The Edit Variable window is displayed.
  3. Select Encrypted, and then click OK. The Set Password window is displayed.
  4. Type the password to use to encrypt the column. If you have already encrypted other columns in the datapool, you must enter the password that you used previously. You can use only one password to encrypt columns in a datapool.
  5. Click OK. Asterisks are displayed instead of the actual values of encrypted variables.

Results

The datapool column is encrypted.

Feedback