toxiproxy server plugin for sbt project
Toxiproxy is a framework for simulating network conditions. Toxiproxy can be used for testing your application's resilience against network failure and component failure. sbt-toxiproxy provides features to run Toxiproxy server via sbt. Toxiproxy Java client is available here.
- startToxiproxy: start Toxiproxy server
- stopToxiproxy: stop Toxiproxy server
To enable the plugin, following line should be added to build.sbt
ToxiproxyPlugin.settings
Following settings are provided by defaults.
toxiproxyVersion := "2.0.0"
toxiproxyHost := Some("localhost")
toxiproxyPort := Some(8474)
toxiproxyDownloadDirectory := file("toxiproxy")
Most of sbt-toxiproxy's implementation is based on sbt-dynamodb