Enum BaseThreadGroup.SampleErrorAction
- java.lang.Object
-
- java.lang.Enum<BaseThreadGroup.SampleErrorAction>
-
- us.abstracta.jmeter.javadsl.core.threadgroups.BaseThreadGroup.SampleErrorAction
-
- All Implemented Interfaces:
Serializable,Comparable<BaseThreadGroup.SampleErrorAction>,EnumParam.EnumPropertyValue
- Enclosing class:
- BaseThreadGroup<T extends BaseThreadGroup<T>>
public static enum BaseThreadGroup.SampleErrorAction extends Enum<BaseThreadGroup.SampleErrorAction> implements EnumParam.EnumPropertyValue
Specifies an action to be taken by thread group when a sample error is detected.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTINUEIgnores the error and continues execution with the next element in children elements, or starts a new iteration.START_NEXT_ITERATIONDoes not execute following elements in current iteration and jumps to a new iteration.STOP_TESTStops the test plan, with all associated threads, when all current samples end.STOP_TEST_NOWStops the test plan abruptly, with all associated threads, interrupting current samples.STOP_THREADStops the thread, not executing any further children elements or iterations.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringpropertyValue()static BaseThreadGroup.SampleErrorActionvalueOf(String name)Returns the enum constant of this type with the specified name.static BaseThreadGroup.SampleErrorAction[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONTINUE
public static final BaseThreadGroup.SampleErrorAction CONTINUE
Ignores the error and continues execution with the next element in children elements, or starts a new iteration.
-
START_NEXT_ITERATION
public static final BaseThreadGroup.SampleErrorAction START_NEXT_ITERATION
Does not execute following elements in current iteration and jumps to a new iteration.
-
STOP_THREAD
public static final BaseThreadGroup.SampleErrorAction STOP_THREAD
Stops the thread, not executing any further children elements or iterations.
-
STOP_TEST
public static final BaseThreadGroup.SampleErrorAction STOP_TEST
Stops the test plan, with all associated threads, when all current samples end.
-
STOP_TEST_NOW
public static final BaseThreadGroup.SampleErrorAction STOP_TEST_NOW
Stops the test plan abruptly, with all associated threads, interrupting current samples.
-
-
Method Detail
-
values
public static BaseThreadGroup.SampleErrorAction[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BaseThreadGroup.SampleErrorAction c : BaseThreadGroup.SampleErrorAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BaseThreadGroup.SampleErrorAction valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
propertyValue
public String propertyValue()
- Specified by:
propertyValuein interfaceEnumParam.EnumPropertyValue
-
-