Viewing usage statistics of virtual services
After you start virtual service resources that are in the project repositories,
and then run tests on the virtual service, you can view the usage statistics of the
virtual services from the Usage page on IBM® DevOps Test Hub (Test Hub).
You must have completed the following tasks:
- Completed the prerequisite tasks before you configure a run of the HTTP virtual services. See Prerequisites for running HTTP virtual services in a Kubernetes cluster.
- Ensured that you are assigned a role as a Member or Project Creator in the team space. See Managing members and their roles in a team space.
- Ensured that you are assigned a role as a Viewer, Tester, or Project Owner in the project.
- Verified the version of the supported assets and resources that you want to use. See Supported versions of assets and resources.
- Started the virtual service resources as a Tester or Owner from the Resources page.
- Ran API Suites with tests that run on the virtual service resources that are configured.
After you run the virtual services that are in a project, you can view details of the usage statistics of the virtual services from the Usage page on Test Hub.
Restriction: The usage statistics of virtual
services if they are run on Test Integrations and APIs agents,
are collected only if the agents are of the same version as Test Hub.
Important: The settings such as the Period, or
From and To that you configure
to view the usage details are retained for you during your ongoing session and
the settings are retained even when you perform the following activities:
- Log out of the server and log in again.
- Log in after a server restart.
You can perform any of the following tasks:
- You can view the routing rules defined in the virtual service, agent, proxy, or intercept. See Viewing routing rules of the virtual services.
- You can stop the virtual service instances that are running. See Stopping virtual services.