Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 462 Bytes

File metadata and controls

16 lines (12 loc) · 462 Bytes

StubBatch

Installation

mix escript.build
./stub_batch --toxiproxy --latency 1000 --jitter 500 8080
  • --toxiproxy: configure toxiproxy. Toxiproxy must be running. If not toxiproxy will not be configured.
  • --latency ms: Latency in milliseconds. (Must have toxiproxy flag enabled)
  • --jitter ms: Jitter in milliseconds (latency +/- jitter). (Must have toxiproxy flag enabled)
  • port: Port of the stub (default to 8080)