次の方法で共有


PassFailMetricOutput interface

合格失敗メトリック

プロパティ

action

しきい値が満たされた後に実行されるアクション。 既定値は "continue" です。

可能な値: "continue"、"stop"

actualValue

テスト実行のクライアント メトリックの実際の値。

aggregate

クライアント メトリックに適用される集計関数。 許可される関数

  • 'percentage' - エラー メトリック、'avg'、'p50'、'p90' などのパーセンタイル、& など、'min'、'max' - response_time_msと待機時間のメトリックの場合、'avg' - requests_per_sec、'count' - 要求の場合

可能な値: "count"、"percentage"、"avg"、"p50"、"p75"、"p90"、"p95"、"p96"、"p97"、"p98"、"p99"、"p99.9"、"p99.99"、"min"、"max"

clientMetric

条件を適用する必要があるクライアント メトリック。

可能な値: "response_time_ms"、"latency"、"error"、"requests"、"requests_per_sec"

condition

比較演算子。 サポートされている型 '>', '<'

requestName

合格の条件を適用する必要がある要求名

result

テスト実行の結果。

可能な値: "passed"、"undetermined"、"failed"

value

クライアント メトリックと比較する値。 使用できる値 - 'error: [0.0 , 100.0] unit- % ', response_time_msと待機時間: 任意の整数値単位 - ミリ秒。

プロパティの詳細

action

しきい値が満たされた後に実行されるアクション。 既定値は "continue" です。

可能な値: "continue"、"stop"

action?: string

プロパティ値

string

actualValue

テスト実行のクライアント メトリックの実際の値。

actualValue?: number

プロパティ値

number

aggregate

クライアント メトリックに適用される集計関数。 許可される関数

  • 'percentage' - エラー メトリック、'avg'、'p50'、'p90' などのパーセンタイル、& など、'min'、'max' - response_time_msと待機時間のメトリックの場合、'avg' - requests_per_sec、'count' - 要求の場合

可能な値: "count"、"percentage"、"avg"、"p50"、"p75"、"p90"、"p95"、"p96"、"p97"、"p98"、"p99"、"p99.9"、"p99.99"、"min"、"max"

aggregate?: string

プロパティ値

string

clientMetric

条件を適用する必要があるクライアント メトリック。

可能な値: "response_time_ms"、"latency"、"error"、"requests"、"requests_per_sec"

clientMetric?: string

プロパティ値

string

condition

比較演算子。 サポートされている型 '>', '<'

condition?: string

プロパティ値

string

requestName

合格の条件を適用する必要がある要求名

requestName?: string

プロパティ値

string

result

テスト実行の結果。

可能な値: "passed"、"undetermined"、"failed"

result?: string

プロパティ値

string

value

クライアント メトリックと比較する値。 使用できる値 - 'error: [0.0 , 100.0] unit- % ', response_time_msと待機時間: 任意の整数値単位 - ミリ秒。

value?: number

プロパティ値

number