jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jmeter Tea <jmeter...@gmail.com>
Subject Re: Place holder for function execution / Variables evaluation
Date Thu, 15 Nov 2018 11:37:23 GMT
IMHO It's a great and important enhancement (long time coming)

On Thu, Nov 15, 2018 at 11:10 AM Philippe Mouawad <
philippe.mouawad@gmail.com> wrote:

> Hello All,
> Any thoughts on this ?
>
> Thanks
>
> On Mon, Nov 12, 2018 at 1:03 PM Philippe Mouawad <
> philippe.mouawad@gmail.com>
> wrote:
>
> > I intended to add a new Panel (Evaluate Variables) with:
> >
> >    - A radio box : Evaluate Variables
> >    - And a  User Defined Variables Table
> >
> >
> >
> > On Mon, Nov 12, 2018 at 12:56 PM Andrey Pokhilko <apc4@ya.ru> wrote:
> >
> >> Can you give a mock of how you envision it implemented in Flow Control
> >> Action?
> >>
> >> --
> >>
> >> Andrey Pokhilko
> >>
> >> 12.11.2018 14:50, Philippe Mouawad пишет:
> >> > Thanks for information.
> >> > I feel this behavior should be in core.
> >> >
> >> > To avoid another element, I think updating Flow Control Action is a
> good
> >> > candidate as it’s a sample about jmeter internals.
> >> >
> >> > Thoughts?
> >> >
> >> > Regards
> >> >
> >> > On Monday, November 12, 2018, Andrey Pokhilko <apc4@ya.ru> wrote:
> >> >
> >> >> Hi,
> >> >>
> >> >> There's already a plugin for that:
> >> >> https://jmeter-plugins.org/wiki/SetVariablesAction/
> >> >>
> >> >> It is exactly a sampler that is used to evaluate functions/variables.
> >> >>
> >> >> --
> >> >>
> >> >> Andrey Pokhilko
> >> >>
> >> >> 11.11.2018 20:53, Philippe Mouawad пишет:
> >> >>> Hello,
> >> >>> Frequently when using JMeter functions, users don't really know
for
> >> >> certain
> >> >>> use cases where to put the function, here are few examples:
> >> >>>
> >> >>>    - Any function which output will not be used directly by sample
> >> >>>    parameters
> >> >>>    - Such type of functions:
> >> >>>       - https://jmeter-plugins.org/wiki/InterThreadCommunication/
> >> >>>    - you want to create a variable from the output of a function
and
> >> >> update
> >> >>>    it on each iteration:
> >> >>>       - User Defined Variable is not an option as evaluation occurs
> on
> >> >>>       start of test
> >> >>>       - User Parameters being a preprocessor, it would be evaluated
> on
> >> >> each
> >> >>>       call, so you need to nest it inside a Flow Control Action,
not
> >> very
> >> >>>       intuitive right ?
> >> >>>
> >> >>> I also remember when I started using JMeter that I found this part
> >> >>> counter-intuitive.
> >> >>>
> >> >>> I think it would be nice to have a solution for this, that would
> >> evaluate
> >> >>> the variables/functions exactly at the place where the call is
> present
> >> >> and
> >> >>> without generating any SampleResult.
> >> >>>
> >> >>> We could implement this:
> >> >>>
> >> >>>    - as an enhancement to Flow Control Action
> >> >>>    - as a new Sampler
> >> >>>
> >> >>> What's your thoughts on this ?
> >> >>>
> >> >>> Regards
> >> >>>
> >> >
> >>
> >
> >
> > --
> > Cordialement.
> > Philippe Mouawad.
> >
> >
> >
>
> --
> Cordialement.
> Philippe Mouawad.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message