Launch an attack lasting 30 seconds

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}}

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