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
- View a List of Available Generators
- How can I Ensure the Right Generator is Assigned?
- How to View the Assigned Generator
- Generator Example
- Additional Concept Articles
- Generator-Specific Details
- Generator Use Cases
- Generator "How To" Articles
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
- In the Domain Dashboard, select an Attribute.
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
Topic | Description |
What is Seeding? | Learn more about how seeding can be used to ensure the same test data is generated each time. |
Linked Generators Overview | Learn more about linking Generators to generate complex data. |
Generator Tags Overview | Learn more about Generator Tags. |
Generator-Specific Details
Topic | Description |
Query Generators | View a list of Query Generators with article links. |
UUID Generators | View a list of UUID Generators with descriptions. |
List Generators | View a list of available List Generators with simple examples. |
Generators in Detail | View detailed articles on how to use specific Generators. |
Generator Use Cases
Topic | Description |
How to generate Primary Key values after the Max Value from a Database Table | See 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 Strings | See 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 Weights | See 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 Condition | See 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 Blank | See 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 Key | See how to use the CSVToMapGen Generator in a Foreign Key Attribute to Reference a Primary Key. |
Generator "How To" Articles
Topic | Description |
Generator Search | Search 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 Copy | Learn how to perform a simple copy of Generators to Attributes. |
How to copy Generator(s) to other Attributes: Pattern Copy | Learn how to perform a patterned copy of Generators to Attributes. |
How to Enforce Data Type and Size in Generated Data | Learn how to enforce a type/value limit for Generators. |