Microsoft.SystemCenter.WebApplicationTest.WebTestProbe.MonitorType (UnitMonitorType)

Element properties:

RunAsDefault
AccessibilityPublic
Support Monitor RecalculateFalse

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SystemCenter.WebApplicationTest.WebTestProbe.DS Default
CDWebTestFailedError ConditionDetection System.ExpressionFilter Default
CDWebTestFailedWarning ConditionDetection System.ExpressionFilter Default
CDWebTestPassed ConditionDetection System.ExpressionFilter Default

Source Code:

<UnitMonitorType ID="Microsoft.SystemCenter.WebApplicationTest.WebTestProbe.MonitorType" Accessibility="Public">
<MonitorTypeStates>
<MonitorTypeState ID="WebTestPassed"/>
<MonitorTypeState ID="WebTestFailedWarning"/>
<MonitorTypeState ID="WebTestFailedError"/>
</MonitorTypeStates>
<Configuration/>
<MonitorImplementation>
<MemberModules>
<DataSource TypeID="Microsoft.SystemCenter.WebApplicationTest.WebTestProbe.DS" ID="DS"/>
<ConditionDetection TypeID="System!System.ExpressionFilter" ID="CDWebTestPassed">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">TransactionEvalResult</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection TypeID="System!System.ExpressionFilter" ID="CDWebTestFailedWarning">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">TransactionEvalResult</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">2</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<SuppressionSettings>
<MatchCount>$Target/Property[Type="Microsoft.SystemCenter.WebApplicationTest.WebTestBase"]/ConsecutiveMatchCount$</MatchCount>
</SuppressionSettings>
</ConditionDetection>
<ConditionDetection TypeID="System!System.ExpressionFilter" ID="CDWebTestFailedError">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">TransactionEvalResult</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">3</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<SuppressionSettings>
<MatchCount>$Target/Property[Type="Microsoft.SystemCenter.WebApplicationTest.WebTestBase"]/ConsecutiveMatchCount$</MatchCount>
</SuppressionSettings>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="WebTestPassed">
<Node ID="CDWebTestPassed">
<Node ID="DS"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="WebTestFailedWarning">
<Node ID="CDWebTestFailedWarning">
<Node ID="DS"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="WebTestFailedError">
<Node ID="CDWebTestFailedError">
<Node ID="DS"/>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>