GaruGaru / flaw

CLI for injecting failures on api calls for local chaos engineering

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flaw

Inject failures on api calls for local chaos engineering

Build Status Go Report Card license

Flaw works as a proxy trought an external http service injecting failures randomly

Proxy

flaw --host=https://jsonplaceholder.typicode.com/users

Proxy injecting 50% of http (status 500) failures

flaw --run=perc --percentage=50 --host=https://jsonplaceholder.typicode.com/users

Proxy injecting 30% of http rate limit (status 429) failures

flaw --status-code=429 --run=perc --percentage=30 --host=https://jsonplaceholder.typicode.com/users

Proxy injecting 30% of http failures + 1s latency

flaw --latency=1000 --run=perc --percentage=30 --host=https://jsonplaceholder.typicode.com/users

Installation

go get -u github.com/GaruGaru/flaw

About

CLI for injecting failures on api calls for local chaos engineering

License:MIT License


Languages

Language:Go 98.0%Language:Makefile 2.0%