public sealed class HttpRoute.Types.FaultInjectionPolicy : IMessage<HttpRoute.Types.FaultInjectionPolicy>, IEquatable<HttpRoute.Types.FaultInjectionPolicy>, IDeepCloneable<HttpRoute.Types.FaultInjectionPolicy>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Services v1 API class HttpRoute.Types.FaultInjectionPolicy.
The specification for fault injection introduced into traffic to test the
resiliency of clients to destination service failure. As part of fault
injection, when clients send requests to a destination, delays can be
introduced by client proxy on a percentage of requests before sending those
requests to the destination service. Similarly requests can be aborted by
client proxy for a percentage of requests.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation details the \u003ccode\u003eHttpRoute.Types.FaultInjectionPolicy\u003c/code\u003e class within the Network Services v1 API, which is used to define fault injection policies.\u003c/p\u003e\n"],["\u003cp\u003eFault injection, as defined by this class, introduces delays or aborts a percentage of client requests to test the resiliency of client applications.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eFaultInjectionPolicy\u003c/code\u003e implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFaultInjectionPolicy\u003c/code\u003e class has two primary properties: \u003ccode\u003eAbort\u003c/code\u003e, for specifying request aborts, and \u003ccode\u003eDelay\u003c/code\u003e, for specifying request delays.\u003c/p\u003e\n"],["\u003cp\u003eTwo constructors are available: a default constructor and a constructor that accepts another \u003ccode\u003eFaultInjectionPolicy\u003c/code\u003e object for copying.\u003c/p\u003e\n"]]],[],null,[]]