Random Value Types

When you define a random variable for an input value you can only choose one of the random types that are applicable for that input value type.

Random variables return one of the following value types:
  • String
  • Number
  • Float

String Random Values

You can define random variables that return strings with the Random Variable Wizard.

Individual Strings

An individual string declares a random variable of type RndInd. With each access, such a variable contains a random value with type string. You must declare all possible values for the random variable, along with their probabilities. For each string value you must define a weighted number that indicates the probability that the string value will be selected. Weighted numbers are integer numbers.

Strings from a Pattern

A string from a pattern declares a random variable of type RndStr. Such a variable contains a random string value with each access. The characters of the string and the length of the string are randomly generated following a uniform distribution.

The pattern string defines the characters that you must use to construct random strings. The length of calculated strings is selected randomly with a uniform distribution based on defined minimum and maximum lengths, including boundaries.

Number Random Values

You can define random variables that return integers with the Random Variable Wizard. The values can either be calculated based on a weighted number list or by specifying a number range.

Integer Numbers

Declares a random variable of type RndUniN. With each access, such a variable contains a value that is generated following a uniform distribution. The parameters of the RndUniN function specify the minimum value and the maximum value of the uniform distribution. Within these boundaries all integer values have the same probability, including the boundaries.

Weighted Integer Numbers

Declares a random variable of type RndInd. With each access, such a variable contains a random value whose type is either string or integer, depending on the syntax of the declaration. You must declare all possible values for the random variable, along with their probabilities. You cannot mix integer and string values. For each integer value you must define a weighted number that indicates the probability that the integer value will be selected.

Float Random Values

You can define random variables that return floats with the Random Variable Wizard. There is only one possible definition for generating float values currently.

Floating Point Numbers

Declares a random variable of type RndUniF. With each access, such a variable contains a value that is generated following a uniform distribution. The parameters of the RndUniF function specify the minimum value and the maximum value of the uniform distribution.