Random Variable Configuration¶
The Random Variable is used to generate random numeric strings.
Note
A click on the blue variable name in the Usage section will copy it to the clipboard.
It is randomized on every virtual user iteration, making it a good choice for a random value that needs to be consistent for a whole loop/iteration.
Warning
If you need a value that changes every time you use, try instead with the ${__random(...)} function.
For each Random Variable, you can edit:
Property name | Description |
---|---|
Name | The variable name. To inject it, use the ${...} syntax. |
Description | The variable description text. |
Minimum Value | The Random Variable range lower bound. |
Maximum Value | The Random Variable range upper bound. |
Output Format | The output format of the generated value. Leave blank for a simple number output. It uses the java.text.DecimalFormat. For example 000 generates numbers with at least 3 digits, and USER_000 generates output of the form USER_nnn. |