Class AutoStopListener.TimeMetricConditionBuilder
- java.lang.Object
-
- us.abstracta.jmeter.javadsl.core.listeners.AutoStopListener.BaseAutoStopConditionBuilder
-
- us.abstracta.jmeter.javadsl.core.listeners.AutoStopListener.MetricConditionBuilder
-
- us.abstracta.jmeter.javadsl.core.listeners.AutoStopListener.TimeMetricConditionBuilder
-
- Enclosing class:
- AutoStopListener
public static class AutoStopListener.TimeMetricConditionBuilder extends AutoStopListener.MetricConditionBuilder
-
-
Field Summary
-
Fields inherited from class us.abstracta.jmeter.javadsl.core.listeners.AutoStopListener.BaseAutoStopConditionBuilder
ret
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTimeMetricConditionBuilder(AutoStopConditionElement ret, AutoStopMetric metric)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AutoStopListener.AggregatedConditionBuilder<Duration>max()Specifies to check the maximum value of the selected condition metric.AutoStopListener.AggregatedConditionBuilder<Duration>mean()Specifies to check the mean/average value of the selected condition metric.AutoStopListener.AggregatedConditionBuilder<Duration>min()Specifies to check the minimum value of the selected condition metric.AutoStopListener.AggregatedConditionBuilder<Duration>percentile(double percentile)Specifies to check a given percentile value of the selected condition metric.
-
-
-
Constructor Detail
-
TimeMetricConditionBuilder
protected TimeMetricConditionBuilder(AutoStopConditionElement ret, AutoStopMetric metric)
-
-
Method Detail
-
min
public AutoStopListener.AggregatedConditionBuilder<Duration> min()
Specifies to check the minimum value of the selected condition metric.By default, the minimum is not reset during a test plan execution and is evaluated on each sample result. If you want to change this you can use
AutoStopListener.AggregatedConditionBuilder.every(Duration).- Returns:
- a condition builder to complete the condition definition.
-
max
public AutoStopListener.AggregatedConditionBuilder<Duration> max()
Specifies to check the maximum value of the selected condition metric.By default, the maximum is not reset during a test plan execution and is evaluated on each sample result. If you want to change this you can use
AutoStopListener.AggregatedConditionBuilder.every(Duration).- Returns:
- a condition builder to complete the condition definition.
-
mean
public AutoStopListener.AggregatedConditionBuilder<Duration> mean()
Specifies to check the mean/average value of the selected condition metric.By default, the mean is not reset during a test plan execution and is evaluated on each sample result. This might lead to the mean value being "stuck" by past sample results. Check
AutoStopListener.AggregatedConditionBuilder.every(Duration)for more details.- Returns:
- a condition builder to complete the condition definition.
-
percentile
public AutoStopListener.AggregatedConditionBuilder<Duration> percentile(double percentile)
Specifies to check a given percentile value of the selected condition metric.By default, the percentile is not reset during a test plan execution and is evaluated on each sample result. If you want to change this you can use
AutoStopListener.AggregatedConditionBuilder.every(Duration).Warning: as percentiles are calculated with P2 algorithm, they may not be accurate when evaluating a few samples. This is specially important when using small aggregation periods with
AutoStopListener.AggregatedConditionBuilder.every(Duration).- Parameters:
percentile- specifies the percentile to use. For example to check the median, specify 50. To check the 90 percentile, then specify 90.- Returns:
- a condition builder to complete the condition definition.
-
-