tanukkii007 / sbt-toxiproxy   0.0.1

MIT License GitHub

toxiproxy server plugin for sbt project

sbt-toxiproxy

toxiproxy server plugin for sbt project

Introduction

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.

Commands

  • startToxiproxy: start Toxiproxy server
  • stopToxiproxy: stop Toxiproxy server

Settings

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")

Thanks

Most of sbt-toxiproxy's implementation is based on sbt-dynamodb