RandomStringInRange

RandomStringInRange

Generates a random string within the provided range, e.g: min=aa max=bb, possible output: {aa,ab,ac,..,az,ba,bb}. Has the option of detecting and preserving a simple pattern. See description of patternDelimiter for details.

Attributes
Name Description Required Min Max Allowed Values
name (Class)Name of this element. Used to identify plugin Class. Full name is required. Example: com.en.myPluginPackage.myPuginClass no 0 1
isBigEndian Content type: Boolean
True: perform random string generation in bigEndian notation, fill up from the back: ' ba'). False: fill up from the front: 'ab '
Default: true
no 0 1
  • true
  • false
  • 0
  • 1
id Identification String of this element. May be used to uniquely identify a field within the children of an Element. no 0 1
Nodes
Name Description Required Min Max Allowed Values
characters Content type: String
Sets characters this generator uses for generating a random string
no 0 1
max Content type: Long
Maximum value to generate (inclusive).
yes 1 1
min Content type: Long
Minimum value to generate (inclusive).
yes 1 1
patternDelimiter Content type: String
A character sequence which delimits patterns present in min and max. e.g: min='aaa.aaaa' with patternDelimiter='.' will detect the dot at position 3 and ensures that the final result of this generator also has a dot at position 3. Output might be: akr.emww
no 0 1
padding Content type: Single Character
Empty node: no padding. Example: min=a max=bbb
No padding => {a,b,c,..,bba,bbb}; padding='a' => {aaa,aab,aac,..,bba,bbb}; padding=' ' => {aaa,aab,aac,..,bba,bbb}
Default: false
no 0 1
Sub-Parameters
Parent Name Description Required Min Max Allowed Values
min gen Value Generator for this field no 0 1
max gen Value Generator for this field no 0 1
2.7-83fb0 | 2020-04-22