Controlling Resource Monitoring sources in a schedule

In Rational® Test Automation Server, you can control the Resource Monitoring sources that are collected in a performance schedule and override them with the labeled Resource Monitoring sources that are available in your current Server project.

Before you begin

  • You must have performed the following tasks in Rational® Performance Tester:
    • Created a performance schedule of Rate or VU type.
    • Added Resource Monitoring sources, or the labels of Resource Monitoring sources to a schedule. For more information about the procedure, refer to Adding resource monitoring sources to a performance schedule by using labels .
    • Enabled Rational® Test Automation Server as Resource Monitoring service only if you want to replace Resource Monitoring labels set in Rational® Performance Tester with the labels that you created in Rational® Test Automation Server.
  • You must have created a project and added Resource Monitoring sources to your project in Rational® Test Automation Server. For more information about the procedure, see Monitoring host resources.

About this task

This procedure describes how to create Resource Monitoring labels in Rational® Test Automation Server and how to use them to override the source or label settings related to Resource Monitoring in a performance schedule. The procedure applies to the following use cases:
  • To replace the Resource Monitoring labels that were initially set in a schedule from Rational® Performance Tester with the labels that you create in Rational® Test Automation Server.
  • To enable Resource Monitoring sources that were not enabled from Rational® Performance Tester. In that case, you can enable Resource Monitoring sources from the Execution dialog box in Rational® Test Automation Server.
  • To ignore Resource Monitoring sources that were set in the schedule and to change them for labels that match sources that are available in the Rational® Test Automation Server project.

Procedure

  1. Click a source that is available in your project, either in the Total Sources cards or in the All Types cards from the Resource Monitoring page.
    View of total and type of sources and agents
  2. Click Plus sign you must click to add a label under the Labels column of a Resource Monitoring source to add a label.

    List of added sources
  3. Enter a name for the label and press the Enter key.

    Example: Enter 'SUTv2' in three different Resource Monitoring sources.

    Note: You can add one label or multiple labels for the same Resource Monitoring source. A label can contain a maximum of 200 characters.
    Tip: You can create the same label for different sources that belong to the same logical group to monitor the whole group with only one label.
  4. Navigate to the Execute view and click image of execute icon on a performance schedule in the list of tests to execute a schedule.
  5. Click the Resource Monitoring tab in the Execute Test Asset dialog box.
    Note: There are different use case scenarios:
    • If the Resource Monitoring from Service option was not enabled in Rational® Performance Tester (see Figure 1), no source is available in Rational® Test Automation Server project.

      Figure 1:


      Resource Monitoring from Service category was not enabled
      A message indicates in the Resource Monitoring tab that Resource Monitoring was not enabled. You can run the schedule with the Resource Monitoring sources that are created and labeled in Rational® Test Automation Server (steps 1 to 6 in this procedure) by selecting labels that are in your Rational® Test Automation Server project (step 6).
    • If the Resource Monitoring from Service option was enabled in Rational® Performance Tester, and data is collected from the sources you added to the performance schedule in Rational® Performance Tester (see Figure 2), the Resource Monitoring tab displays the list of these sources that are available in your Rational® Test Automation Server project.

      Figure 2:



      To override the initial sources with the sources that you created in Rational® Test Automation Server, select the labels that are in your Rational® Test Automation Server project and that match the Server sources (step 6 in this procedure).
    • If you added sources to your performance schedule by using labels in Rational® Performance Tester (see Figure 3), the Resource Monitoring tab displays the list of labels that are available in your Rational® Test Automation Server project.

      Figure 3:



      To select Resource Monitoring labels from your schedule, follow step 6 in this procedure.

      In the list of sources or labels that is displayed in the Resource Monitoring tab:
      • Green icons identify either labels that match the sources or sources that are found in the current project.
      • Red icons indicate that the sources are not running,
      • Yellow icons identify either labels that do not match the sources, or sources that are not found in the current project.

        Data is collected for the sources that match labels only.

  6. Click the Plus sign you must click to add a label, and press the Ctrl + Space keys, or enter the initial letter of a label to select a label in the list.

    Example: Select 'SUTv3'.


    Field where you select or enter Resource Monitoring labels
    You can see all the labels that you added to the Resource Monitoring sources in Rational® Test Automation Server.
  7. Click Execute to execute the performance schedule.
  8. Click the Result view in the navigation bar of Rational® Test Automation Server when the schedule is complete.
  9. Expand the performance schedule result to see the Resource Monitoring label name in the Details card.

    The Details card displays the Resource Monitoring labels that are used in the schedule to override the initial labels and collect Resource Monitoring sources (in the example, the 'SUTv3' label). For other details about the Results page, see the link at the end of this page.


    Example of result details and reports

    In the Report card, you find the link to the Statistics Report that is generated. In the Resource tab of the Statistics Report, you can view the information related to the Server sources matching the labels set in the schedule.

  10. Click the Statistics Report link in the Reports card to see the performance metrics of the Monitoring sources matching the selected labels.

    Example of Statistics report with Resource Monitoring matching selected labels
    Example: You can see the statistics for the sources tagged with the 'SUTv3' label.