View on GitHub


Benchmarking framework for data grids and distributed caches

Properties and evaluations


There are several properties available for configuration file to use. All properties are accessed by using $, a dollar sign, and providing property name inside braces - ${PROPERTY_NAME}. Default value for a property can be set by adding the : colon and default value between property name and the last brace - ${PROPERTY_NAME:DEFAULT_VALUE}.

Most properties are resolved during execution on slave (as opposed to initial parsing on master) and many of them refer to current status on that slave as per their individual comments below.

Custom properties can also be specified trough the define stage in the scenario.

Properties example

    <setup group="server" plugin="infinispan80" >
      <server xmlns="urn:radargun:plugins:infinispan80:3.0" file="${env.ISPN_CONFIG:server.xml}" jmx-domain="jboss.datagrid-infinispan">

This configuration setup element will use ISPN_CONFIG environment variable as path to config file or default to “server.xml” if not available. It will also use ISPN_HOME system property as path to Infinispan home folder with no default value.

Following properties are available:


It is possible for configuration parser to evaluate expressions. The evaluation is triggered by using #, hashtag or octothorpe sign, the expression itself can contain properties and has to be enclosed in braces.

Following operations are available:

Following list opeartions are availabe:

Following characters can also be evaluated:

Simple expressions


This expression will add 2 and 2.



This can also be done.

Complex expression

#{gcd(${cluster.size}+1, ${cluster.maxSize})}

This expression will retrieve greatest common divisor between maximum cluster size and current cluster size + 1.