Enablement of Resource Monitoring services for a schedule

You can enable Resource Monitoring service in IBM® Rational® Performance Tester 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 IBM® Rational® Test Automation Server and started it. For more details about installation, refer to Installing the software.
  • Configured the Resource Monitoring sources in Rational® Test Automation Server for your project. For more information about Resource Monitoring sources, refer to Resource Monitoring Sources.
  • In Rational® Performance Tester, you must have specified the Rational® Test Automation Server URL in Window > Preferences > Test > Rational® Test Automation Server and project in Window > Preferences > Test > Rational® Test Automation ServerResource Monitoring > Project to get sources from to get the Resource Monitoring sources.
  • Generated an offline user token in Rational® Test Automation Server.
    Note: In Rational® Performance Tester, you must have used the same token in Window > Preferences > Test > Rational® Test Automation ServerTest Connection to establish the connection with Rational® Test Automation Server. For more information about generating an offline token, refer to Generating an offline token.

Overview

When you connect Rational® Performance Tester to Rational® Test Automation Server, the Resource Monitoring sources that you added in your Rational® Test Automation Server project are displayed in Rational® Performance Tester.
Note: You must have created a project and added Resource Monitoring sources to your project in Rational® Test Automation Server.

You can configure Rational® Performance Tester to access Rational® Test Automation Server by using an offline user token.

You must generate the offline user token from Rational® Test Automation Server. You can then use the offline user token on the Preferences window in Rational® Performance Tester so that a connection is established between Rational® Performance Tester and Rational® Test Automation Server.

After the connection is established with Rational® Test Automation Server, you can monitor the following Resource Monitoring sources in Rational® Performance Tester:
  • 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 Rational® Performance Tester project, you can run the schedule from Rational® Performance Tester.

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