During the test, the Virtual Users may use:
a single certificate: the one set for the recording,
a different certificate for each Virtual User.
Procedure 7.1. Using a different certificate for each Virtual User
Import all the certificates as described in the section called “Importing certificates”.
Create a variable containing the file names and corresponding passwords (or modify a file containing existing accounts).
Using the Edit / Variables menu, create a
List or File type variable.
The value change policy must be "For each Virtual
User".
Depending on the variable type, either create a CSV file or directly enter the data via the graphic interface
Each line must represent a Virtual User and each column a piece of data relating to the user. Some columns may also contain information useful for your particular application (name, address, telephone number...) and others the following information: the user certificate's file name and also its corresponding password.
Select 'Use different certificate for each user'
Use the variable picker to use the appropriate variable.
An example of data:
login ; lastName ; firstName ; certificate ; passwd jsmith ; smith ; john ; jswith.pfx ; s2cr3t jdoe ; doe ; john ; jdoe.pfx ; p4ssw4
Declare the accounts file-type variable and
rename the columns by clicking on the column header. Then use
${account.certificate} for the name and
${account.passwd} for the password used within the
certificate manager.
![]() | Tip |
|---|---|
Variable names may be used in combination, for example,
|