Viewing resources that are associated with components
After you associate Suites, tests, or virtual services resources with components in the system model, you can view the associated resources from the System Model page. You can opt to run an instance of the associated resource or stop a running instance of the associated resource.
Before you begin
- Ensured that you are assigned a role as a Project Owner or Tester in the project. See Managing access to the server projects.
- Created and published the system model. See Creating a system model.
- Created components in the system model. See Creating components.
- Associated resources in a project with components in the system model. See Associating resources with components.
Procedure
- Log in to HCL OneTest™ Server, if you are not already logged in.
-
Open the team space to which a team space repository is added.
The Active projects page is displayed.
-
Click
to open the project that contains the test assets.
The Overview page of the project is displayed.
-
Click System Model on
the left navigation pane.
The System Model page is displayed.
-
Click the component that you associated with the resources in the
project repository.
The resources associated with the component are displayed under the resource type in the Associate tab.
-
Click the Overview tab, if it is not already displayed.
The resources that are associated with the component are displayed under the Suites and Tests or Virtual Services section.
- View and perform the actions for the resource type that you want from the following options:
-
Identify the test resource from those that are listed under the
Suites and Tests section, and perform the action that
you want as described in the following table:
Task Description Action Collapse icon You can hide the resource sections by clicking the Collapse icon . Note: When the section is hidden, you can view the number that is displayed of the resources that are associated.Click the icon to toggle the display to show or hide the resource list in the Suites and Tests section. Type You can view the type of Suite or test. Hover over the Suites and Tests icon under the Type column to view the type of Suite or test. Name You can view the name of the associated Suite or test and the path in the repository. There is no action to perform. Status You can view the details of the test runs. Click each of the squares to view the details of the specific test run. For example, if the status of a test run is represented as shown in the image , then it indicates that the Suite or test has run only two times. After you click any colored square, the Results page is displayed. Action You can start the execution of the Suite or test from the Execution page when you click the Show in execution page icon .
Click the Show in execution page icon to view the Suite or test on the Execution page. The Suite or test is displayed on the Execution page.
-
Identify the virtual service resource from those that are listed under the
Virtual Services section, and perform the action that
you want as described in the following table:
Field Description Action Collapse icon You can hide the resource sections by clicking the Collapse icon . Note: When the section is hidden, you can view the number that is displayed of the resources that are associated.Click the icon to toggle the display to show or hide the resource list in the Virtual Services section. Show all icon You can opt to view the virtual services that are associated with the component either on the Resources or Instances page. You can start an instance of the virtual service from the Resources page while you can stop a running instance from the Instances page.
Perform the following steps: - Click the Show all icon .
- Select any of the following actions:
- To start an instance of the virtual
service:
- Select Show all in resources page to go to the Resources page.
- Click the Execute icon in the row of the virtual service.
- Configure the settings for the run of the virtual service, if you want to change any of the settings, else click Execute.
The virtual service starts to run.
- To stop a running instance of the virtual
service:
- Select Show all in instances page to go to the Instances page.
- Identify the instance that you want to stop and click the Stop icon in the Actions column of the selected virtual service instance.
- Click Ok in the Stop virtual service instance dialog that is displayed.
The running virtual service instance is stopped.
- To start an instance of the virtual
service:
Name You can view the name of the associated virtual service and the path in the repository. There is no action to perform. Instances You can view the state of the running instance of the virtual service resource. The state is displayed as Running only if the instance is running. There is no action to perform. Action You can go to the Resources page to view the virtual service resource when you click the Show resource icon . You can start an instance of the virtual service from the Resources page.
Click the Show resource icon to view the virtual service on the Resources page. The virtual service resource is displayed on the Resources page.
Expand icon You can expand the virtual service card only if the virtual service is a running instance. In the expanded card, you can view the details such as the Environment, the total number of requests received by the virtual service, and the relative time from when the virtual service had started.
You can stop a running instance of the virtual service from the Instances page.
Perform the following steps: - Expand the virtual service card for a running
instance.
You can view the details of the instance.
- Click the Show instance
icon to go to the
Instances page to view the
running instance of the virtual service.
The running instance of the virtual service is displayed on the Instances page.