Class PerfTestRunner
java.lang.Object
org.operaton.bpm.qa.performance.engine.framework.PerfTestRunner
- Author:
- Daniel Meyer, Ingo Richtsmeier
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final PerfTestConfigurationstatic PerfTestPassprotected Objectprotected Throwableprotected ExecutorServiceprotected booleanprotected Objectprotected PerfTestResultsprotected final PerfTestprotected List<PerfTestWatcher> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcompletedRun(PerfTestRun run) Invoked when aPerfTestRunis completed.voidcompletedStep(PerfTestRun run, PerfTestStep currentStep) Invoked when aPerfTestRuncompleted a stepexecute()voidfailed(PerfTestRun perfTestRun, Throwable t) getTest()protected voidinit()voidlogStepResult(PerfTestRun perfTestRun, Object stepResult) protected voidprotected voidprotected voidrunPassWithThreadCount(int passNumberOfThreads) static void
-
Field Details
-
executor
-
test
-
configuration
-
currentPass
-
results
-
passMonitor
-
doneMonitor
-
isDone
protected boolean isDone -
exception
-
watchers
-
-
Constructor Details
-
PerfTestRunner
-
-
Method Details
-
init
protected void init() -
execute
-
getExecutor
-
runPassWithThreadCount
protected void runPassWithThreadCount(int passNumberOfThreads) -
notifyWatchersBeforePass
protected void notifyWatchersBeforePass() -
notifyWatchersAfterPass
protected void notifyWatchersAfterPass() -
completedStep
Invoked when aPerfTestRuncompleted a step- Parameters:
run- the current RuncurrentStep- the completed step
-
completedRun
Invoked when aPerfTestRunis completed.- Parameters:
run- the completed run
-
failed
-
getWatchers
-
getTest
-
logStepResult
-
signalRun
-