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