Skip to content

Respect failure rate option with mock responses #367

@xzf0587

Description

@xzf0587

Description

There will be not failed response if the mock file is used.

Expected behaviour

the failure mock can be triggered in mock response mode.

Actual behaviour

no failure response

Steps to reproduce

  1. launch the proxy
    ./m365proxy.exe -f 100 --mocks-file .\responses.sample.json
  2. access to some graph api by browser.

Microsoft 365 Developer Proxy Version

0.10.0

Operating system (environment)

Windows

Shell

PowerShell

Additional Info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions