Skip to content

Random Helper

The Random Helper allows you to generate random values.

Categories: Helpers

Type: randomHelper/v1


Actions

Random Float

Name: randomFloat

Generates a random float value.

Properties

NameLabelTypeDescriptionRequired
startInclusiveStart InclusiveINTEGERThe minimum possible generated value.true
endInclusiveEnd InclusiveINTEGERThe maximum possible generated value.true

Example JSON Structure

{
"label" : "Random Float",
"name" : "randomFloat",
"parameters" : {
"startInclusive" : 1,
"endInclusive" : 1
},
"type" : "randomHelper/v1/randomFloat"
}

Output

Type: NUMBER

Random Hex

Name: randomHex

Generates a random Hex.

Properties

NameLabelTypeDescriptionRequired
lengthHex Byte LengthINTEGERHex byte length must be a positive integer smaller than or equal to 32.true

Example JSON Structure

{
"label" : "Random Hex",
"name" : "randomHex",
"parameters" : {
"length" : 1
},
"type" : "randomHelper/v1/randomHex"
}

Output

Type: STRING

Random Integer

Name: randomInt

Generates a random integer value.

Properties

NameLabelTypeDescriptionRequired
startInclusiveStart InclusiveINTEGERThe minimum possible generated value.true
endInclusiveEnd InclusiveINTEGERThe maximum possible generated value.true

Example JSON Structure

{
"label" : "Random Integer",
"name" : "randomInt",
"parameters" : {
"startInclusive" : 1,
"endInclusive" : 1
},
"type" : "randomHelper/v1/randomInt"
}

Output

Type: INTEGER

Random String

Name: randomString

Generates a random string value.

Properties

NameLabelTypeDescriptionRequired
lengthLengthINTEGERThe length of the generated string.true
characterSetCharacter SetSTRING
Options ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789, ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789~`!@#$%^&*()-_=+[{]}|;:’”,<.>/?
The character set to be used for generating string.true

Example JSON Structure

{
"label" : "Random String",
"name" : "randomString",
"parameters" : {
"length" : 1,
"characterSet" : ""
},
"type" : "randomHelper/v1/randomString"
}

Output

Type: STRING

Random UUID

Name: randomUuid

Generates a random UUID.

Example JSON Structure

{
"label" : "Random UUID",
"name" : "randomUuid",
"type" : "randomHelper/v1/randomUuid"
}

Output

Type: STRING