On 13/10/2009, Circle Computers <[email protected]> wrote:
>
>
>  -- You can use the BSF or BeanShell pre-processors to call any Java
>
> -- function you like, and save the converted result in a variable.
>
>
> Hi, yes I already use __javaScript widely although the javaScript does not
>  seem to be suitable for base64 encoding

A quick web search gave me lots of JavaScript Base64 implementations.

>  , jexl & benshell maybe but I cannot
>  seem to find any examples that I can map to the Base64 situation, if you
>  have an example of a scenario where you have called a Java function (not
>  necessarilt base64 I think I could work on from that.

vars.put("now")=System.currentTimeMillis();

is a simple example of setting a variable in BeanShell.

>  GT
>
> --
>  View this message in context: 
> http://www.nabble.com/Encode-HTTP-QueryString---Post-Data-to-Base64-tp25868105p25870051.html
>
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  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