WebTestPropertiesResponseContentValidation

data class WebTestPropertiesResponseContentValidation(val contentMatch: String? = null, val ignoreCase: Boolean? = null, val passIfTextFound: Boolean? = null)

The collection of content validation properties

Constructors

constructor(contentMatch: String? = null, ignoreCase: Boolean? = null, passIfTextFound: Boolean? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val contentMatch: String? = null

Content to look for in the return of the WebTest. Must not be null or empty.

Link copied to clipboard
val ignoreCase: Boolean? = null

When set, this value makes the ContentMatch validation case insensitive.

Link copied to clipboard

When true, validation will pass if there is a match for the ContentMatch string. If false, validation will fail if there is a match