How to import your data model into GenRocket

For GenRocket to generate your test data it needs to understand your data model. From our experience, every team has a different level of access to their data model (i.e. direct access to the database, access to flat files). 


Four Ways to Import your Data Model

There are four primary ways you can import your data model into GenRocket:

1. DDL File Import

You can import your data model with as a single data definition language (DDL) or multiple.

Single DDL 

You can create a single Domain by pasting a single table DDL. To learn more about this method, please view this help article.

Multiple DDL 

You can create multiple Domains by reading in a DDL file. To learn more about this method, please view this help article


2. GenRocket Import Table Schema (ITS) 

You can import your data model with the GenRocket -its command. The -its command stands for, Import Table Schema.  This option is run from the GenRocket command line interface to connect directly to a database via JDBC to extract a database's schema. To learn more about this method, please view this help article.
 

3. CSV Import

You can create a GenRocket Domain by importing a CSV file into GenRocket. To learn more about this method, please view this help article


4. Manually 

Scratch Pad

The GenRocket Scratch Pad allows testers to quickly and easily model simple to complex test data. To learn more about this method, please view this help article.


New Domain  

Last but not least, you can also manually create a Domain with the New Domain button. To learn more about this method, please view this help article