Cool..

-Prasanna

On Fri, May 28, 2010 at 7:03 PM, kryll <[email protected]> wrote:

>
> I managed with this problem in such way:
>
> ${__jexl(Systemclass=log.class.forName("java.lang.System");
> Stringclass=log.class.forName("java.lang.String");
> now=Stringclass.valueOf(Systemclass.currentTimeMillis()).substring(2);)}
>
>
> prasanna bhat wrote:
> >
> > U can use javascript language in BSF post/pre processors/samplers also
> > Java
> > in Bean Shell Sampler.
> >
> > Thanks,
> > Prasanna
> >
> > On Fri, May 28, 2010 at 2:20 PM, kryll <[email protected]> wrote:
> >
> >>
> >> Hello
> >>
> >> I have such problem. I use __time function and get current time in ms
> >> (1275035662333 for instance). But I'm interested just in the last 11
> >> digits
> >> of this number. Could you help me, how can I get this substring?
> >>
> >> Thanks a lot!
> >> --
> >> View this message in context:
> >>
> http://old.nabble.com/How-to-get-substring-function-in-jMeter-tp28704298p28704298.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]
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/How-to-get-substring-function-in-jMeter-tp28704298p28706978.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]
>
>

Reply via email to