+

Search Tips   |   Advanced Search


Multiple accounts with basic or NTLM authentication

The first part of this section goes through the steps of the Post-recording wizard and describes the elements related to basic and NTLM authentication. In most situations the wizard does the whole job on its own and you just have to confirm what the wizard has detected and decided. The second part of this section details the configuration elements the wizard has created and the information you will need to provide.

The first two steps of the Post-recording wizard are left aside to focus on step 3. This is where basic and NTLM authentication information is used and can be configured through the wizard. The example is based on basic authentication but the NTLM authentication procedure is identical.

  1. Post-recording wizard step 3 is the basic authentication. The wizard automatically detects that basic authentication has been used. You indicate that multiple accounts should be used by checking the Use multiple accounts option.
  2. Define the type of variable to use: The wizard needs to determine the type of variable used to store the multiple accounts. You choose the CSV alternative by checking the Use the accounts from a CSV file option.
  3. Define the variable:

    • To be able to replace the recorded parameters with dynamic values, you need to define the file-type variable that will be used. This step in the wizard allows you to select the variable parameters. Select the CSV file to use by clicking on the picker button. The first few values are displayed to check the file content.
    • Double-click on the column headers to change the names to more meaningful names.
    • The Value change policy selected by the wizard is for "Each Virtual User". This is consistent with the behavior you are looking to create, since we may want a new value to be used each time a Virtual User connects to the application.
  4. Set the Login configuration: In this last step, the wizard prompts you to specify which column to use for the login, which column to use for the password and then recaps the created configuration. Here, it has created an "Accounts" variable that has been assigned to the login and password authentication parameters. The "Accounts" variable has two columns: the first column, ${Accounts.login}, must contain login values; the second, ${Accounts.password}, must contain password values.

During the recording phase NeoLoad automatically detects basic or NTLM Authentication and correctly configures the Authorization elements of the server. As detailed previously, the Post-recording wizard configures and links Authorization elements to a variable.

For example, your server may use basic authentication. The wizard has detected this and has configured the Authorization panel accordingly by adding a line with type, Realm/Domain, login and password information. The login and password are both linked to values of a variable called "Accounts". More precisely, the login is linked to the ${Accounts.login} expression and the password to the ${Accounts.password} expression.


Home