Random UUID variable for NeoLoad
NeoLoad has a type of variable called ‘random UUID’ which can be used to create random Universal Unique IDs (UUIDs) and send them to scripts. With the option provided in the popup, you can also create predictable random uppercase UUIDs.
Variable input of type ‘random UUID’
- Name: specify the name of the variable to be used in the script. This entry is required.
- Description: explain the function of the variable. This entry is not required.
- Parameters: to specify the environment.
- Generate upper case UUID: Check-mark this option to generate the UUID in the upper case.
- Predictable randomization: Checkmark this option to make the same sequence of the random number. This option helps to compare two identical tests.
- Value change strategy: specify the settings to choose the next date and time
- On each use (Default value)
- On each request
- On each page
- On each iteration
- For each Virtual User instance
To use the variable, you have to write ${<variable name>} in the script.
Example: ${uuID}
Note: You can also validate the variable using the ‘Test’ option. The variable should return the correct UUID value.