Interface PerfTestWatcher
- All Known Implementing Classes:
ActivityPerfTestWatcher
,StatementLogPerfTestWatcher
public interface PerfTestWatcher
Allows to follows the progress of a
PerfTestRun
.- Author:
- Daniel Meyer
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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 Details
-
beforePass
Invoked before a performance test pass is started.- Parameters:
pass
- the currentPerfTestPass
-
beforeRun
Invoked before a performance test run is started.- Parameters:
test
- thePerfTest
about to be executedrun
- the currentPerfTestRun
-
beforeStep
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
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
Invoked after a performance test run is ended.- Parameters:
test
- thePerfTest
about to be executedrun
- the currentPerfTestRun
-
afterPass
Invoked after a performance test pass is ended.- Parameters:
pass
- the currentPerfTestPass
-