JMeter __machineName 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 machineName function returns the local host name. This uses the Java method InetAddress.getLocalHost() and passes it to getHostName()
| Name | Required | Description |
|---|---|---|
| Variable Name | No | A reference name for reusing the value computed by this function. |
Examples:
\${__machineName()}will return the host name of the machine
\${__machineName}will return the host name of the machine