Class PerfTestRunner
java.lang.Object
org.camunda.bpm.qa.performance.engine.framework.PerfTestRunner
- Author:
- Daniel Meyer, Ingo Richtsmeier
-
Field Summary
Modifier and TypeFieldDescriptionprotected PerfTestConfiguration
static PerfTestPass
protected Object
protected Throwable
protected ExecutorService
protected boolean
protected Object
protected PerfTestResults
protected PerfTest
protected List<PerfTestWatcher>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
completedRun
(PerfTestRun run) Invoked when aPerfTestRun
is completed.void
completedStep
(PerfTestRun run, PerfTestStep currentStep) Invoked when aPerfTestRun
completed a stepexecute()
void
failed
(PerfTestRun perfTestRun, Throwable t) getTest()
protected void
init()
void
logStepResult
(PerfTestRun perfTestRun, Object stepResult) protected void
protected void
protected void
runPassWithThreadCount
(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 aPerfTestRun
completed a step- Parameters:
run
- the current RuncurrentStep
- the completed step
-
completedRun
Invoked when aPerfTestRun
is completed.- Parameters:
run
- the completed run
-
failed
-
getWatchers
-
getTest
-
logStepResult
-
signalRun
-