blazemeter/taurus:1.13.2
テストを実行するために、Blazemeter レポート モジュールで Docker イメージを使用しています。
BlazeMeter の「メモ」フィールドに値を渡すことができる taurus コマンド ラインからの方法はありますか? 次のような他の値を正常に渡しました。
-o modules.blazemeter.report-name="${report_name}"
「メモ」に渡すのに必要なのは、似たようなものだけだと思っていました。私はもう試した:
-o modules.blazemeter.notes="${notes}"
しかし運がない。
完全なコマンドラインを実行するスクリプトは次のとおりです。
#!/bin/bash
api_token=$1
timestamp=`date +%s`
report_name="`hostname`_`git log --format='%h' -n 1`_taurus-jmeter_${timestamp}"
notes="testing use of notes through taurus command line args"
artifacts_dir="artifacts/${timestamp}"
docker run -t --rm -v `pwd`:/bzt-configs -v `pwd`/artifacts:/tmp/artifacts blazemeter/taurus:1.13.2 taurus.yml -o settings.artifacts-dir="${artifacts_dir}" -o modules.blazemeter.report-name="${report_name}" -o modules.blazemeter.notes="${notes}" -o modules.blazemeter.token="${api_token}"