You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by jmeter tea <jm...@gmail.com> on 2018/01/21 07:47:01 UTC

char function examples

Hi

In char function examples
http://jmeter.apache.org/usermanual/functions.html#__char

There are wrong examples with 2 parameters instead of one which doesn't
work in Function Helper:

"Examples:
${__char(13,10)} = ${__char(0xD,0xA)} = ${__char(015,012)} = CRLF "

Re: char function examples

Posted by Felix Schumacher <fe...@internetallee.de>.

Am 21. Januar 2018 08:47:01 MEZ schrieb jmeter tea <jm...@gmail.com>:
>Hi
>
>In char function examples
>http://jmeter.apache.org/usermanual/functions.html#__char
>
>There are wrong examples with 2 parameters instead of one which doesn't
>work in Function Helper:
>
>"Examples:
>${__char(13,10)} = ${__char(0xD,0xA)} = ${__char(015,012)} = CRLF "

So either the examples are wrong, or function helper can't figure out, how to use the char function. 

The char function implementation is probably missing information about the possible number of parameters. 

Regards, 
 Felix 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org