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 HCL DevOps Test Performance (Test Performance).
Before you begin
You must have completed the following tasks:
-
Accessed Test Hub.
-
Configured the Resource Monitoring sources in Test Hub for your project. For more information about Resource Monitoring sources, refer to Monitoring host resources.
-
Specified the Test Hub URL in the product preferences window ( ).
-
Generated an offline user token in Test Hub.
For more information about generating an offline token, refer to Generating an offline token.
-
Selected the project in the product Preferences window from the Project to get sources from the drop-down list.
Note: The Project to get sources from the drop-down list displays all the projects on Test Hub. The name of the team space for the project is displayed within parenthesis. You can select the appropriate project when there are identical project names in different team spaces.
About this task
You can add the Resource Monitoring sources to the schedule by using the labels. In this method, you can select all the Resource Monitoring sources that are added to Test Hub at the project and the team space level.
Procedure
-
Find a schedule from the Test Navigator pane and
double-click it.
The schedule is displayed in a schedule editor.
Note: A schedule can be a VU schedule or a Rate schedule. -
Perform the following steps in the Schedule Details
section of the schedule editor:
- Select the Collect from the following sources option.
-
Perform the following steps to select the Resource Monitoring sources to the
schedule:
-
Perform the following steps to set the Polling Time
interval:
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 every 5 seconds.
-
Select the Ignore invalid resources when executing the
schedule checkbox to suppress any error message about the
Resource Monitoring sources and continue running the schedule during the run
time.
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.
- Save the schedule.
Results
What to do next
- The Resources page displays the following
information:
- Resource monitoring sources that were monitored during the run time of the schedule.
- All resource counters for those Resource Monitoring sources that were monitored during the run time of the schedule.
- Unavailable Resource Monitoring sources that were unreachable or unavailable during the run time of the schedule.
- 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 were monitored during the run time of the schedule.