2008/5/4 anneb <[EMAIL PROTECTED]>:
> >  >
>  >  >  >  >  Is there a working sample around that does some variable 
> arithmetic
>  >  >  >  >  wile iterating through a control loop?
>  >  >  >
>  >  >  >  Try using the User Parameters Pre-Processor instead; that will run
>  >  >  >  before every sample in scope.
>  >  >  >
>  >  >  >  Or use the functions on the samplers directly.
>  >  >  >
>  Thanks, I succeeded creating nested loops with multi-variable
>  arithmetic using the ${__javaScript()} function in the User Parameters
>  Pre-Processor.
>
>  I did run into another issue though. I took me at least an hour or so
>  to discover that it is not allowed to have a trailing space in the
>  Loop Count field of the Loop Controller. If a trailing space is added,
>  the Loop Count field is treated as if it contains a zero. (JMeter
>  2.3.1, java.version=1.6.0_03, os.name=Linux, os.arch=i386,
>  os.version=2.6.22-14-generic)
>

Yes, this is a problem as of course they are not visible, and standard
Java number parsing does not like them.

I suppose it might be worth considering trimming number fields before
use, but there are quite a lot of them...

>  Thanks for updating the documentation and fixing multiple use of the
>  BSF sampler by Javascript. Will these fixes be part of the next
>  version?
>

Yes.

>  Does this list accept file attachments? If so, I would be happy to
>  attach the simplified .jmx file to hear if there are any obvious
>  improvements to be made and so that others can use it as a starting
>  point for other tests like mine.
>

No, the mailing list tends to drop attachments - anyway please don't.
Samples would be better uploaded to the Wiki.

But if you send me a copy privately, I can take a look before it is
posted anywhere.


>
>  ---------------------------------------------------------------------
>  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