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

public class PerfTestPass extends Object
A step in a performance test.
Author:
Daniel Meyer
  • Field Details

    • idGenerator

      protected static final IdGenerator idGenerator
    • numberOfThreads

      protected int numberOfThreads
    • completedRuns

      protected AtomicLong completedRuns
    • result

      protected PerfTestResult result
    • completed

      protected boolean completed
    • runs

      protected Map<String,PerfTestRun> runs
    • startTime

      protected long startTime
    • endTime

      protected long endTime
  • Constructor Details

    • PerfTestPass

      public PerfTestPass(int numberOfThreads)
  • Method Details

    • createRuns

      public void createRuns(PerfTestRunner runner, PerfTestStep firstStep, int numberOfRuns)
    • getNumberOfThreads

      public int getNumberOfThreads()
    • getCompletedRuns

      public AtomicLong getCompletedRuns()
    • getResult

      public PerfTestResult getResult()
    • isCompleted

      public boolean isCompleted()
    • getRuns

      public Map<String,PerfTestRun> getRuns()
    • getStartTime

      public long getStartTime()
    • getEndTime

      public long getEndTime()
    • startPass

      public void startPass()
    • completeRun

      public long completeRun()
    • endPass

      public void endPass()
    • logStepResult

      public void logStepResult(PerfTestStep currentStep, Object stepResult)
    • logActivityResult

      public void logActivityResult(String identifier, List<ActivityPerfTestResult> results)
    • getRun

      public PerfTestRun getRun(String runId)