Toxiproxy
Toxiproxy is a framework for simulating network conditions.
Toxiproxy usage consists of two parts. A TCP proxy written in Go (what this repository contains) and a client communicating with the proxy over HTTP to configure it. You configure your application to make all test connections go through Toxiproxy and can then manipulate their health via HTTP.