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