Launch an attack and plot the results on a graph (latency over time)

vegeta

  • A command-line utility and a library for HTTP load testing.
    See also `ab`.
    More information: <https://github.com/tsenart/vegeta>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

echo "{{GET https://example.com}}" | vegeta attack -duration={{30s}} | vegeta plot > {{path/to/results.html}}

click the source code to copy install vegeta on any operating system with command-not-found.com