faultInjectionPolicy property

HttpRouteFaultInjectionPolicy? faultInjectionPolicy
getter/setter pair

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 on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted for a percentage of requests. timeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy

Implementation

HttpRouteFaultInjectionPolicy? faultInjectionPolicy;