2008/5/7 Steve Kapinos <[EMAIL PROTECTED]>:
> >>  I'd like to see a element that simply has a blank body where you can
>
>  >> enter blocks of code that jmeter will process line by line.  So if I
>
>  >> need to perform several lines of variable manipulation or
>  evaluations..
>  >>  Its readable, easy to enter, and makes sense to a new comer.
>
>
>  >Still not entirely sure I follow what you are requesting.
>
>  >Have you had a look at the various BeanShell elements?
>  >These allow arbitrary code to be entered.
>
>  Here's a good example... I'd like to use the __setProperty function to
>  write a value to a property so it can be reused by another
>  threadgroup... But I can't find a reasonable place to just execute the
>  function on it's own.
>
>  Basically anytime I just want to manipulate anything that is not a
>  sample or the previous response... its always confusing to figure out
>  where to put it.
>

Just put it in a test element that will be executed after the values
have been defined.

So it could be in a sampler name, or a comment or just about anywhere.

The only test element where it might not work as required is a Config
element, because these are processed at the start.

Try it and see; you can always use the __logn() function to experiment.

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