Enablement of Resource Monitoring services for a schedule

You can enable Resource Monitoring service in HCL OneTest Performance for a performance schedule to monitor the resources in a schedule and capture the performance statistics of such resources during the schedule run.

Prerequisites

You must have completed the following tasks:
  • Installed HCL OneTest Server and started it. For more details about installation, refer to Installing the software.
  • Configured the Resource Monitoring sources in HCL OneTest Server for your project. For more information about Resource Monitoring sources, refer to Resource Monitoring Sources.
  • In HCL OneTest Performance, you must have specified the HCL OneTest Server URL in Window > Preferences > Test > HCL OneTest Server and project in Window > Preferences > Test > HCL OneTest ServerResource Monitoring > Project to get sources from to get the Resource Monitoring sources.
  • Generated an offline user token in HCL OneTest Server.
    Note: In HCL OneTest Performance, you must have used the same token in Window > Preferences > Test > > Test Connection to establish the connection with HCL OneTest Server. For more information about generating an offline token, refer to Generating an offline token.

Overview

When you connect HCL OneTest Performance to HCL OneTest Server, the Resource Monitoring sources that you added in your HCL OneTest Server project are displayed in HCL OneTest Performance.
Note: You must have created a project and added Resource Monitoring sources to your project in HCL OneTest Server.

You can configure HCL OneTest Performance to access HCL OneTest Server by using an offline user token.

You must generate the offline user token from HCL OneTest Server. You can then use the offline user token on the Preferences window in HCL OneTest Performance so that a connection is established between HCL OneTest Performance and HCL OneTest Server.

After the connection is established with HCL OneTest Server, you can monitor the following Resource Monitoring sources in HCL OneTest Performance:
  • Apache httpd server
  • NGINX server
  • Java Virtual Machine
  • Windows Performance Host
  • Linux Performance Host
  • Docker Host
  • OpenMetrics exporter
  • Prometheus server
When you enable Resource Monitoring service for a schedule, you can add the Resource Monitoring sources by using any of the following methods:

After you add the Resource Monitoring sources to the performance schedule that is available in your HCL OneTest Performance project, you can run the schedule from HCL OneTest Performance.

If you want to run a performance schedule from the HCL OneTest Performance command line, you can use the overridermlabels command to enable the Resource Monitoring service. See Running a schedule from a command line.