Share via


WebTestPropertiesValidationRules interface

The collection of validation rule properties

Properties

contentValidation

The collection of content validation properties

expectedHttpStatusCode

Validate that the WebTest returns the http status code provided.

ignoreHttpStatusCode

When set, validation will ignore the status code.

sSLCertRemainingLifetimeCheck

A number of days to check still remain before the the existing SSL cert expires. Value must be positive and the SSLCheck must be set to true.

sSLCheck

Checks to see if the SSL cert is still valid.

Property Details

contentValidation

The collection of content validation properties

contentValidation?: WebTestPropertiesValidationRulesContentValidation

Property Value

expectedHttpStatusCode

Validate that the WebTest returns the http status code provided.

expectedHttpStatusCode?: number

Property Value

number

ignoreHttpStatusCode

When set, validation will ignore the status code.

ignoreHttpStatusCode?: boolean

Property Value

boolean

sSLCertRemainingLifetimeCheck

A number of days to check still remain before the the existing SSL cert expires. Value must be positive and the SSLCheck must be set to true.

sSLCertRemainingLifetimeCheck?: number

Property Value

number

sSLCheck

Checks to see if the SSL cert is still valid.

sSLCheck?: boolean

Property Value

boolean