- Type Parameters:
T- the load test application type
public static interface Scenario.Builder<T>
A
Scenario builder.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceSpecifies the scenario performer -
Method Summary
Modifier and TypeMethodDescriptionbuild()defaultWeight(int defaultWeight) By default, all exceptions cause a test to be paused.
-
Method Details
-
name
- Parameters:
name- the scenario name- Returns:
- this builder
-
defaultWeight
- Parameters:
defaultWeight- the default weight- Returns:
- this builder
-
beforeRun
- Parameters:
beforeRun- called before each run- Returns:
- this builder
-
afterRun
- Parameters:
afterRun- called after each run- Returns:
- this builder
-
pause
By default, all exceptions cause a test to be paused.- Parameters:
pause- thePredicatecontrolling whether the load test should be paused when a given exception occurs in this scenario- Returns:
- this builder
- See Also:
-
build
- Returns:
- a new
Scenarioinstance
-