Data generators - Introduction
Studio section designed to set definitions (samples) used later for testing purposes
This section within this module is designed to set definitions which in our Studio are named as Sample settings. Used for testing purposes to automatically generate dummy records and check your database structure by the Generate automatically functionality in DB data section.
From Logic Design, click Data generators. This page is broken up into three major functional parts:
- the toolbar, where you can find the action button
- canvas, as central section to preview all created generators, and
- select model section on the right.

Add new Data generator
First, from the Select model section on the right, select the DB model you want to create Data generator for, and next click the button "add new generator" to open the modal window to set the definition:
- type Name of this definition
- determine the Sample size i.e. number of records that you want to auto-generate when used in DB data.
- Locale - a type of localization, and
- List of all model properties from the selected database model. All properties are pre-selected by default, so you'll need to deselect the ones you don't want to use for this sample.

Set definitions for each property
You need to set the randomizer type to describe what kind of data you want to assign to this property. in order for the system to determine what auto-generating values to assign:
- Use the property - by default, this property is checked and selected. Deselect if you don't want to use this property for this sample
- select Binding type. Most of the times you will opt for auto-generate to mass-test, while the static value will be used in rare cases (but it is available as an option if you want to utilize it)
- select one of the many data sets i.e. data type category
- set data value type for the selected data set

When the Sample is generated, you can preview the details of your customization, or delete it.

Now, when the definition is set and the Generator created, you can use it to generate data records in the development database. Operation which takes place in the DB data section.