NeoLoad – Type of Variables

NeoLoad provides a variety of variables to fulfil the different types of requirements while creating a performance test script. ‘Variables’ option is available in the menu as shown in the below figure.

NeoLoad - Type of Variables
Figure 01

Then, click the ‘New variable’ button and the ‘Variables’ pop-up appears:

NeoLoad - Type of Variables Pop-up
Figure 02

Following are the type of variables in NeoLoad:

  1. Counter: It is used to generate integer from a counter.
  2. List: It is used to generate data from a table of string values.
  3. File: It is used to read the data from an external file.
  4. Sql: It is used to read the data from a database.
  5. Random Integer: It is used to generate a random integer.
  6. Random String: It is used to generate a random string with different lengths.
  7. Constant String: It is used to give the scenario a constant value.
  8. Password: It is used to give the scenario a password value.
  9. Date: It is used to generate dates and times in different formats.
  10. Current Date: It is used to generate the current date and time in different formats.
  11. Random UUID: It is used to generate random UUIDs.
  12. Shared Queue: It is used to share values between Virtual Users.
  13. JavaScript: It is used to generate values from JavaScript.

As you can see some of the variable types generate the values whereas some of them read the test data from the external source, so choose and use the variable type appropriately as per your requirement.


You may be interested:



Leave a Reply

Your email address will not be published. Required fields are marked *