Interface PerfTestWatcher
-
- All Known Implementing Classes:
ActivityPerfTestWatcher
,StatementLogPerfTestWatcher
public interface PerfTestWatcher
Allows to follows the progress of aPerfTestRun
.- Author:
- Daniel Meyer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
afterPass(PerfTestPass pass)
Invoked after a performance test pass is ended.void
afterRun(PerfTest test, PerfTestRun run)
Invoked after a performance test run is ended.void
afterStep(PerfTestStep step, PerfTestRun run)
Invoked after aPerfTestRun
ends an individual step in the performance test.void
beforePass(PerfTestPass pass)
Invoked before a performance test pass is started.void
beforeRun(PerfTest test, PerfTestRun run)
Invoked before a performance test run is started.void
beforeStep(PerfTestStep step, PerfTestRun run)
Invoked before aPerfTestRun
starts 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
- thePerfTest
about to be executedrun
- the currentPerfTestRun
-
beforeStep
void beforeStep(PerfTestStep step, PerfTestRun run)
Invoked before aPerfTestRun
starts an individual step in the performance test. This method is called by the sameThread
which will execute the step.- Parameters:
step
- thePerfTestStep
about to be executed.run
- the currentPerfTestRun
-
afterStep
void afterStep(PerfTestStep step, PerfTestRun run)
Invoked after aPerfTestRun
ends an individual step in the performance test. This method is called by the sameThread
which executed the step.- Parameters:
step
- thePerfTestStep
which has been executed.run
- the currentPerfTestRun
-
afterRun
void afterRun(PerfTest test, PerfTestRun run)
Invoked after a performance test run is ended.- Parameters:
test
- thePerfTest
about to be executedrun
- the currentPerfTestRun
-
afterPass
void afterPass(PerfTestPass pass)
Invoked after a performance test pass is ended.- Parameters:
pass
- the currentPerfTestPass
-
-