public class StressRunner extends AbstractRunner<StressOptions>
Stress tests are continuous tests that run for some period of time that
gradually increase the load upon the system. This differs from the
SoakRunner
which provides continuous tests that put a stable load on
the system.
The testing methodology is to start with only the number of user defined
parallel threads ( Options.getParallelThreads()
and have each thread
complete a single run. The number of parallel threads are then increased by
the configured ramp up factor (StressOptions.getRampUpFactor()
) and
the runs repeated. This process continues until such time as the configured
maximum runtime or maximum number of threads is reached.
Constructor and Description |
---|
StressRunner() |
Modifier and Type | Method and Description |
---|---|
void |
run(StressOptions options)
Runs with the given options
|
checkOperations, checkSanity, finished, getSanityCheckQueries, halt, halt, reportAfterOperation, reportAfterOperationMix, reportBeforeOperation, reportBeforeOperationMix, reportCategorizedErrors, reportGeneralOptions, reportOperationSummary, reportPartialProgress, reportProgress, reportProgress, runMix, runOp, runSanityChecks, runSetup, runTeardown, started
public void run(StressOptions options)
Runner
Copyright © 2015. All rights reserved.