What is a Scenario Chain?

Scenario Chains are created by linking two or more Scenarios together to build data for complex data models. A Scenario Chain may contain up to twenty-five Scenarios.

When modeling data for complex data models, each Domain should have its own Scenario. Each Domain Scenario can then be chained or linked together to create a Scenario Chain.

Scenario Chains behave just like a Scenario — the user downloads a single file to generate the specified test data on their machine.

When the Scenario Chain is run, data will be generated for each Domain Scenario in the sequence defined within the Scenario Chain.

Scenario Chain Example

Three individual Scenarios have been created and can be linked together to form one Scenario Chain:

  • Department Scenario
  • User Scenario
  • Address Scenario

Each Scenario can be downloaded and run separately to generate data, but this does not meet the needs of more complex data models and is time-consuming.

All three Scenarios can be linked to form a Scenario Chain, which can then be downloaded and run just like a Scenario to generate test data.

As shown below, the Scenario Chain contains each of the Scenarios. Each Scenario will be run in the displayed order within the Scenario Chain. Users may set a Delay (in seconds) for each Scenario within the Scenario Chain.

All three Scenarios will be run when the downloaded Scenario Chain is run in the command terminal:

Link:

https://genrocket.freshdesk.com/support/solutions/folders/19000164897

Related Assets

GenRocket - Test Data Management

Download Literature

View Literature
GenRocket - Test Data Management

What is a Scenario Chain?

Scenario Chains are created by linking two or more Scenarios together. This feature is often used when building data for complex data models.

Read More
GenRocket - Test Data Management

How can we help
you today?