Creating queries for resource monitoring usage data
After you execute a test to collect resource monitoring usage data, you can create queries to retrieve the data.
Before you begin
About this task
Procedure
-
Follow these steps to filter the list of activities that are collected for a
duration of less than 300 seconds:
- Click Activities.
- Enter 'Type is RMsource and duration < 300' in the Query filters field.
- Enter 'time ASC' in the Sort by field to sort data by ascending order.
- Click Run Query.
- Click Save as.
- Enter a name to identify the new query and click Save.
The list of activities that are collected for a duration of less than 300 seconds is displayed in the query result table, and this list is sorted in an ascending order. -
Follow these steps to filter the list of observations that are performed during
a test execution and defined by the test result identifier:
- Click Events.
- Enter the following filters in the Query filters
field:
type is observation and anyParentActivity matches ( anyChildActivity matches (requesterNature = 'test-result' and requesterId=1202 ))
- Enter 'time ASC, parentActivity.description ASC, specifier
ASC' in the Sort by field to sort
data by ascending order.Note: You can use the Ctrl-Space keyboard shortcut to enter the properties and operators.
- Click Run Query.
- Click Save as.
- Enter a name to identify the new query, and then click Save.
-
Follow these steps to manage your query:
- Click the action menu that is next to the Save button and select Reset if you have just modified a query and you want to undo your modification.
- Click the action menu and select Delete to delete the new query from the Events and activities queries list.
-
Follow any of these steps to configure the query result table:
- Click the action menu in a column of the table to change the column display, and
then perform any of the following actions:
- Click Insert new column, enter a field name in Search new column and click Add.
- Click Move to move a column in the table.
- Click Remove to remove a column from the table.
- Follow these steps to add a column at the end of the table:
- Click Add column. Result: A window opens.
- Enter a field name in Search new column.
- Click Add.
- Click Add column.
- Click the action menu in a column of the table to change the column display, and
then perform any of the following actions:
- Click Save to save the configuration of the results table.
Results
- The list of activities that are collected for a duration of less than 300 seconds.
- The list of observations that are performed during a test execution and defined by the test result identifier.