3.08. Generate bundles

You can generate bundles using the bundles generator mechanism.
Generating process is divided into three steps:
  1. Defining a list of properties
  2. Setting configuration
  3. Running the generator

1. Defining a list of properties

The list of properties contains details about how the particular property is generating.
The property list contains three columns:
  • Name - a property name
  • Type - type of generator
  • Details - details about generator
It is four types of property: number, text, data/time and property.

Actions

 Icon
 Name
 Description
 Load from template Load the list of properties from template file
 Save as template Save the current list of properties as a template file
 Remove all properties Remove all properties from the list
 Add property Add a new property into the list
 Remove property Remove the selected property
 Configure property Configure the selected property

Properties types

Number

This type of generator is designed for generating numbers.
The number can be generated as an iterator value or as a random value.
You can also set the format for the generator.

Test

This type of generator is designed for generating various of text.
The text can be generated as:
  • Constant value - every bundle will have the same value
  • Universally unique identifier (UUID) - eg. 5a3f398e-e363-4e19-b513-076e85f5d6b4
  • Random value - a random text generated based on regular expression
  • Iterator value - an iterator value generated based on regular expression
  • Random list item - a random item from the defined list

Date/time

This type of generator is designed for generating dates and times.
The value can be generated as an iterator value or as a random value.
You can also set the format for the generator.

Properties

This type of generator is used to retrieve values from other bundles.
You have to set a table name, a tag name and a property name.
The bundle can be find using the following options:
  • Random bundles - if the option is checked a random bundle is found, if is not checked it will be given the first available bundle
  • Use free bundles only - find only unlocked bundles
  • Lock used bundles - lock the bundle after it has been used


If you want to get more than one property from the bundle, you should check the "Linked bundle" option in the next property configuration.
Then you have to set the generator property in the "Linked with" list.

2. Setting configuration

In the "Bundles count" filed, set the number of bundles you want to generate.
If you want to see how bundles will be generated, you can check the "Symulation only" option.
Set a table name and destination tag name.

2. Running the generator

Clicke the Generate button to start processing.
In the symulation mode you see generated bundles details.