Global Variables



There are three default Global Variables when you create a Domain:

  1. When a Domain is created it is created with an ID Attribute that uses a RangeGen Generator whose startRange parameter references the global ID variable. The global ID value is initially set to one; but you can change the value of the global ID to another value and all references to the global id will instantly reflect the change.

  2. global.seed: The global variable, seed, is useful for setting a seed value for a given Domain A, to ensure that its randomly generated data differs from Domain B's randomly generated data using the same Generators but a different global seed value.

  3. global.loopCount: The loopCount global variable is useful when Scenarios contain Domains that are related to each other. By changing the value of the loopCount, it changes the amount of data generated.