public sealed class HttpFaultInjection : IMessage<HttpFaultInjection>, IEquatable<HttpFaultInjection>, IDeepCloneable<HttpFaultInjection>, IBufferMessage, IMessage
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 the load balancer on a percentage of requests before sending those request to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This webpage details the `HttpFaultInjection` class, which is used to introduce faults into traffic for testing the resilience of clients to backend service failures."],["The class allows for simulating delays and aborts on client requests as part of fault injection, with the load balancer introducing these effects on a percentage of requests."],["`HttpFaultInjection` implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class offers two constructors: a default constructor `HttpFaultInjection()` and a copy constructor `HttpFaultInjection(HttpFaultInjection other)`."],["The `HttpFaultInjection` class includes properties for specifying the details of how to abort requests (`Abort`) and how to delay requests (`Delay`), with both being of their own class types, `HttpFaultAbort` and `HttpFaultDelay`."]]],[]]