Interface PerfTestWatcher
-
- All Known Implementing Classes:
ActivityPerfTestWatcher,StatementLogPerfTestWatcher
public interface PerfTestWatcherAllows to follows the progress of aPerfTestRun.- Author:
- Daniel Meyer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidafterPass(PerfTestPass pass)Invoked after a performance test pass is ended.voidafterRun(PerfTest test, PerfTestRun run)Invoked after a performance test run is ended.voidafterStep(PerfTestStep step, PerfTestRun run)Invoked after aPerfTestRunends an individual step in the performance test.voidbeforePass(PerfTestPass pass)Invoked before a performance test pass is started.voidbeforeRun(PerfTest test, PerfTestRun run)Invoked before a performance test run is started.voidbeforeStep(PerfTestStep step, PerfTestRun run)Invoked before aPerfTestRunstarts an individual step in the performance test.
-
-
-
Method Detail
-
beforePass
void beforePass(PerfTestPass pass)
Invoked before a performance test pass is started.- Parameters:
pass- the currentPerfTestPass
-
beforeRun
void beforeRun(PerfTest test, PerfTestRun run)
Invoked before a performance test run is started.- Parameters:
test- thePerfTestabout to be executedrun- the currentPerfTestRun
-
beforeStep
void beforeStep(PerfTestStep step, PerfTestRun run)
Invoked before aPerfTestRunstarts an individual step in the performance test. This method is called by the sameThreadwhich will execute the step.- Parameters:
step- thePerfTestStepabout to be executed.run- the currentPerfTestRun
-
afterStep
void afterStep(PerfTestStep step, PerfTestRun run)
Invoked after aPerfTestRunends an individual step in the performance test. This method is called by the sameThreadwhich executed the step.- Parameters:
step- thePerfTestStepwhich has been executed.run- the currentPerfTestRun
-
afterRun
void afterRun(PerfTest test, PerfTestRun run)
Invoked after a performance test run is ended.- Parameters:
test- thePerfTestabout to be executedrun- the currentPerfTestRun
-
afterPass
void afterPass(PerfTestPass pass)
Invoked after a performance test pass is ended.- Parameters:
pass- the currentPerfTestPass
-
-