Skip to content

Provide support for Chaos Handler #1533

@Ryan365Apps

Description

@Ryan365Apps

Proposal: Provide support for Chaos Handler

Description

As per discussion with @sebastienlevert opening this issue to request full support for the chaos handler functionality from the Graph API JS SDK

Rationale

To allow for testing of error handling, such as when Graph API throttling occurs, when using mgt-element providers

Preferred Solution

Either allow the request pipeline to be created and passed to the client or include flags to include chaos, perhaps by the codes chosen, and adjust the pipeline accordingly.

Additional Context

Blog post on approach available using .Net
https://camerondwyer.com/2021/09/23/how-to-use-the-microsoft-graph-sdk-chaos-handler-to-simulate-graph-api-errors/

Twitter conversation
https://twitter.com/sebastienlevert/status/1491555809498701826?s=20&t=WzI218wVN4MJ2b47tBCQcw

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done ✔️

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions