Generate Random Test Data Reference

Setup the random test data generator by defining the amount of the test data to be generated, method of generation, and value bounds (maximum and minimum values) for the generated test data.

Generate Random Test Data Reference
Field Description
Owner Entity Displays the entity for which the test data is created.
Property List List of properties of the entity. Select the properties for which you want to generate the test data.
Number of Rows to generate Number of rows to be added in the test data.
Generation Methods Select the method to be used for generating the random test data. The methods are:
  • Random
  • Constant
  • Prefixed

The methods are available based on the data type of the selected property. Based on the data type and generation method, you can provide the values for the test data generator. See the Generate Random Test Data ReferenceSetup the random test data generator by defining the amount of the test data to be generated, method of generation, and value bounds (maximum and minimum values) for the generated test data. Generate Random Test Data ReferenceField Description Owner Entity Displays the entity for which the test data is created. Property List List of properties of the entity. Select the properties for which you want to generate the test data. Number of Rows to generate Number of rows to be added in the test data. Generation Methods Select the method to be used for generating the random test data. The methods are: Random Constant Prefixed The methods are available based on the data type of the selected property. Based on the data type and generation method, you can provide the values for the test data generator. See the Generate Random Test Data Reference table. Allow Empty Values Select the check box to include empty values in the randomly generated test data. Probability of generating an empty value Specify the probability (0 to 100%) of generating an empty value. Test Data Generation MethodsProperty Type Generation Methods Value Bounds Example Value String random, constant, prefixed, enumerate (domain models only) Minimum and maximum length of string mXd8 int random, constant, incremental, enumerate (domain models only) Minimum and maximum integer value. The values can be negative. 4453 long random, constant, incremental, enumerate (domain models only) Minimum and maximum long value. The values can be negative. 6302 double random, constant, incremental, enumerate (domain models only) Minimum and maximum double value. The values can be negative. 256.3929935664355 boolean random, constant, enumerate (domain models only) Accepted values:true or false true DateTime random, constant, incremental, enumerate (domain models only) Minimum and maximum DateTime value. The dates can be in the past. 2019-10-17T04:12:37 table.

Allow Empty Values Select the check box to include empty values in the randomly generated test data.
Probability of generating an empty value Specify the probability (0 to 100%) of generating an empty value.
Test Data Generation Methods
Property Type Generation Methods Value Bounds Example Value
String random, constant, prefixed, enumerate (domain models only) Minimum and maximum length of string mXd8
int random, constant, incremental, enumerate (domain models only) Minimum and maximum integer value. The values can be negative. 4453
long random, constant, incremental, enumerate (domain models only) Minimum and maximum long value. The values can be negative. 6302
double random, constant, incremental, enumerate (domain models only) Minimum and maximum double value. The values can be negative. 256.3929935664355
boolean random, constant, enumerate (domain models only) Accepted values:

true or false

true
DateTime random, constant, incremental, enumerate (domain models only) Minimum and maximum DateTime value. The dates can be in the past. 2019-10-17T04:12:37