flaw

command module
v0.0.0-...-f6f85ec Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2019 License: MIT Imports: 1 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL