JMeter __char 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 char function returns the result of evaluating a list of numbers as Unicode characters.
See also __unescape(), below.
This allows one to add arbitrary character values into fields.
| Name | Required | Description |
|---|---|---|
| Unicode character number (decimal or 0xhex) | Yes | The decimal number (or hex number, if prefixed by 0x, or octal, if prefixed by 0) to be converted to a Unicode character. |
Examples:
\${__char(13,10)} = \${__char(0xD,0xA)} = \${__char(015,012)} = CRLF
\${__char(165)} = ยฅ (yen)