5 Key Components of Genrocket

10
1| Copyright © 2016 GenRocket, Inc. | www.genrocket.com 1| Copyright © 2016 GenRocket, Inc. | www.genrocket.com The Five Key Components of GenRocket

Transcript of 5 Key Components of Genrocket

Page 1: 5 Key Components of Genrocket

1 |Copyright © 2016 GenRocket, Inc. | www.genrocket.com1 |Copyright © 2016 GenRocket, Inc. | www.genrocket.com

The Five Key Components of GenRocket

Page 2: 5 Key Components of Genrocket

2 |Copyright © 2016 GenRocket, Inc. | www.genrocket.com2 |Copyright © 2016 GenRocket, Inc. | www.genrocket.com

1. DomainsDescription: GenRocket Domains are the equivalent to one of your application’s data base tables.

Example: If you have a User table in your database you would create a User Domain in GenRocket.

User Domain

Page 3: 5 Key Components of Genrocket

3 |Copyright © 2016 GenRocket, Inc. | www.genrocket.com3 |Copyright © 2016 GenRocket, Inc. | www.genrocket.com

2. AttributesDescription: GenRocket Attributes are the equivalent to a column in one of your database tables. Domains can have many Attributes.

Example: For your User Domain you would create a first name Attribute. firstName Attribute

Page 4: 5 Key Components of Genrocket

4 |Copyright © 2016 GenRocket, Inc. | www.genrocket.com4 |Copyright © 2016 GenRocket, Inc. | www.genrocket.com

3. GeneratorsDescription: GenRocket Generators are used to generate data for a specific Attribute.

Example: You would assign a NameGen Generator to your first name Attribute to generate first names.

Sample Generators: Financial, Calendar, Business logic, User, Geographic test data

NameGen Generator

Page 5: 5 Key Components of Genrocket

5 |Copyright © 2016 GenRocket, Inc. | www.genrocket.com5 |Copyright © 2016 GenRocket, Inc. | www.genrocket.com

4. ReceiversDescription: GenRocket Receivers are used to format and distribute the raw data from a Generator.

Example: For your User Domain you would assigned am XMLFileReceiver to format your generated User data into XML.

Sample Test Data Receivers: XML, CSV, SQL, REST, JDBC

Sample Test Code Receivers: Grails, Laravel

XMLFile Receiver

Page 6: 5 Key Components of Genrocket

6 |Copyright © 2016 GenRocket, Inc. | www.genrocket.com6 |Copyright © 2016 GenRocket, Inc. | www.genrocket.com

5. ScenariosDescription: GenRocket Scenarios store the instructions from the Domain, Attributes, Generators, and Receivers, so you can generate data on your local machine with the GenRocket Runtime.

Example: A User Scenario that generates 3,000 users with parent—child relationships to a XML file.

User Scenario

Page 7: 5 Key Components of Genrocket

7 |Copyright © 2016 GenRocket, Inc. | www.genrocket.com7 |Copyright © 2016 GenRocket, Inc. | www.genrocket.com

GenRocket Terminology Summary GenRocket Term Definition Example

Domain A database table A user database table

Attribute A column in a database table

A column in the user database table – Name, Email.

Generator The component that generates test data for anAttribute

A “NameGen” generator

Receiver The component that formats the test data from a Generator

XML, SQL, JSON, Web Services, JDBC

Scenario Instructions for the GenRocket Runtime to generate test data

A UserScenario that generates user test data

Page 8: 5 Key Components of Genrocket

8 |Copyright © 2016 GenRocket, Inc. | www.genrocket.com8 |Copyright © 2016 GenRocket, Inc. | www.genrocket.com

Extensible Components

Page 9: 5 Key Components of Genrocket

9 |Copyright © 2016 GenRocket, Inc. | www.genrocket.com9 |Copyright © 2016 GenRocket, Inc. | www.genrocket.com

Generators | Over 100GenRocket currently offers over 100 different types of Generators.

The GenRocket team can easily create new Generators to meet your unique business data requirements.

Receivers | Over 20GenRocket currently offers 20 different types of Receivers.

The GenRocket team can easily create new Receivers to meet your unique data format needs.

Page 10: 5 Key Components of Genrocket

10 |Copyright © 2016 GenRocket, Inc. | www.genrocket.com10 |Copyright © 2016 GenRocket, Inc. | www.genrocket.com

Learn more at GenRocket.com