Encrypting and decrypting datapools
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.
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
- Open a datapool for editing.
- Click the heading of the column to encrypt. The Edit Variable window is displayed.
- Select Encrypted, and then click OK. The Set Password window is displayed.
- 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.
- Click OK. Asterisks are displayed instead of the actual values of encrypted variables.
Results
The datapool column is encrypted.