Class AutoStopListener.CountMetricConditionBuilder
- 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.CountMetricConditionBuilder
-
- Direct Known Subclasses:
AutoStopListener.ErrorsConditionBuilder
- Enclosing class:
- AutoStopListener
public static class AutoStopListener.CountMetricConditionBuilder extends AutoStopListener.MetricConditionBuilder
-
-
Field Summary
-
Fields inherited from class us.abstracta.jmeter.javadsl.core.listeners.AutoStopListener.BaseAutoStopConditionBuilder
ret
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCountMetricConditionBuilder(AutoStopConditionElement ret, AutoStopMetric metric)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AutoStopListener.AggregatedConditionBuilder<Double>perSecond()Specifies to check the average sum per second of selected condition metric.AutoStopListener.AggregatedConditionBuilder<Long>total()Specifies to check the total sum of selected condition metric.
-
-
-
Constructor Detail
-
CountMetricConditionBuilder
protected CountMetricConditionBuilder(AutoStopConditionElement ret, AutoStopMetric metric)
-
-
Method Detail
-
total
public AutoStopListener.AggregatedConditionBuilder<Long> total()
Specifies to check the total sum of selected condition metric.By default, the total 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.
-
perSecond
public AutoStopListener.AggregatedConditionBuilder<Double> perSecond()
Specifies to check the average sum per second of selected condition metric.By default, the aggregated value is not reset during a test plan execution and is evaluated on each sample result. This might lead to the value being "stuck" by past sample results. Check
AutoStopListener.AggregatedConditionBuilder.every(Duration)for more details.- Returns:
- a condition builder to complete the condition definition.
-
-