Playback certificates

During the test, the Virtual Users may use:

Procedure 7.1. Using a different certificate for each Virtual User

  1. Import all the certificates as described in the section called “Importing certificates”.

  2. 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.

  3. Select 'Use different certificate for each user'

  4. Use the variable picker to use the appropriate variable.

Example

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]Tip

Variable names may be used in combination, for example, "${accounts.login}.pfx" .