Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alisdair/badgateway
502 Bad Gateway
https://github.com/alisdair/badgateway
Last synced: 10 days ago
JSON representation
502 Bad Gateway
- Host: GitHub
- URL: https://github.com/alisdair/badgateway
- Owner: alisdair
- Created: 2020-04-29T19:58:47.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-04-29T19:59:00.000Z (over 4 years ago)
- Last Synced: 2024-10-12T20:58:04.145Z (24 days ago)
- Language: Go
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# badgateway
It's a bad gateway. Use it to induce random 502 errors for testing HTTP client retry handling.
## Usage
- `go install .`
- `badgateway -port 12345 -fail 0.25 https://some.target.host`
- `ngrok http 12345`
- Point your client at the ngrok host instead of your original target host
- Watch the random failures