JMeter __evalVar function reference: syntax, parameters, and practical examples for parameterizing test plans with dynamic values.
Also documented in context in the full Functions and Variables reference.
The evalVar function returns the result of evaluating an expression stored in a variable.
This allows one to read a string from a file, and process any variable references in it.
For example, if the variable “query” contains “select \${column} from \${table}”
and “column” and “table” contain “name” and “customers”, then \${__evalVar(query)}
will evaluate as “select name from customers”.
| Name | Required | Description |
|---|---|---|
| Variable name | Yes | The variable to be evaluated. |