1. Home
  2. Docs
  3. Configuration Basics
  4. Usage
  5. Variables

Variables

Configuration variables permit to refer to external values.

Jeyzer will resolve variable values by looking first at Java system properties and then at ambient environment variables.

If the variable is not found, the configuration field value will be set with its variable name and a resolution warning will appear in the log.

Variable syntax is : ${VARIABLE_NAME}
Variable encapsulation is possible : ${TEST_${SOME_VERSION}}

Configuration variable examples :

<recording period="${JEYZER_RECORD_PERIOD}" directory="${JEYZER_RECORD_DIRECTORY}" file="${JEYZER_RECORD_FILE}">