sas
TestResult


This structure is used to define the generic Test Result objects, replacement for MO



public abstract struct TestResult

Properties
resultStatus

type=sas.TestResultStatus

reason

type=string

ignoreResults

type=boolean

test

type=string

testPolicy

type=string

testDefinition

type=string

testSuite

type=string

testSuiteId The test suite ID. A value of 0 means no associated test suite. This value is derived from the testSuite attribute. The value is only non-zero when the test was run from the context of a test suite. An explicitly executed test has a testSuiteId of 0.

type=long

testSuiteResult The pointer to the test suite result to which this result belongs.

type=string

testPolicyResult The pointer to the test policy result to which this result belongs.

type=string

testDefinitionResult The pointer to the test definition result to which this result belongs.

type=string

testSuiteTestedEntity The pointer to the sas.TestedEntity, if any, that is associated to this object. Only applicable when aggregatedWith is "testSuiteGenerated".

type=string

testedEntityResult The pointer to the tested entity result to which this result belongs.

type=string

testSuiteTestRole If the test is executed as part of a test suite, this specifies whether the test is part of the first or last groups, or no group (ie it is generated from a policy).

If not executed as part of a test suite (ie the test suite pointer is set), then this property is undefined.

type=sas.TestGroupRole

testedObject

type=string

baseObject

type=string

tsExecutionId

type=long

testGroupRole

type=sas.TestGroupRole

scheduledTime The time that the scheduled results were read.

type=Date

timedout Set to true if the test timed out. Results may still come in after a time out (thus, setting resultsCompleted).

type=boolean

execTrigger Specifies what trigger started the test to execute which ended up with this result.

type=sas.ExecTrigger

skipReason When the status is 'skipped', this field specifies the detailed error message of why the test failed pre-run validation and was skipped.

type=string

ignoreResult Set to true if the test result should not be counted as a failure or counted in success/failed statistics. This is used for CFM tests from or to a standby MEP these tests will fail, this is expected these tests are in place waiting for the MEP to become active, at which point they will successfully run.

type=boolean