SyntheticTaskAvailableAssertion

data class SyntheticTaskAvailableAssertion(val expect: String, val operator: String, val target: String? = null, val type: String)

Constructors

Link copied to clipboard
constructor(expect: String, operator: String, target: String? = null, type: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Expected value.

Link copied to clipboard

Condition: gt: greater than; gte: greater than or equal to; lt: less than; te: less than or equal to; eq: equal to; neq: not equal to; ctn: contains; nctn: does not contain; exist: exists; n_exist: does not exist; belong: belongs to; reg_match: regular matching.

Link copied to clipboard
val target: String? = null

Check the target. If the target is HttpResCode, HttpResBody, or httpressetime, you do not need to specify the target. If the target is HttpResHead, you need to specify the key in the header. If the target is HttpResHead, you need to use jsonPath.

Link copied to clipboard

Assertion type, including: httpresead, httpresead, HttpResBody, HttpResBodyJson, httpressetime, IcmpPackLoss (packet loss rate), IcmpPackMaxLatency (maximum packet delay ms), icmppackwebscreen, fmppackavglatency (average delay rendering), TraceRouteHops (number of hops), dnsarecname, websiteOnload (full load time), see the supplement below for specific use.