Web 應用程式測試關聯性

Microsoft.SystemCenter.WebApplicationSolutions.WebTestAggregator.WebTest.DependencyMonitor (DependencyMonitor)

相依性監視器,用途是追蹤 Web 應用程式中所有測試的 Web 效能測試可用性。

Knowledge Base article:

摘要

這個監視器會反映在解決方案中定義的所有 Web 應用程式測試狀態。若有至少一個測試狀況不良,此監視器就會變紅。

原因

Web 應用程式中的一或多個測試狀況不良。狀況不良狀態表示 URL 無法使用、傳回資料的速度太慢,或是未傳回預期的資料。

解決方式

前往 Web 應用程式狀態檢視,並尋找狀況不良的測試。然後開啟健全狀況總管來判斷測試狀況不良的原因。

Element properties:

TargetMicrosoft.SystemCenter.WebApplicationSolutions.SingleUrlTest
Parent MonitorSystem.Health.AvailabilityState
AlgorithmWorstOf
Source MonitorSystem.Health.AvailabilityState
RelationshipMicrosoft.SystemCenter.WebApplicationSolutions.WebTest.IsMemberOf.WebTestAggregator
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
RemotableTrue
AccessibilityPublic
Alert Message
一或多個 Web 應用程式無法使用
這是 Web 應用程式可用性監視解決方案產生的警示訊息,表示 Web 應用程式中的一或多個測試失敗。

Source Code:

<DependencyMonitor ID="Microsoft.SystemCenter.WebApplicationSolutions.WebTestAggregator.WebTest.DependencyMonitor" Accessibility="Public" Enabled="true" Target="Microsoft.SystemCenter.WebApplicationSolutions.SingleUrlTest" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" RelationshipType="Microsoft.SystemCenter.WebApplicationSolutions.WebTest.IsMemberOf.WebTestAggregator" MemberMonitor="Health!System.Health.AvailabilityState">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.WebApplicationSolutions.WebTestAggregator.WebTest.DependencyMonitor.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters/>
</AlertSettings>
<Algorithm>WorstOf</Algorithm>
<MemberUnAvailable>Error</MemberUnAvailable>
</DependencyMonitor>