SyntheticAlarm

A SyntheticAlarm object represents an alarm generated by the Experience Manager Monitor test engine.

Properties

  • String testName: (Read-only) Name of the test that produced this alarm.

  • String scenarioName: (Read-only) Name of the test scenario that produced this alarm.

  • Number scenarioSeqNum: (Read-only) Sequence number of the originating test scenario within its enclosing test.

  • Number responseTime: (Read-only) Execution time reported by the scenario. A negative number indicates an execution failure.

  • Object severity: (Read-only) Severity of the alarm. Value corresponds to one of the values in testEngine.constants severities.

  • String description: (Read-only) Text description of the alarm.

  • Number userNum: (Read-only) Simulated user number. The value is always 1, unless SyntheticTest.userCount is greater than 1.

  • java.util.Date timestamp: Time when the alarm was generated.

Methods

  • Boolean isFailed(): Returns True if test execution failed.

  • String toString(): Returns a string representation of this object.

Description

A SyntheticAlarm object represents an alarm generated by the Experience Manager Monitor test engine. All properties are read-only. SyntheticAlarm objects are reported to the testEngine.onScenarioComplete and testEngine.onTestComplete event handlers to support Synthetic Test Management functionality.

Example

Refer to the SynthetTestResults object description.