In this section:
An environment instance is a static "snapshot" of a specific combination of component instances that you want to save and provision for each test environment. You can create any number of instances from a single environment.
For example, you might want to configure and save several Functional Testing environment configurations as well as several different Performance Testing environment configurations from a single environment. You can then rapidly switch between environments by simply selecting and provisioning different environment instances.
Working in this manner, you won’t need to manually reconfigure an environment each time you want to access it and you’ll know that the environment is configured consistently each time you access it.
Creating an Environment Instance
To create an environment instance:
- Open the environment upon which the instance will be based.
- Click Edit Diagram to enter Edit mode.
- Use the available controls to set the state of components that have component instances.
- Choose Create New Instance from the page-level action menu then specify a name for the new instance.
- If you’re ready to make the environment instance live, click Provision.
This sets each environment component to the state specified in its component instance. Components will remain in this state until they are changed (from CTP or from Virtualize).
Provisioning a Saved Environment Instance
To activate and provision a saved environment instance:
- Open the environment that you want to provision.
- Do one of the following:
- In regular (not Edit) mode: Select the name of the instance you want to provision in the top right of the page.
- In Edit mode: Click the link to the desired environment instance.
- In regular (not Edit) mode: Select the name of the instance you want to provision in the top right of the page.
Click Provision.
All components will be set to the specified state. They will remain in this state until they are changed (from CTP or from Virtualize).