JMeter __escapeXml 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.
Function which escapes the characters in a String using XML 1.0 entities.
For example,
\${__escapeXml("bread" & 'butter')}returns:
"bread" & 'butter'.
Uses StringEscapeUtils#escapeXml10(String) from Commons Lang.
| Name | Required | Description |
|---|---|---|
| String to escape | Yes | The string to be escaped. |