Configuring references
You can configure a performance test to run scenarios, which are collections of stubs, that are available on the IBM® DevOps Test Virtualization Control Panel (Test Virtualization Control Panel) domain associated with your IBM DevOps Test Integrations and APIs (Test Integrations and APIs) project.
Using the References tab on the Config
tab of the Performance Test window, you can:
- Load the configuration of a scenario saved on a Test Virtualization Control Panel domain into the currently selected performance test, overwriting any conflicting stubs that are already configured.
- Modify the configuration of the that scenario.
- Run the scenario on Test Virtualization Control Panel when you run the performance test.
Note:
The capability to configure performance test to run scenarios is available only
if you are using 8.5.1 or later and 8.5.1 or later.
Note:
Before you can load any
scenarios from Test Virtualization Control Panel, you must ensure
that your project is connected to a valid instance of Test Virtualization Control Panel and that your project is connected to
the relevant domain.
- To ensure that the connection is working correctly, click Project > Project Settings on the menu bar, click the Server Settings tab on the Project Settings window, and verify that a green tick icon is displayed next to the URL field on the Control Panel area of the tab. If there is no URL displayed or if there is a red cross icon next to the URL field, you should contact your project administrator.
- To ensure that your project is connected to the relevant domain, click (if necessary) the relevant domain in the Domain list on the Control Panel area of the Server Settings tab.
- Click OK to save any changes.
- Do not change (default): Any operations that are not assigned a stub by the scenario that is loaded from Test Virtualization Control Panel keep their existing selection.
- Clear selection: Selections are cleared for any operations that are not assigned a stub by the scenario that is loaded from Test Virtualization Control Panel.
- Set to Live System: Selections are changed to "Live System" for any operations that are not assigned a stub by the scenario that is loaded from Test Virtualization Control Panel, which means that all traffic goes to the live system.
The Task Monitor and Console windows in the Test Lab perspective are displayed. Verify that the test starts.
When you run the performance test:
- Any stubs that were running on the selected execution environment in Test Virtualization Control Panel stop for any operations in the
scenario where Live System or a stub was selected.Note:In the Environments Dashboard of Test Virtualization Control Panel, verify that the relevant stubs are started on the selected execution environment. To verify which agents are running the stubs, navigate to the Infrastructure Dashboard, identify the agent from its name under the Identity column and check the Status to be displaying as CONNECTED for a running agent.
- The selected execution environment in Test Virtualization Control Panel is locked if you selected the Lock environment check box on the References tab.
- Any stub or stubs that are linked to the scenario are executed.
- When the scenario finishes, all stubs (both remote and local) that it started are stopped.