bengadbois / flakyserver

Configurable HTTP server that flakes out

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flaky Server Travis

HTTP server that will inconsistently respond with 200 and 500 responses.

Install

go get github.com/bengadbois/flakyserver
Usage of flakyserver:
  -e float
        Percentage of the requests that should return a server error (default 50)
  -p int
        Which port to listen on (default 8899)
  -t int
        Maximum amount of time to randomly stall (milliseconds)

About

Configurable HTTP server that flakes out

License:MIT License


Languages

Language:Go 100.0%