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 HCL OneTest Server.

Before you begin

You must have completed the following tasks:

About this task

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 HCL OneTest Server.

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.

Procedure

  1. Log in to HCL OneTest Server.

    The team space that contains your project is displayed.

  2. Open the project that contains the virtual service resources in the test assets by clicking Projects > My Projects > project_name.

    The Overview page is displayed.

  3. Click Virtualization > Usage in the navigation pane.

    The Virtual Service Usage page is displayed.

    The total requests that were received by all virtual services on the server are displayed as a graph.

    The default view displays the usage data of the virtual services that are gathered during the previous week and grouped in an hourly interval. The total requests received from when the virtual service was started are displayed.

    The metric data that is reported is for the number of requests that are received by a virtual service. The requests can be requests, messages, or other calls that are received by the virtual service.

  4. Change the default settings to view the graph for the period for which you want to view the usage.
    You can change the default view by selecting an option from the following options:
    Option Description
    1 Hour Displays the usage data of the virtual service that are gathered during the previous hour and grouped in a 20-second interval.
    1 Day Displays the usage data of the virtual service that are gathered during the previous day and grouped in an eight-minute interval.
    1 Week Displays the usage data of the virtual service that are gathered during the previous week and grouped in an hourly interval.
    Note: This is the default view.
    Range Displays the usage data of the virtual service that are gathered during the date range specified in the From and To fields. You can select the date and time for both the From and To fields. The data is dynamically grouped in intervals that depend on the range selected.
    Note: You can refresh the view at any time to present the graph for the latest data by clicking Refresh.
  5. View details of the virtual service by hovering the mouse over any of the data-points to view the details at that point.
    The following details about the virtual service are displayed when you hover the mouse over the data-point:
    • The date and time of the request received.
    • The number of requests received.

Results

You have viewed the usage details of the virtual services in your project that ran on HCL OneTest Server.

What to do next

You can perform any of the following tasks: