Class PerfTestPass
java.lang.Object
org.camunda.bpm.qa.performance.engine.framework.PerfTestPass
A step in a performance test.
- Author:
- Daniel Meyer
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected AtomicLong
protected long
protected static final IdGenerator
protected int
protected PerfTestResult
protected Map<String,
PerfTestRun> protected long
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
void
createRuns
(PerfTestRunner runner, PerfTestStep firstStep, int numberOfRuns) void
endPass()
long
int
getRuns()
long
boolean
void
logActivityResult
(String identifier, List<ActivityPerfTestResult> results) void
logStepResult
(PerfTestStep currentStep, Object stepResult) void
-
Field Details
-
idGenerator
-
numberOfThreads
protected int numberOfThreads -
completedRuns
-
result
-
completed
protected boolean completed -
runs
-
startTime
protected long startTime -
endTime
protected long endTime
-
-
Constructor Details
-
PerfTestPass
public PerfTestPass(int numberOfThreads)
-
-
Method Details
-
createRuns
-
getNumberOfThreads
public int getNumberOfThreads() -
getCompletedRuns
-
getResult
-
isCompleted
public boolean isCompleted() -
getRuns
-
getStartTime
public long getStartTime() -
getEndTime
public long getEndTime() -
startPass
public void startPass() -
completeRun
public long completeRun() -
endPass
public void endPass() -
logStepResult
-
logActivityResult
-
getRun
-