Adding Resource Monitoring sources to a performance schedule

You can add the Resource Monitoring sources to a performance schedule. After you add the Resource Monitoring sources, you can run the schedule from Rational® Performance Tester.

Before you begin

You must have configured the Resource Monitoring sources in Rational® Test Automation Server for your project.

Procedure

  1. Find a schedule from the Test Navigator pane and double-click it.

    A schedule can be a VU schedule or a Rate schedule.

    The schedule is displayed in a schedule editor.

  2. Perform the following steps in the Schedule Details section of the schedule editor:
    1. Select the Resource Monitoring from Service option from the Category drop-down list.
    2. Select the Enable resource monitoring from service check box.

      The Resource Monitoring options related to the Resource Monitoring from Service category are displayed.

  3. Select the Collect from the following sources option.

    You can add the available Resource Monitoring sources in the schedule editor by performing the following steps:

    1. Click Add/Remove.

      The Resource Monitoring sources are displayed in the Sources from the Resource Monitoring Service dialog box.

      Note: Only the Resource Monitoring sources that you added on the Resource Monitoring Service page in your Rational® Test Automation Server project are available for selection.
      Tip: You can also click Refresh to fetch the Resource Monitoring sources in the Sources from the Resource Monitoring Service dialog box.
    2. Select the Resource Monitoring sources that you want to add to the schedule.
    3. Click Finish.

      The selected Resource Monitoring sources are added to the Data Source table.

    4. Set the polling time for the Resource Monitoring sources by performing the following steps:
      1. Click the Polling Time option that corresponds to the Resource Monitoring source that you added, and then click the ellipsis icon.

        The Set Time dialog box is displayed.

      2. Enter a time duration in the Polling interval dialog box and set a time unit.

        The default polling time is 5 seconds.

      3. Click OK.

      The polling time is a time interval at which time the values for the Resource Monitoring source are collected when the schedule runs. For example, if you set the polling time as 5 seconds, data from the Resource Monitoring source is collected at every 5 seconds.

  4. Select the Ignore invalid resources when executing the schedule check box to suppress any error message about the Resource Monitoring sources and continue running the schedule during the schedule run.
    Note: The errors can occur if the Resource Monitoring sources are unreachable or unavailable. After the schedule run completes, you can view the logs and verify the error messages.
  5. Save the schedule.

Results

You have enabled Resource Monitoring service for a performance schedule, and then added the Resource Monitoring sources to the performance schedule in Rational® Performance Tester.

What to do next

You can add a test to the schedule and run the schedule in Rational® Performance Tester. After the run completes, you can view the details of the Resource Monitoring sources in the Performance Report as follows:
  • The Resources page displays the following information:
    • Resource monitoring sources that were monitored during the schedule run.
    • All resource counters for those Resource Monitoring sources that were monitored during the schedule run.
    • Unavailable Resource Monitoring sources that were unreachable or unavailable during the schedule run.
  • The Performance Summary table under the Resources graph lists the following information:
    • The type of Resource Monitoring sources.
    • The most recent values of their corresponding resource counters that were monitored during the schedule run.