LoginSignup
0
1

ベジータに頼んでDoS攻撃だ!楽ちん負荷テスト

Last updated at Posted at 2023-12-02

最低限しかかかねぇ

インストール

wget https://github.com/tsenart/vegeta/releases/download/v12.11.1/vegeta_12.11.1_linux_amd64.tar.gz
tar xf vegeta_12.11.1_linux_amd64.tar.gz
# パス通しはお好みで

コマンド

# めっちゃたくさんリクエストを1分送る
echo "GET https://{target}/" | ./vegeta attack -rate=10000 -duration=60s 

Tips

名前がいいし、Apache Benchより使いやすい
https://github.com/tsenart/vegeta

  • report -type=jsonでレポートがjsonで出せるから定期的な負荷テストをして分析するとかも使えそう
  • vegeta plotでビジュアライズもできる

トランクス

https://github.com/tsenart/trunks
rustで書かれたベジータの後継、アルファ版っぽい

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1