Vegeta: Difference between revisions
Jump to navigation
Jump to search
(→TODO) |
|||
Line 10: | Line 10: | ||
* https://blog.absyah.dev/super-simple-guide-for-load-testing-using-vegeta | * https://blog.absyah.dev/super-simple-guide-for-load-testing-using-vegeta | ||
* https://geshan.com.np/blog/2020/09/vegeta-load-testing-primer-with-examples/ | * https://geshan.com.np/blog/2020/09/vegeta-load-testing-primer-with-examples/ | ||
* https://isheep.xlog.app/vegeta?locale=en | |||
=Internal= | =Internal= |
Revision as of 22:57, 23 July 2024
External
TODO
- https://www.cmscomputing.com/articles/testing/testing-with-vegeta-through-a-web-ui
- https://www.scaleway.com/en/docs/tutorials/load-testing-vegeta/
- https://serialized.net/2017/06/load-testing-with-vegeta-and-python/
- https://qainsights.com/deep-dive-into-vegeta-http-load-testing-tool-and-library/
- https://blog.absyah.dev/super-simple-guide-for-load-testing-using-vegeta
- https://geshan.com.np/blog/2020/09/vegeta-load-testing-primer-with-examples/
- https://isheep.xlog.app/vegeta?locale=en
Internal
Overview
Install
Command Line
brew install vegeta
For Development
go get github.com/tsenart/vegeta/v12@v12.11.1
Command Line Operations
Generate a plot with three different RPS.
Generate the HTTP request in a text file.
Then:
cat request.txt | vegeta attack -insecure -name=10RPS -rate=10 -duration=100s > results.10rps.bin
cat request.txt | vegeta attack -insecure -name=50RPS -rate=50 -duration=100s > results.50rps.bin
cat request.txt | vegeta attack -insecure -name=100RPS -rate=100 -duration=100s > results.100rps.bin
vegeta plot -title "Some Title" results.10rps.bin results.50rps.bin results.100rps.bin > plot.html