Core stages
urn:radargun:stages:core:3.0
add-result
Adds custom result to given test
exit-on-failure (optional) - If true, then the benchmark stops when the stage returns an error. If false, then the stages in the current scenario are skipped, and the next scenario starts executing. Default is false.
iteration (optional) - Which iteration should the result go to. Default is 0.
result-name (mandatory) - Name of the result.
test-name (mandatory) - Name of the test.
value (mandatory) - Value used as aggregation value in the test.
after-service-start
DO NOT USE DIRECTLY. This stage is automatically inserted after the ServiceStartStage.
exit-on-failure (optional) - If true, then the benchmark stops when the stage returns an error. If false, then the stages in the current scenario are skipped, and the next scenario starts executing. Default is false.
groups (optional) - Specifies in which groups this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all groups.
roles (optional) - Specifies on which workers this stage should actively run, by their roles. The result set is intersection of specified workers, groups and roles. Supported roles are [COORDINATOR]. Default is all roles.
workers (optional) - Specifies on which workers this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all workers.
analyze-test
Analyzes results of already executed test.
analyzis-type (mandatory) - How do we process the data. We can search for maximum, minimum or average.
exit-on-failure (optional) - If true, then the benchmark stops when the stage returns an error. If false, then the stages in the current scenario are skipped, and the next scenario starts executing. Default is false.
groups (optional) - Specifies in which groups this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all groups.
iteration-selection (optional) - Which iterations should be included in the analysis. By default we iterate over all iterations.
operation (mandatory) - Operation that should be analyzed (e.g. BasicOperations.Get).
result-type (optional) - What should be results of this analysis. Default is VALUE.
roles (optional) - Specifies on which workers this stage should actively run, by their roles. The result set is intersection of specified workers, groups and roles. Supported roles are [COORDINATOR]. Default is all roles.
statistics-type (mandatory) - What value do we we retrieve from the statistics.
store-result-to (mandatory) - Name of the target property where the result should be stored.
test-name (mandatory) - Name of the test whose result should be analyzed.
thread-grouping (optional) - How should the thread statistics be aggregated. By default all statistics are merged.
workers (optional) - Specifies on which workers this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all workers.
before-service-start
DO NOT USE DIRECTLY. This stage is automatically inserted before the ServiceStartStage.
exit-on-failure (optional) - If true, then the benchmark stops when the stage returns an error. If false, then the stages in the current scenario are skipped, and the next scenario starts executing. Default is false.
groups (optional) - Specifies in which groups this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all groups.
roles (optional) - Specifies on which workers this stage should actively run, by their roles. The result set is intersection of specified workers, groups and roles. Supported roles are [COORDINATOR]. Default is all roles.
workers (optional) - Specifies on which workers this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all workers.
cluster-split-verify
Verifies that there weren’t any changes to the cluster size during testing.
exit-on-failure (optional) - If true, then the benchmark stops when the stage returns an error. If false, then the stages in the current scenario are skipped, and the next scenario starts executing. Default is false.
groups (optional) - Specifies in which groups this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all groups.
roles (optional) - Specifies on which workers this stage should actively run, by their roles. The result set is intersection of specified workers, groups and roles. Supported roles are [COORDINATOR]. Default is all roles.
verify (optional) - Set to true in 2nd definition of the stage in benchmark to verify that no splits occurred. Default is false.
workers (optional) - Specifies on which workers this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all workers.
command
Stage that allows you to execute generic command on the worker machine.
args (optional) - Arguments to this command. Default are none
cancel (optional) - Cancel running command, loaded using the ‘var’ property. By default not cancelling anything.
cmd (optional) - Command that should be executed. No default, but must be provided unless ‘var’ is set.
err (optional) - Error output file. By default uses standard error.
err-append (optional) - Append error output to the file instead of overwriting. Default is to overwrite.
exit-on-failure (optional) - If true, then the benchmark stops when the stage returns an error. If false, then the stages in the current scenario are skipped, and the next scenario starts executing. Default is false.
exit-values (optional) - List of exit values that are allowed from the command. Default is {0}.
groups (optional) - Specifies in which groups this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all groups.
non-parsed-args (optional) - Argument which won’t be parsed. Useful to run piped commands, like sh -c “echo yes | some interactive script”
out (optional) - Output file. By default uses standard output.
out-append (optional) - Append output to the file instead of overwriting. Default is to overwrite.
roles (optional) - Specifies on which workers this stage should actively run, by their roles. The result set is intersection of specified workers, groups and roles. Supported roles are [COORDINATOR]. Default is all roles.
var (optional) - Store/load process into/from state variable. Use this in combination with ‘waitForExit=false’. By default the process is not stored/loaded.
wait-for-exit (optional) - Wait until the command finishes. Default is true.
workers (optional) - Specifies on which workers this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all workers.
cpu-burn
Burns CPU time in several threads to simulate CPU intensive app.
exit-on-failure (optional) - If true, then the benchmark stops when the stage returns an error. If false, then the stages in the current scenario are skipped, and the next scenario starts executing. Default is false.
groups (optional) - Specifies in which groups this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all groups.
num-threads (optional) - Number of threads burning CPU.
roles (optional) - Specifies on which workers this stage should actively run, by their roles. The result set is intersection of specified workers, groups and roles. Supported roles are [COORDINATOR]. Default is all roles.
stop (optional) - If set to true, all threads are stopped and the num-threads attribute is ignored.
workers (optional) - Specifies on which workers this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all workers.
define
Use for setting certain value
exit-on-failure (optional) - If true, then the benchmark stops when the stage returns an error. If false, then the stages in the current scenario are skipped, and the next scenario starts executing. Default is false.
groups (optional) - Specifies in which groups this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all groups.
roles (optional) - Specifies on which workers this stage should actively run, by their roles. The result set is intersection of specified workers, groups and roles. Supported roles are [COORDINATOR]. Default is all roles.
value (mandatory) - Value of the variable.
var (mandatory) - Name of the variable that should be set.
workers (optional) - Specifies on which workers this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all workers.
echo
Allows to system out messages for more readable logs.
exit-on-failure (optional) - If true, then the benchmark stops when the stage returns an error. If false, then the stages in the current scenario are skipped, and the next scenario starts executing. Default is false.
message (mandatory) - Message to be printed.
failure
Introduce a failure. We can start or stop the failure.
action (mandatory) - Action
exit-on-failure (optional) - If true, then the benchmark stops when the stage returns an error. If false, then the stages in the current scenario are skipped, and the next scenario starts executing. Default is false.
expected-value (optional) - Expected value
groups (optional) - Specifies in which groups this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all groups.
roles (optional) - Specifies on which workers this stage should actively run, by their roles. The result set is intersection of specified workers, groups and roles. Supported roles are [COORDINATOR]. Default is all roles.
workers (optional) - Specifies on which workers this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all workers.
http-invocation
Allows to invoke Http methods.
auth-mechanism (optional) - Authentication Mechanism
exit-on-failure (optional) - If true, then the benchmark stops when the stage returns an error. If false, then the stages in the current scenario are skipped, and the next scenario starts executing. Default is false.
expected-result (optional) - Expected Http Response body
groups (optional) - Specifies in which groups this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all groups.
print-response (optional) - Print response. Default false
request-method (optional) - Method for the URL request. Default GET
roles (optional) - Specifies on which workers this stage should actively run, by their roles. The result set is intersection of specified workers, groups and roles. Supported roles are [COORDINATOR]. Default is all roles.
url (mandatory) - Url
workers (optional) - Specifies on which workers this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all workers.
j-groups-probe
Allows to invoke JGroups probe queries. For details on probe usage see org.jgroups.tests.Probe.
address (optional) - Diagnostic address to send queries to. Default is 224.0.75.75.
exit-on-failure (optional) - If true, then the benchmark stops when the stage returns an error. If false, then the stages in the current scenario are skipped, and the next scenario starts executing. Default is false.
expected-response-count (mandatory) - Minimum number of responses to wait for. Default is -1 don’t wait for responses.
groups (optional) - Specifies in which groups this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all groups.
port (optional) - Diagnostic port. Default is 7500.
print-results-as-info (optional) - Print results of operation to log (INFO level). By default trace logging needs to be enabled.
queries (mandatory) - List of queries to be performed.
roles (optional) - Specifies on which workers this stage should actively run, by their roles. The result set is intersection of specified workers, groups and roles. Supported roles are [COORDINATOR]. Default is all roles.
timeout (optional) - Maximum time to wait for query responses. Default is 60 seconds. Valid only when used in conjunction with expectedResponseCount parameter.
workers (optional) - Specifies on which workers this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all workers.
j-profiler
Stage for invoking operations on JProfiler. Remember to set up JVM args: “-agentpath:/path/to/libjprofilerti.so=offline,id=100,config=/path/to/configuration.xml”
exit-on-failure (optional) - If true, then the benchmark stops when the stage returns an error. If false, then the stages in the current scenario are skipped, and the next scenario starts executing. Default is false.
groups (optional) - Specifies in which groups this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all groups.
operations (mandatory) - Operations that should be invoked on the Controller
reset-cpu-stats (optional) - If true, any previously accumulated CPU profiling data will be discarded. If false, CPU data willbe accumulated across pairs of invocations of START_CPU_RECORDING and STOP_CPU_RECORDING. Default is false.
reset-memory-stats (optional) - If true, any previously accumulated Memory profiling data will be discarded. If false, CPU data willbe accumulated across pairs of invocations of START_MEMORY_RECORDING and STOP_MEMORY_RECORDING. Default is false.
roles (optional) - Specifies on which workers this stage should actively run, by their roles. The result set is intersection of specified workers, groups and roles. Supported roles are [COORDINATOR]. Default is all roles.
snapshot-directory (optional) - Directory where the snapshot should be written (for SAVE_SNAPSHOT).
workers (optional) - Specifies on which workers this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all workers.
jgroups-probe-monitor-start
Starts collecting jgroups statistics locally in each worker node.
address (optional) - Diagnostic address to send queries to. Default is 224.0.75.75.
exit-on-failure (optional) - If true, then the benchmark stops when the stage returns an error. If false, then the stages in the current scenario are skipped, and the next scenario starts executing. Default is false.
expected-response-count (mandatory) - Minimum number of responses to wait for. Default is -1 don’t wait for responses.
groups (optional) - Specifies in which groups this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all groups.
period (optional) - Period of statistics collection. The default is 60 seconds.
port (optional) - Diagnostic port. Default is 7500.
print-results-as-info (optional) - Print results of operation to log (INFO level). By default trace logging needs to be enabled.
queries (mandatory) - List of queries to be performed.
roles (optional) - Specifies on which workers this stage should actively run, by their roles. The result set is intersection of specified workers, groups and roles. Supported roles are [COORDINATOR]. Default is all roles.
timeout (optional) - Maximum time to wait for query responses. Default is 60 seconds. Valid only when used in conjunction with expectedResponseCount parameter.
workers (optional) - Specifies on which workers this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all workers.
jgroups-probe-monitor-stop
Stop collecting jgroups statistics locally in each worker node.
exit-on-failure (optional) - If true, then the benchmark stops when the stage returns an error. If false, then the stages in the current scenario are skipped, and the next scenario starts executing. Default is false.
groups (optional) - Specifies in which groups this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all groups.
roles (optional) - Specifies on which workers this stage should actively run, by their roles. The result set is intersection of specified workers, groups and roles. Supported roles are [COORDINATOR]. Default is all roles.
workers (optional) - Specifies on which workers this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all workers.
jmx-invocation
Allows to invoke JMX-exposed methods and attributes.
continue-on-failure (optional) - Continue method invocations if an exception occurs. Default is false.
exit-on-failure (optional) - If true, then the benchmark stops when the stage returns an error. If false, then the stages in the current scenario are skipped, and the next scenario starts executing. Default is false.
expected-total-result (optional) - Expected result, calculated as sum/concatenation (with ‘,’ delimeter) of results from individual workers.
expected-worker-result (optional) - Expected result value. If specified, results of method invocations are compared with this value.
expected-worker-result-match (optional) - Expected result value matching.
groups (optional) - Specifies in which groups this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all groups.
method-parameters (optional) - Method parameters. If specified, the number of parameters must match the number of parameter signatures supplied.
method-signatures (optional) - Method parameter signatures.
operation-type (optional) - Type of action to be performed. Invocation of specified method (INVOKE_METHOD) is performed by default. Optionally, query for a specified attribute (via method-parameters) can be performed (GET_ATTRIBUTE_VALUE) or setting a specified attribute (via method-parameters) can be performed(SET_ATTRIBUTE_VALUE).
query (mandatory) - Method will be invoked on all ObjectInstances matching given query.
roles (optional) - Specifies on which workers this stage should actively run, by their roles. The result set is intersection of specified workers, groups and roles. Supported roles are [COORDINATOR]. Default is all roles.
show-only (optional) - Should the execution result be only shown in logs. Default is false.
target-name (mandatory) - Name of the method to be invoked / attribute to be queried for.
workers (optional) - Specifies on which workers this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all workers.
jvm-monitor-start
Starts collecting statistics locally on main and each worker node.
exit-on-failure (optional) - If true, then the benchmark stops when the stage returns an error. If false, then the stages in the current scenario are skipped, and the next scenario starts executing. Default is false.
groups (optional) - Specifies in which groups this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all groups.
interface-name (optional) - Specifies the network interface where statistics are gathered. If not specified, then statistics are not collected.
period (optional) - Period of statistics collection. The default is 1 second.
roles (optional) - Specifies on which workers this stage should actively run, by their roles. The result set is intersection of specified workers, groups and roles. Supported roles are [COORDINATOR]. Default is all roles.
thread-dump (optional) - Thread Dump. Default is false.
thread-dump-locked-monitors (optional) - Dump all locked monitors. Default is true.
thread-dump-locked-synchronizers (optional) - Dump all locked ownable synchronizers. Default is true.
workers (optional) - Specifies on which workers this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all workers.
jvm-monitor-stop
Stop collecting statistics on each worker node and return collected statistics to the main node.
exit-on-failure (optional) - If true, then the benchmark stops when the stage returns an error. If false, then the stages in the current scenario are skipped, and the next scenario starts executing. Default is false.
groups (optional) - Specifies in which groups this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all groups.
roles (optional) - Specifies on which workers this stage should actively run, by their roles. The result set is intersection of specified workers, groups and roles. Supported roles are [COORDINATOR]. Default is all roles.
workers (optional) - Specifies on which workers this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all workers.
monitor-start
Starts collecting statistics locally on main and each worker node.
exit-on-failure (optional) - If true, then the benchmark stops when the stage returns an error. If false, then the stages in the current scenario are skipped, and the next scenario starts executing. Default is false.
groups (optional) - Specifies in which groups this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all groups.
interface-name (optional) - Specifies the network interface where statistics are gathered. If not specified, then statistics are not collected.
period (optional) - Period of statistics collection. The default is 1 second.
roles (optional) - Specifies on which workers this stage should actively run, by their roles. The result set is intersection of specified workers, groups and roles. Supported roles are [COORDINATOR]. Default is all roles.
thread-dump (optional) - Thread Dump. Default is false.
thread-dump-locked-monitors (optional) - Dump all locked monitors. Default is true.
thread-dump-locked-synchronizers (optional) - Dump all locked ownable synchronizers. Default is true.
workers (optional) - Specifies on which workers this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all workers.
monitor-stop
Stop collecting statistics on each worker node and return collected statistics to the main node.
exit-on-failure (optional) - If true, then the benchmark stops when the stage returns an error. If false, then the stages in the current scenario are skipped, and the next scenario starts executing. Default is false.
groups (optional) - Specifies in which groups this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all groups.
roles (optional) - Specifies on which workers this stage should actively run, by their roles. The result set is intersection of specified workers, groups and roles. Supported roles are [COORDINATOR]. Default is all roles.
workers (optional) - Specifies on which workers this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all workers.
parallel-start-stop
The stage start and stops some nodes concurrently (without waiting for each other).
exit-on-failure (optional) - If true, then the benchmark stops when the stage returns an error. If false, then the stages in the current scenario are skipped, and the next scenario starts executing. Default is false.
graceful (optional) - If set to false, the node crash should be simulated. By default node should be shutdown gracefully.
groups (optional) - Specifies in which groups this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all groups.
may-fail-on (optional) - Set of workers where the start may fail but this will not cause an error. Default is none.
reachable (optional) - Applicable only for cache wrappers with Partitionable feature. Set of workers that should be reachable from the new node. Default is all workers.
roles (optional) - Specifies on which workers this stage should actively run, by their roles. The result set is intersection of specified workers, groups and roles. Supported roles are [COORDINATOR]. Default is all roles.
start (optional) - Set of workers which should be started in this stage. Default is empty.
start-delay (optional) - Delay before the workers are started. Default is 0.
stop (optional) - Set of workers which should be stopped in this stage. Default is empty.
stop-delay (optional) - Delay before the workers are stopped. Default is 0.
stop-roles (optional) - Set of roles which should be stopped in this stage. Default is empty.
workers (optional) - Specifies on which workers this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all workers.
periodic-cluster-split-verify
Periodically check the cluster size.
dir (mandatory) - Location on disk where the heap dumps should be stored.
exit-on-failure (optional) - If true, then the benchmark stops when the stage returns an error. If false, then the stages in the current scenario are skipped, and the next scenario starts executing. Default is false.
generate-heap-dump (optional) - When the cluster size was detected, if a heap dump should be generated.
groups (optional) - Specifies in which groups this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all groups.
initial-delay (optional) - Initial delay. Default is 0.
live (optional) - If set it only prints objects which have active references and discards the ones that are ready to be garbage collected.
period (optional) - How often should be executed. Default is every 30 minutes.
roles (optional) - Specifies on which workers this stage should actively run, by their roles. The result set is intersection of specified workers, groups and roles. Supported roles are [COORDINATOR]. Default is all roles.
stop (optional) - Set this flag to true in order to terminate. Default is false.
workers (optional) - Specifies on which workers this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all workers.
periodic-heap-dump
Periodically generates heap dumps.
dir (mandatory) - Location on disk where the heap dumps should be stored.
exit-on-failure (optional) - If true, then the benchmark stops when the stage returns an error. If false, then the stages in the current scenario are skipped, and the next scenario starts executing. Default is false.
groups (optional) - Specifies in which groups this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all groups.
initial-delay (optional) - Initial delay. Default is 0.
live (optional) - If set it only prints objects which have active references and discards the ones that are ready to be garbage collected
period (optional) - How often should be executed. Default is every 30 minutes.
roles (optional) - Specifies on which workers this stage should actively run, by their roles. The result set is intersection of specified workers, groups and roles. Supported roles are [COORDINATOR]. Default is all roles.
stop (optional) - Set this flag to true in order to terminate. Default is false.
workers (optional) - Specifies on which workers this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all workers.
remote-monitor-start
Starts collecting statistics locally on main and each worker node.
exit-on-failure (optional) - If true, then the benchmark stops when the stage returns an error. If false, then the stages in the current scenario are skipped, and the next scenario starts executing. Default is false.
groups (optional) - Specifies in which groups this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all groups.
interface-name (optional) - Specifies the network interface where statistics are gathered. If not specified, then statistics are not collected.
jmx-service-url (optional) - Remote JMX service url. Example: service:jmx:rmi:///jndi/rmi://127.0.0.1:9999/jmxrmi
period (optional) - Period of statistics collection. The default is 1 second.
roles (optional) - Specifies on which workers this stage should actively run, by their roles. The result set is intersection of specified workers, groups and roles. Supported roles are [COORDINATOR]. Default is all roles.
thread-dump (optional) - Thread Dump. Default is false.
thread-dump-locked-monitors (optional) - Dump all locked monitors. Default is true.
thread-dump-locked-synchronizers (optional) - Dump all locked ownable synchronizers. Default is true.
workers (optional) - Specifies on which workers this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all workers.
repeat-begin
DO NOT USE DIRECTLY. This stage is added at the beginning of each repeat.
exit-on-failure (optional) - If true, then the benchmark stops when the stage returns an error. If false, then the stages in the current scenario are skipped, and the next scenario starts executing. Default is false.
from (optional) - Initial counter value. Default is 0.
inc (optional) - Counter increment. Default is 1.
name (optional) - Repeat name. Default is none.
times (optional) - Sets from=0, to=times-1. Default is none.
to (optional) - Maximum counter value. Default is none.
repeat-continue
DO NOT USE DIRECTLY. This stage is added at the end of each repeat.
exit-on-failure (optional) - If true, then the benchmark stops when the stage returns an error. If false, then the stages in the current scenario are skipped, and the next scenario starts executing. Default is false.
from (optional) - Initial counter value. Default is 0.
inc (optional) - Counter increment. Default is 1.
name (optional) - Repeat name. Default is none.
times (optional) - Sets from=0, to=times-1. Default is none.
to (optional) - Maximum counter value. Default is none.
repeat-end
DO NOT USE DIRECTLY. This stage is added at the end of each repeat.
exit-on-failure (optional) - If true, then the benchmark stops when the stage returns an error. If false, then the stages in the current scenario are skipped, and the next scenario starts executing. Default is false.
from (optional) - Initial counter value. Default is 0.
inc (optional) - Counter increment. Default is 1.
name (optional) - Repeat name. Default is none.
times (optional) - Sets from=0, to=times-1. Default is none.
to (optional) - Maximum counter value. Default is none.
scenario-cleanup
DO NOT USE DIRECTLY. This stage is automatically inserted after the last stage in each scenario. You can alter the properties in <cleanup/> element.
check-memory (optional) - Specifies whether the check for amount of free memory should be performed. Default is true.
check-threads (optional) - Specifies whether the check for unfinished threads should be performed. Default is true.
exit-on-failure (optional) - If true, then the benchmark stops when the stage returns an error. If false, then the stages in the current scenario are skipped, and the next scenario starts executing. Default is false.
heap-dump-dir (optional) - Directory where the heap dump will be produced if the memory threshold is hit or some threads have not finished. By default the dump will not be produced.
memory-release-timeout (optional) - Timeout for releasing memory through garbage collections. Default is 30 seconds.
memory-threshold (optional) - If the available (free) memory after service destroy and System.gc() is below percentage specified in this property the benchmark will fail. Default is 95.
stop-timeout (optional) - Timeout for stopped threads to join. Default is 10 seconds.
stop-unfinished-threads (optional) - Calls Thread.stop() on threads that have not finished. Works only if checkThreads=true. Default is true.
scenario-destroy
DO NOT USE DIRECTLY. This stage is automatically inserted after the last stage in each scenario.
exit-on-failure (optional) - If true, then the benchmark stops when the stage returns an error. If false, then the stages in the current scenario are skipped, and the next scenario starts executing. Default is false.
graceful-stop-timeout (optional) - Timeout for the Lifecycle.stop() execution - if the stop() does not return within this timeout, Killable.kill() is called (if it is supported). Default is 30 seconds.
scenario-init
DO NOT USE DIRECTLY. This stage is automatically inserted before the beginning of scenario.
exit-on-failure (optional) - If true, then the benchmark stops when the stage returns an error. If false, then the stages in the current scenario are skipped, and the next scenario starts executing. Default is false.
groups (optional) - Specifies in which groups this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all groups.
heap-dump-dir (optional) - Directory where the heap dump will be produced. Contrary to scenario-cleanup, if this directory is set, the heap dump is written always. By default the dump will not be produced.
roles (optional) - Specifies on which workers this stage should actively run, by their roles. The result set is intersection of specified workers, groups and roles. Supported roles are [COORDINATOR]. Default is all roles.
workers (optional) - Specifies on which workers this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all workers.
service-start
Starts services on specified workers
cluster-formation-timeout (optional) - Time allowed the cluster to reach
expectNumWorkers
members. Default is 3 minutes.
delay-after-first-worker-starts (optional) - Delay (staggering) after first worker’s start is initiated. Default is 5s.
delay-between-starting-workers (optional) - Delay between initiating start of i-th and (i+1)-th worker. Default is 500 ms.
dump-config (optional) - Collect configuration files and properties for the service, and pass those to reporters. Default is true.
exit-on-failure (optional) - If true, then the benchmark stops when the stage returns an error. If false, then the stages in the current scenario are skipped, and the next scenario starts executing. Default is false.
expect-num-workers (optional) - The number of members that should be up after all services are started. Applicable only with validateCluster=true. Default is all members in the group where this stage will be executed. (If no groups are configured, then this is equal to all members of the cluster.) If multiple groups arespecified in the benchmark, then the size of each group will considered separately.
groups (optional) - Specifies in which groups this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all groups.
may-fail-on (optional) - Set of workers where the start may fail but this will not cause an error. Default is none.
reachable (optional) - Set of workers that should be reachable to the newly spawned workers (see Partitionable feature for details). Default is all workers.
roles (optional) - Specifies on which workers this stage should actively run, by their roles. The result set is intersection of specified workers, groups and roles. Supported roles are [COORDINATOR]. Default is all roles.
stagger-worker-startup (optional) - If set to true, the workers will not be started in one moment but the startup will be delayed. Default is true.
validate-cluster (optional) - Specifies whether the cluster formation should be checked after cache wrapper startup. Default is true.
workers (optional) - Specifies on which workers this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all workers.
service-stop
Stops or kills (simulates node crash) one or more nodes.
async (optional) - If set to true the benchmark will not wait until the node is stopped. Default is false.
delay-execution (optional) - If this value is positive the stage will spawn a thread which will stop the node after the delay. The stage will not wait for anything. By default the stop is immediate and synchronous.
exit-on-failure (optional) - If true, then the benchmark stops when the stage returns an error. If false, then the stages in the current scenario are skipped, and the next scenario starts executing. Default is false.
graceful (optional) - If set to false, the node crash should be simulated. By default node should be shutdown gracefully.
graceful-stop-timeout (optional) - Timeout for the Lifecycle.stop() execution - if the stop() does not return within this timeout, Killable.kill() is called (if it is supported). Default is 2 minutes.
groups (optional) - Specifies in which groups this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all groups.
roles (optional) - Specifies on which workers this stage should actively run, by their roles. The result set is intersection of specified workers, groups and roles. Supported roles are [COORDINATOR]. Default is all roles.
wait-for-delayed (optional) - If set, the stage will not stop any node but will wait until the delayed execution is finished. Default is false.
workers (optional) - Specifies on which workers this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all workers.
set-log-level
Debugging stage: changes log priorities
exit-on-failure (optional) - If true, then the benchmark stops when the stage returns an error. If false, then the stages in the current scenario are skipped, and the next scenario starts executing. Default is false.
groups (optional) - Specifies in which groups this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all groups.
package (mandatory) - The package or class which should be affected.
pop (optional) - If set to true, instead of setting the priority directly just undo the last priority change. Default is false.
priority (optional) - The new priority that should be used. No defaults.
roles (optional) - Specifies on which workers this stage should actively run, by their roles. The result set is intersection of specified workers, groups and roles. Supported roles are [COORDINATOR]. Default is all roles.
workers (optional) - Specifies on which workers this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all workers.
set-partitions
Partitions the cluster into several parts that cannot communicate.
exit-on-failure (optional) - If true, then the benchmark stops when the stage returns an error. If false, then the stages in the current scenario are skipped, and the next scenario starts executing. Default is false.
groups (optional) - Specifies in which groups this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all groups.
partitions (mandatory) - Set of sets of partitions, e.g. [0,1],[2] makes two partitions, one with workers 0 and 1 and second with worker 2 alone.
roles (optional) - Specifies on which workers this stage should actively run, by their roles. The result set is intersection of specified workers, groups and roles. Supported roles are [COORDINATOR]. Default is all roles.
workers (optional) - Specifies on which workers this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all workers.
sleep
Sleeps specified number of milliseconds.
exit-on-failure (optional) - If true, then the benchmark stops when the stage returns an error. If false, then the stages in the current scenario are skipped, and the next scenario starts executing. Default is false.
time (mandatory) - Sleep duration.
stack-trace-watchdog
Debug usage only. Periodically check for all thread stack traces and print them out.
async-logging (optional) - If set to true the watchdog will not use standard logging for output but will push the output to queue consumed (logged) by another thread. Default is false.
exit-on-failure (optional) - If true, then the benchmark stops when the stage returns an error. If false, then the stages in the current scenario are skipped, and the next scenario starts executing. Default is false.
groups (optional) - Specifies in which groups this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all groups.
mask (optional) - If set, only those threads which have this mask in the name will be checked. Default is not set.
only-stuck (optional) - By default the check will print out only those threads which appear to be stuck. If this is set to false all threads will be printed out. Default is true.
period (optional) - The delay between consecutive checks. Default is 10 seconds.
roles (optional) - Specifies on which workers this stage should actively run, by their roles. The result set is intersection of specified workers, groups and roles. Supported roles are [COORDINATOR]. Default is all roles.
short-stack (optional) - Threads with stack lower or equal to this value are never printed (because usually such threads are parked in thread pools). Default is 10.
workers (optional) - Specifies on which workers this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all workers.
stop-test
Stop async test stage
exit-on-failure (optional) - If true, then the benchmark stops when the stage returns an error. If false, then the stages in the current scenario are skipped, and the next scenario starts executing. Default is false.
groups (optional) - Specifies in which groups this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all groups.
roles (optional) - Specifies on which workers this stage should actively run, by their roles. The result set is intersection of specified workers, groups and roles. Supported roles are [COORDINATOR]. Default is all roles.
timeout (optional) - Max duration of the test. Default is infinite.
workers (optional) - Specifies on which workers this stage should actively run. The result set is intersection of specified workers, groups and roles. Default is all workers.