Configurable generators
The following generators support additional configuration options:
Generator ID | Configuration options | Description | Default value |
---|---|---|---|
range | min , max | Controls the minimum and maximum values. Supported for Rell types: integer, decimal, big_integer | (min, max) are required |
byte_array | size | Controls the size of the generated byte array | 32 |
text | min , max | Controls the minimum and maximum length of the generated string | (1, 10) |
predefined | distribution values | Controls the order picking values (SEQUENTIAL/RANDOM) List of values to be used | SEQUENTIAL Empty array |
Example configurations:
<entity_name>:
count: 10
attributes:
# Integer with range
<attribute_name_one>:
generator: text
min: 18
max: 65
<attribute_name_two>:
generator: byte_array
size: 20
<attribute_name_three>:
generator: predefineds
values: [1, 2, 3]
distribution: RANDOM