Class PerfTestRunner

java.lang.Object
org.camunda.bpm.qa.performance.engine.framework.PerfTestRunner

public class PerfTestRunner extends Object
Author:
Daniel Meyer, Ingo Richtsmeier
  • Field Details

  • Constructor Details

  • Method Details

    • init

      protected void init()
    • execute

      public Future<PerfTestResults> execute()
    • getExecutor

      public ExecutorService getExecutor()
    • runPassWithThreadCount

      protected void runPassWithThreadCount(int passNumberOfThreads)
    • notifyWatchersBeforePass

      protected void notifyWatchersBeforePass()
    • notifyWatchersAfterPass

      protected void notifyWatchersAfterPass()
    • completedStep

      public void completedStep(PerfTestRun run, PerfTestStep currentStep)
      Invoked when a PerfTestRun completed a step
      Parameters:
      run - the current Run
      currentStep - the completed step
    • completedRun

      public void completedRun(PerfTestRun run)
      Invoked when a PerfTestRun is completed.
      Parameters:
      run - the completed run
    • failed

      public void failed(PerfTestRun perfTestRun, Throwable t)
    • getWatchers

      public List<PerfTestWatcher> getWatchers()
    • getTest

      public PerfTest getTest()
    • logStepResult

      public void logStepResult(PerfTestRun perfTestRun, Object stepResult)
    • signalRun

      public static void signalRun(String runId)