HttpFaultInjection class

The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by Loadbalancer on a percentage of requests before sending those request to the backend service. Similarly requests from clients can be aborted by the Loadbalancer for a percentage of requests.

Constructors

HttpFaultInjection()
HttpFaultInjection.fromJson(Map _json)

Properties

abort HttpFaultAbort
The specification for how client requests are aborted as part of fault injection.
read / write
delay HttpFaultDelay
The specification for how client requests are delayed as part of fault injection, before being sent to a backend service.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited