What is a Generator?

Each Generator generates synthetic data or queries for enumerated data for a Domain Attribute. A Generator must be assigned to each Attribute to generate raw data. 


Every time an Attribute is created, it is assigned a default Generator. Generators are automatically assigned to a new Attribute by the Data Warehouse based on usage statistics. 


When GenRocket cannot intelligently assign a Generator to an Attribute, it will assign the SimplePatternGen Generator as a placeholder. The assigned Generator can be replaced at any time. 


Note: Please note, Generators only generate test data -- Receivers format that data to a usable format. 


In This Article


Video Training

For a quick video tutorial, please take a second to watch the video provided below:



View a List of Available Generators

GenRocket has over 730+ Generators. Our team is constantly adding new Generators based on customer requests. To view all available Generators,  please view this link: GenRocket Generator List.


How can I Ensure the Right Generator is Assigned?

Generator Tags can be used to override the Data Warehouse and assign a Generator automatically based on a specified tag value. They can be at the Organization or Project Level. Click here to learn more. 


Note: As you continue to use GenRocket, the data warehouse will also become more intelligent and continue to assign Generators based on usage statistics.


How to View the Assigned Generator


Note: More than one Generator can be assigned to an Attribute and linked together. To learn more, please see: Linked Generators.


Generator Example

This example below shows the output for four User Domain Attributes: firstName, lastName, emailAddress, and username. 


These Attributes use the following Generators: 

  • firstName Attribute - NameGen
  • lastName Attribute - NameGen
  • emailAddress Attribute - EmailGen
  • username Attribute - ConcatGen

Generated Attribute data will vary based on the selected Generator and configuration: 



Additional Concept Articles

TopicDescription
What is Seeding?Learn more about how seeding can be used to ensure the same test data is generated each time. 
Linked Generators OverviewLearn more about linking Generators to generate complex data.
Generator Tags - Override Default Assigned GeneratorLearn about Generator Tags and how they can be used to override the default assigned Generator for new Attributes.


Generator-Specific Details

TopicDescription
Query GeneratorsView a list of Query Generators with article links.
UUID GeneratorsView a list of UUID Generators with descriptions.
List Generators
View a list of available List Generators with simple examples. These Generators can used to generate a list of values. 
String Generators
View a list of available String Generators with simple examples. These Generators can be used to compare, evaluate, combine, and manipulate strings. 
Generators in DetailView detailed articles on how to use specific Generators.


Generator Use Cases

TopicDescription
How to generate Primary Key values after the Max Value from a Database TableSee how to generate Primary Key values after the Max Value for Database Tables.
How to generate a Substring of a specified length from a list of StringsSee how Linked Generators can be used to generate a substring of a specified length from a given list of strings. 
How to generate Children based on WeightsSee how the MultiWeightGen Generator can be used to generate child records based on weights (percentage and value) to determine the number of child records generated per parent record.
Flat/Nested JSON: Hide an Attribute based on a ConditionSee how an Attribute can be hidden (not generated) within Flat or Nested JSON output based on a specified condition.
Flat/Nested JSON: Hide an Attribute when Value is NULL or BlankSee how an Attribute can be hidden (not generated) within Flat or Nested JSON output when its generated value is NULL or Blank.
Use CSVToMapGen Generator in Foreign Key Attribute to Reference a Primary KeySee how to use the CSVToMapGen Generator in a Foreign Key Attribute to Reference a Primary Key.


Generator "How To" Articles

TopicDescription
Generator SearchSearch for Generators being used by Domain and Attributes within a selected Project Version.
How do I assign a Generator to a single Attribute?Learn the three ways a Generator can be assigned to one Attribute. 
How do I assign a new Generator to multiple Attributes?Learn how to assign a Generator to more than one Attribute at a time.
How do I use the Generator Tuning Wizard?

Learn how to perform advanced Generator Tuning within a selected Project Version of a given Project. Users can see statistics on how well Generators have been associated to Attributes and make any needed changes from one location.

How to copy Generator(s) to other Attributes: Simple CopyLearn how to perform a simple copy of Generators to Attributes.
How to copy Generator(s) to other Attributes: Pattern CopyLearn how to perform a patterned copy of Generators to Attributes.
How to Enforce Data Type and Size in Generated DataLearn how to enforce a type/value limit for Generators.