Class SyntheticsTestResultAssertionResult

An individual assertion result from a Synthetic test.

Hierarchy

  • SyntheticsTestResultAssertionResult

Constructors

Properties

actual?: any

Actual value observed during the test. Its type depends on the assertion type.

additionalProperties?: {
    [key: string]: any;
}

A container for additional, undeclared properties. This is a holder for any undeclared properties as specified with the 'additionalProperties' keyword in the OAS document.

Type declaration

  • [key: string]: any
errorMessage?: string

Error message if the assertion failed.

expected?: any

Expected value for the assertion. Its type depends on the assertion type.

operator?: string

Operator used for the assertion (for example, is, contains).

property?: string

Property targeted by the assertion, when applicable.

target?: any

Target value for the assertion. Its type depends on the assertion type.

targetPath?: string

JSON path or XPath evaluated for the assertion.

targetPathOperator?: string

Operator used for the target path assertion.

type?: string

Type of the assertion (for example, responseTime, statusCode, body).

valid?: boolean

Whether the assertion passed.

Generated using TypeDoc