OK, thanks.  For future reference, this does it:

${__javaScript('${MyVar}'.toString(16))}

or to get the hex in upper case do this:

${__javaScript('${MyVar}'.toString(16).toUpperCase())}



-----Original Message-----
From: sebb [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 06, 2007 4:24 AM
To: JMeter Users List
Subject: Re: Hex format

JMeter has functions

http://jakarta.apache.org/jmeter/usermanual/functions.html

for calling scripts in the following languages:

Javascript (Mozilla RhinoScript)
Commons Jexl
Beanshell

Take your pick ...

On 05/09/07, Mark McWhinney <[EMAIL PROTECTED]> wrote:
>
> I need to generate some numbers in hex format.  Is there a built-in
function
> to do so?
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to