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. They are automatically assigned when the the Attribute is created based on a number of factors. To learn more about the Generator assignment process, click here
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
 - Concept and Help Articles
 - Generator-Specific Details
 - Generator Use Cases
 
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 default Generator assignment. They can be used to assign a Generator automatically based on a specified tag value and can be created for a specific Project or the Organization (available to all Projects within Organization). Click here to learn more.
Note: Generator assignment will become more intelligent with continued use, as it factors such as usage patterns to intelligently assign a default Generator to each new Attribute.
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:
Concept and Help Articles
| Topic | Description | 
| Generator FAQs | See the answers to commonly asked Generator questions. | 
| How are Generators Assigned to Domain Attributes? | Learn how GenRocket decides what Generator is automatically assigned to new Attributes. | 
| Generator Tags - Override Default Assigned Generator | Learn about Generator Tags and how they can be used to override the default assigned Generator for new Attributes. | 
| Generator Search - Find Assigned Generators within a Project | Search for Generators being used by Domain and Attributes within a selected Project Version. | 
| What is Seeding? | Learn more about how seeding can be used to ensure the same test data is generated each time. | 
| What is the difference between the ProxyReferenceGen and ReferenceGen? | Learn more about how these Generators are different. | 
| Linked Generators Overview | Learn more about linking Generators to generate complex data. | 
| 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. | 
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. 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. | 
| Conditional Logic Generators | View a list of available Conditional Logic Generators with simple examples. These Generators can be used to generate test data based on one or more conditions or weighted test data (by percentage). | 
| 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. | 
| How to generate and store JSON Files (Payload) in a Database Table | See an example of how to insert JSON files (payload) into a database table. |