The GenRocket Methodology consists of four stages: Model, Design, Deploy, and Manage. The first stage, referred to as Model or Modeling, involves the following 3 steps:
- Creating a Test Data Project
- Importing or Creating a Data Model in the Test Data Project
- Establishing Referential Integrity between Project Domains
Data can be modeled within a Test Data Project and across Test Data Projects. Organization Variables and Organization Attributes can be used to model data across Test Data Projects.
In This Article
- 5 Key Components
- Step 1: Create a Test Data Project
- Step 2: Import/Create a Data Model
- Step 3: Establish Referential Integrity
- Modeling Data Across Test Data Projects
5 Key Components
Five key components are necessary to generate test data. Of these key components, Domains and Attributes are part of the Model stage.
Think of it like....
|Domain||Model||A person, place, or thing - Often equivalent to a database table.||A User Domain|
|Attribute||Model||The characteristics of the Domain - the columns in the database.||Name, Phone, SSN, DOB, Customer#|
|Generator||Design||Generates data or queries production data for the Attribute.||NameGen, PhoneNumberGen, SSNGen, DateGen, QueryGen Generators|
|Scenario||Design||Instruction set that tells the GenRocket engine how much data to generate.||Generates data into a typical test case in about 100 milliseconds.|
|Receiver||Deploy||Receives the data from the Generator and morphs it into a usable format.||XML, JSON, SQL, DB2, JDBC, VSAM, CSV, NACHA, BA12 etc.|
Step 1: Create a Test Data Project
Test Data Projects
Step 2: Import/Create a Data Model
Next, you will need to define the Data Model for each application or database. Data Models can be defined by extracting database metadata (XTS), importing a file (DDL, JSON, CSV), or can be configured quickly through the Scratch Pad feature.
GenRocket offers multiple ways to import or create your data model, as shown below, To learn more about each available method, please click here.
Step 3: Establish Referential Integrity
Parent-Child-Sibling Relationships will need to be validated/set up to establish referential integrity among Domains within a Test Data Project.
This can be done through the Domain Referencing Wizard when importing an XTS or file into GenRocket. In the example below, the Branch Domain has been defined as a parent for the AccountLevel and AccountType Domains.
Note: Click here to learn how to use the wizard to validate and set up Parent-Child-Sibling Relationships.
Referential Integrity may also be established for any Domain within a Test Data Project through the Relationship Tab in the Domain Dashboard.
Note: Click here to learn more about setting up Parent-Child-Sibling Relationships between Domains in GenRocket.
Modeling Data Across Test Data Projects
Data can be modeled across Test Data Projects through Organization Variables and Organization Attributes. These items can be referenced by any Test Data Project within your Organization and by multiple Projects at the same time.
To model data across Test Data Projects, you will need to set up a suite of Organization Variables or Attributes with a unique name and its own set of variables/attributes. Once set up, you will be able to reference these items individually within other Test Data Projects.