A Project Version Variable Set is a copy of all the Domain Global Variables for a project version. The set contains a copy of the variables, which have their own specific values.

When should a Project Version Variable Set be used?

Project Version Variable Sets should be used when testers need separate values for different Scenarios within a Test Data Project Domain. This allows different values to be used when generating data without impacting the Domain's default values.

How do I use Project Version Variable Sets? 

  • Select a Test Data Project and Project Version
  • Create a new Project Version Variable Set
  • Edit values for each desired Project Variable

Testers can select a Project Variable Set for a Scenario within the Scenario Dashboard before generating test data. Project Version Variable Sets can also be assigned to Scenarios directly within the Management pane for a selected Project Version.

How to View Project Version Variable Sets

This information can be viewed and managed within the Management pane of the Project Dashboard when logged into the web platform.

Project Version Variable Set Example

For example, let's say we have a User Domain in our project, and separate values must be used for two different Scenarios. 

Two Project Version Variable Sets will need to be created and configured. Each set will have its own values for all three Domain Global Variables (id, seed, and loopCount).

Project Version Variable Set 1

Set 1 has the following configuration:

  • = 1
  • global.User.loopCount = 25
  • global.User.seed = 1

Project Version Variable Set 2

Set 2 has the following configuration:

  • = 100
  • global.User.loopCount = 100
  • global.User.seed = 10

Note: To learn more about Project Variables, please view this documentation section: Project Version Variables

Do I Need a Project Variable Set to Run Scenarios?

No, you do not. By default, GenRocket Scenarios leverage the default Domain Global Variable values. 

Note: To learn more about creating a Project Variable Set, please see this article: How to create a Project Variable Set.