Interface PerfTestWatcher

All Known Implementing Classes:
ActivityPerfTestWatcher, StatementLogPerfTestWatcher

public interface PerfTestWatcher
Allows to follows the progress of a PerfTestRun.
Author:
Daniel Meyer
  • Method Details

    • beforePass

      void beforePass(PerfTestPass pass)
      Invoked before a performance test pass is started.
      Parameters:
      pass - the current PerfTestPass
    • beforeRun

      void beforeRun(PerfTest test, PerfTestRun run)
      Invoked before a performance test run is started.
      Parameters:
      test - the PerfTest about to be executed
      run - the current PerfTestRun
    • beforeStep

      void beforeStep(PerfTestStep step, PerfTestRun run)
      Invoked before a PerfTestRun starts an individual step in the performance test. This method is called by the same Thread which will execute the step.
      Parameters:
      step - the PerfTestStep about to be executed.
      run - the current PerfTestRun
    • afterStep

      void afterStep(PerfTestStep step, PerfTestRun run)
      Invoked after a PerfTestRun ends an individual step in the performance test. This method is called by the same Thread which executed the step.
      Parameters:
      step - the PerfTestStep which has been executed.
      run - the current PerfTestRun
    • afterRun

      void afterRun(PerfTest test, PerfTestRun run)
      Invoked after a performance test run is ended.
      Parameters:
      test - the PerfTest about to be executed
      run - the current PerfTestRun
    • afterPass

      void afterPass(PerfTestPass pass)
      Invoked after a performance test pass is ended.
      Parameters:
      pass - the current PerfTestPass