Specifications

Alternate Rulesets
module module-name1
{
rule-body1
}
transaction transaction- name2
module module-name2
{
rule-body2
}
.
.
.
}
Example
The following example shows how to monitor events at a detailed transaction
level and at a general response time level using an alternate rule set.
Application Response will monitor the application (the EmplMgmt executable)
looking for occurrences of “NewEmployee” and “EmployeeUpdate”
transactions, while simultaneously recording a transaction for each window
transition that occurs within the application (“WindowTrans”).
resources # The application consists of a single executable.
{
require all
{
resource Process { ExecutableName="EmplMgmt" }
}
additional
{
resource Windows { }
resource Connection { }
}
}
#
# Detailed transactions. Only monitor new employee and employee
# update operations.
#
transaction "NewEmployee"
module "NewEmployee"
{
event "Wnd1" Windows MenuCommand { Text="New->Record…" }
event "Wnd2" Windows StatusMessage { Text="New employee record created." }
}
transaction "EmployeeUpdate"
module "EmployeeUpdate"
{
BT Language Reference 177