HttpRouteFaultInjectionPolicyAbortResponse

data class HttpRouteFaultInjectionPolicyAbortResponse(val httpStatus: Int, val percentage: Int)

Specification of how client requests are aborted as part of fault injection before being sent to a destination.

Constructors

fun HttpRouteFaultInjectionPolicyAbortResponse(httpStatus: Int, percentage: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive.

Link copied to clipboard

The percentage of traffic which will be aborted. The value must be between 0, 100