Class PerfTestResult
- java.lang.Object
-
- org.camunda.bpm.qa.performance.engine.framework.PerfTestResult
-
public class PerfTestResult extends java.lang.Object
- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<java.lang.String,java.util.List<ActivityPerfTestResult>>
activityResults
protected long
duration
protected int
numberOfThreads
protected java.util.List<PerfTestStepResult>
stepResults
-
Constructor Summary
Constructors Constructor Description PerfTestResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.util.List<ActivityPerfTestResult>>
getActivityResults()
long
getDuration()
int
getNumberOfThreads()
java.util.List<PerfTestStepResult>
getStepResults()
void
logActivityResult(java.lang.String identifier, java.util.List<ActivityPerfTestResult> results)
void
logStepResult(PerfTestStep currentStep, java.lang.Object stepResult)
log a step result.void
setDuration(long duration)
void
setNumberOfThreads(int numberOfThreads)
void
setStepResults(java.util.List<PerfTestStepResult> stepResults)
-
-
-
Field Detail
-
duration
protected long duration
-
numberOfThreads
protected int numberOfThreads
-
stepResults
protected java.util.List<PerfTestStepResult> stepResults
-
activityResults
protected final java.util.Map<java.lang.String,java.util.List<ActivityPerfTestResult>> activityResults
-
-
Method Detail
-
getDuration
public long getDuration()
-
setDuration
public void setDuration(long duration)
-
getNumberOfThreads
public int getNumberOfThreads()
-
setNumberOfThreads
public void setNumberOfThreads(int numberOfThreads)
-
getStepResults
public java.util.List<PerfTestStepResult> getStepResults()
-
setStepResults
public void setStepResults(java.util.List<PerfTestStepResult> stepResults)
-
getActivityResults
public java.util.Map<java.lang.String,java.util.List<ActivityPerfTestResult>> getActivityResults()
-
logStepResult
public void logStepResult(PerfTestStep currentStep, java.lang.Object stepResult)
log a step result. NOTE: this is expensive as it requires synchronization on the stepResultList.- Parameters:
currentStep
-stepResult
-
-
logActivityResult
public void logActivityResult(java.lang.String identifier, java.util.List<ActivityPerfTestResult> results)
-
-