Description

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: 

  1. Creating a Test Data Project
  2. Importing or Creating a Data Model in the Test Data Project
  3. 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

Five key components are necessary to generate test data. Of these key components, Domains and Attributes are part of the Model stage.


Term

Stage

Think of it like....

Example

DomainModelA person, place, or thing - Often equivalent to a database table. A User Domain
AttributeModelThe characteristics of the Domain - the columns in the database.Name, Phone, SSN, DOB, Customer#
GeneratorDesignGenerates data or queries production data for the Attribute.NameGen, PhoneNumberGen, SSNGen, DateGen, QueryGen Generators
ScenarioDesignInstruction set that tells the GenRocket engine how much data to generate.
Generates data into a typical test case in about 100 milliseconds.
ReceiverDeployReceives 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 contain the Data Model for each application or database you want to generate test data for within the web application.

 

A Project will need to be created before a data model can be imported or created. A sample Project is shown below. To learn more about how to create a Test Data Project, click here



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.