Simulate errors on Microsoft Graph with HTTP Cats
Testing doesn't have to boring! Use this preset to return funny cat images when simulating erroneous HTTP status codes for Microsoft Graph. This preset contains images for the following HTTP status codes: 429, 500, 502, 503, 504 and 507. When you test your app in the browser, and the Dev Proxy returns one of these status codes, you will see a funny cat image instead of a boring error message. Have fun! π± HTTP cat pictures by Tomomi Imura.
Simulate errors on Microsoft Graph with HTTP Cats
Summary
Testing doesnβt have to boring!
Use this preset to return funny cat images when simulating erroneous HTTP status codes for Microsoft Graph. When you test your app in the browser, and the Dev Proxy simulates an error, you will see a funny cat image instead of a boring error message. Have fun! π±
HTTP cat pictures by Tomomi Imura.

Compatibility
Contributors
Version history
| Version | Date | Comments |
|---|---|---|
| 1.9 | February 4, 2026 | Updated to Dev Proxy v2.1.0 |
| 1.8 | January 18, 2026 | Moved config files to .devproxy folder |
| 1.7 | January 5, 2026 | Updated to Dev Proxy v2.0.0 |
| 1.6 | June 27, 2025 | Updated to 0.29 schema |
| 1.5 | February 11, 2025 | Updated to 0.24 schema |
| 1.4 | January 17, 2024 | Updated plugin path |
| 1.3 | January 11, 2024 | Updated to new format |
| 1.2 | December 22, 2023 | Updated to new format |
| 1.1 | November 14, 2023 | Renamed to Dev Proxy |
| 1.0 | August 10, 2023 | Initial release |
Minimal path to awesome
- Get the sample:
-
Download just this sample:
npx gitload-cli https://github.com/pnp/proxy-samples/tree/main/samples/http-catsor
-
Download as a .ZIP file and unzip it, or
-
Clone this repository
-
- Start Dev Proxy by running
devproxy
Features
This preset contains images for the following HTTP status codes: 429, 500, 502, 503, 504 and 507.
Proxy will simulate these errors at random and return a funny cat imagine instead of a boring error message.
Help
We do not support samples, but this community is always willing to help, and we want to improve these samples. We use GitHub to track issues, which makes it easy for community members to volunteer their time and help resolve issues.
You can try looking at issues related to this sample to see if anybody else is having the same issues.
If you encounter any issues using this sample, create a new issue.
Finally, if you have an idea for improvement, make a suggestion.
Disclaimer
THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.