JMeter __isVarDefined 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 __isVarDefined function returns true if variable exists or false if not.
| Name | Required | Description |
|---|---|---|
| Variable Name | Yes | The Variable Name to be used to check if defined |
Example:
\${__isVarDefined(JMeterThread.last_sample_ok)}will return true