Helper functions for creating toxics for use with toxiproxy.
These can be passed as the first argument to $add
on a
toxic proxy in lieu of the type
and attributes
arguments.
1 2 3 4 5 6 7 8 9 10 11 |
latency |
Latency in milliseconds |
jitter |
Time in milliseconds |
rate |
Rate in KB per second |
delay |
Time in milliseconds |
timeout |
Time in milliseconds |
average_size |
Size in bytes of an average packet |
size_variation |
Variation in bytes of an average packet
(should be smaller than |
bytes |
The number of bytes it should transmit before connection is closed |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.