負荷試験用のArtilleryツールを追加#341
Open
TkymHrt wants to merge 2 commits into
Open
Conversation
- K6ファイルを削除してArtillery専用に簡素化 - run-tests.shをArtillery専用に書き換え - package.jsonをArtillery専用に修正 - Artillery専用のREADMEを作成 - test-functionality.shからK6部分を削除
- 削除: integrated-load-test.yml (基本版、最適化版で代替) - 削除: artillery-processor.js (基本版、最適化版で代替) - リネーム: optimized-user-scenarios.yml → load-test.yml - リネーム: optimized-processor.js → processor.js - 更新: run-tests.sh を統合構成に対応(1つのメインテストタイプ) - 更新: README.md を統合後の内容に対応 結果: 3ファイル構成(load-test.yml, processor.js, dynamic-config.js)でシンプル化
63cb8e8 to
0b52ba3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
対応Issue
概要
BINGOアプリケーション用のArtillery負荷試験ツールを追加しました。HTTPとWebSocketの統合負荷試験が可能です。
ファイル統合・整理済み: 冗長なファイルを削除し、3ファイル構成でシンプル化されています。
実装詳細
ファイル統合・整理の実施
統合前(5ファイル)→ 統合後(3ファイル)
削除されたファイル
integrated-load-test.yml- 基本版(最適化版で機能包含)artillery-processor.js- 基本プロセッサー(最適化版で機能包含)統合・リネームされたファイル
optimized-user-scenarios.yml→load-test.yml- メイン設定ファイルoptimized-processor.js→processor.js- メインプロセッサー最終ファイル構成(3ファイル)
load-test.yml: Artillery負荷試験設定(最適化版ベース)processor.js: カスタムプロセッサー(最適化版ベース)dynamic-config.js: 動的設定生成スクリプト主な機能
Artillery統合負荷試験
負荷パターン
テストシナリオ
ユーザー閲覧シナリオ (70%)
WebSocket購読シナリオ (30%)
技術的な改善点
動的設定生成
dynamic-config.jsによる最大ユーザー数対応カスタムメトリクス
プロセッサー機能
使用方法
出力ファイル
results/artillery_YYYYMMDD_HHMMSS.jsonresults/artillery_report_YYYYMMDD_HHMMSS.htmlresults/artillery_dynamic_config_YYYYMMDD_HHMMSS.yml画面スクリーンショット等
コマンドライン実行のため、スクリーンショットはありません。Artillery実行時には詳細な進行状況とメトリクスが表示されます。
テスト項目
備考
ファイル統合の効果
注意事項
Artillery の特徴
パフォーマンス目標
ブランチ構成
このプロジェクトは3ブランチに分離されています: