Modifying a scenario
You can modify a scenario that is currently running from the Environments Dashboard in HCL DevOps Test Virtualization Control Panel (Test Virtualization Control Panel). You can add stubs to a scenario, modify the stub configuration, delete a stub from a scenario, modify the stub behavior during start of the scenario, rename a scenario, or delete a scenario from the Environments Dashboard.
About this task
Adding stubs to a scenario
Procedure
- From the Environments Dashboard, expand the scenario by clicking the icon.
- Click the Select Stub icon ().
-
Select stubs by using any of the following methods:
- Click the check box for the stub you want to add from the list.
- Click the check box in the header row to select all the stubs at once.
- Search for stubs by using the Stub Filter field, and then select the stubs displayed individually or by clicking the check box in the header row.
-
Click ADD STUBS.
Note: You can add multiple instances of the same stub to a scenario.
Modifying stub configuration
Procedure
- From the Environments Dashboard, expand the scenario by clicking the icon.
-
Stop the stub that you want to edit by clicking the stop icon ().
Note: The scenario will still be displayed as running unless all of its stubs are stopped.
- Expand the stub you want to modify by clicking the icon of the stub.
-
Click the Configuration tab.
You can modify the following settings for a stub: Name, Version, Logging Level, Response Time, Agent Tags, Dedicated JVM, Performance, or Pass-through. For more information about the configuration settings, see DevOps Test Virtualization Control Panel: Modifying stub information.
Modifying stub behavior during a scenario start
Procedure
- From the Environments Dashboard, expand the scenario by clicking the icon.
- Click the Configuration tab of the scenario.
-
Click the Isolation field and select any of the following options
to set up the behavior of the stubs during the start of the scenario:
- No stubs will be automatically stopped upon scenario start
- Stubs that are for the same operations will be automatically stopped upon scenario start
- All stubs will be automatically stopped upon scenario start
- Click SAVE.
Deleting a stub from a scenario
Procedure
- From the Environments Dashboard, expand the scenario by clicking the icon.
- Stop the stub that you want to delete by clicking the stop icon ().
- Click the Delete icon () for the stopped stub.
- In the Remove Stub from Scenario window, click REMOVE, to delete the selected stub from the scenario.
Renaming a scenario
Procedure
- From the Environments Dashboard, expand the scenario by clicking the icon.
- Click the Configuration tab of the scenario.
-
Click the Name field and edit or change the name of the
scenario.
Note: Ensure to provide a name different from the existing scenario names.
-
Click SAVE to save the modified name of the scenario.
Note: If you have already created a scenario with the same name in the current environment, an error message is displayed, and you must save the new scenario under a different name.
Deleting a scenario
About this task
Procedure
- From the Environments Dashboard, click the Menu icon () in the scenario row.
-
Click the Delete icon ().
You can delete any scenario that you created.
Note: An administrator can delete any scenario created by any user by using the Scenarios page on the Domains and environments tab on the Administration page of HCL DevOps Test Virtualization Control Panel (Test Virtualization Control Panel).