T
- the type used to run the scenariopublic static interface LoadTest.UsageScenario<T>
Modifier and Type | Method and Description |
---|---|
void |
clearExceptions()
Clears the exceptions that have been collected so far
|
int |
getDefaultWeight() |
java.util.List<LoadTest.ScenarioException> |
getExceptions() |
java.lang.String |
getName() |
int |
getSuccessfulRunCount() |
int |
getTotalRunCount() |
int |
getUnsuccessfulRunCount() |
void |
resetRunCount()
Resets the run counters
|
void |
run(T application)
Runs this scenario with the given application
|
java.lang.String getName()
int getDefaultWeight()
void run(T application)
application
- the application to useint getTotalRunCount()
java.util.List<LoadTest.ScenarioException> getExceptions()
void resetRunCount()
void clearExceptions()
int getSuccessfulRunCount()
int getUnsuccessfulRunCount()