https://github.com/bengadbois/flakyserver
Configurable HTTP server that flakes out
https://github.com/bengadbois/flakyserver
http server testing
Last synced: 4 months ago
JSON representation
Configurable HTTP server that flakes out
- Host: GitHub
- URL: https://github.com/bengadbois/flakyserver
- Owner: bengadbois
- License: mit
- Created: 2017-01-28T01:09:51.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2021-07-04T18:10:10.000Z (over 4 years ago)
- Last Synced: 2023-05-27T20:01:06.299Z (over 2 years ago)
- Topics: http, server, testing
- Language: Go
- Homepage:
- Size: 8.79 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Flaky Server [](https://travis-ci.org/bengadbois/flakyserver)
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)
````