jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: If "label" == "start", do this assertion
Date Tue, 08 Jan 2008 12:31:40 GMT
On 08/01/2008, icet <icetbr@yahoo.com.br> wrote:

Your posts are appearing twice ...

>
> Multiple columns? That DOES require a loop controller, can't see how it
> doesn't. Anyway, I got it working the way Iwant it, however, there is
> another issue.

CSV Dataset is intended for use with CSV files which have one or more
(i.e. multiple) columns. No need for a loop.

> I can't use "User Defined Variables' like
> Name           Value
> p                 ${p1}
>

That should work if p1 is defined at the time the UDV is processed.

> Jmeter doesn't evaluate {$p1} :-(

Of course not - it's not valid syntax.

>
> Tryed also ${__V(${p1})}
>
> I's working fine without this element, but its uglier. Instead of using ${p}
> I have to use ${__V(p${count})}
>
>
>
> sebb-2-2 wrote:
> >
> > On 08/01/2008, icet <icetbr@yahoo.com.br> wrote:
> >>
> >> Humm, I guess you're right. Thanks for the help.
> >>
> >> Anywaw, as an alternative to solve my problem, I can group a sequence of
> >> 10
> >> samplers, and then repeat them "n" times. The problem now is, each
> >> sampler
> >> uses a different variable form a CSV files. So, if I use a loop
> >> controller,
> >> how could I say "iteration 1 use ${p1}, iteration 2 use ${p2} ..." ?
> >> BeanShell again? :-D
> >>
> >
> > No, just use CSV Dataset with the appropriate number of columns.
> >
> >>
> >> sebb-2-2 wrote:
> >> >
> >> > Assertions are only run if there is a sampler in scope, so even if the
> >> > If Controller had access to the sampler label, it would need the
> >> > sampler to be its child anyway.
> >> >
> >> > On 08/01/2008, icet <icetbr@yahoo.com.br> wrote:
> >> >>
> >> >> Yeah, I though of that. I'd rather a more simple approach, since I'm
> >> >> paving
> >> >> the way for non-programmers here to use jmeter as well.
> >> >>
> >> >>
> >> >> sebb-2-2 wrote:
> >> >> >
> >> >> > Just had a thought - if you are able to code in Java, you could
use
> >> a
> >> >> > BeanShell Assertion.
> >> >> >
> >> >> > On 07/01/2008, icet <icetbr@yahoo.com.br> wrote:
> >> >> >>
> >> >> >> Yeah, that's the problem. I have dozens of those, mixedin
with
> >> others.
> >> >> >> There
> >> >> >> is no way to group them without breaking their order :-(
> >> >> >>
> >> >> >>
> >> >> >> sebb-2-2 wrote:
> >> >> >> >
> >> >> >> > I don't think that's possible.
> >> >> >> >
> >> >> >> > Just add the assertion as a child of the "start" sampler.
> >> >> >> >
> >> >> >> > On 07/01/2008, icet <icetbr@yahoo.com.br> wrote:
> >> >> >> >>
> >> >> >> >> How can achieve this outcome? I can use a If controller,
but how
> >> do
> >> >> I
> >> >> >> >> javascript access the sampler label?
> >> >> >> >>
> >> >> >> >> thanks
> >> >> >> >> --
> >> >> >> >> View this message in context:
> >> >> >> >>
> >> >> >>
> >> >>
> >> http://www.nabble.com/If-%22label%22-%3D%3D-%22start%22%2C-do-this-assertion-tp14674427p14674427.html
> >> >> >> >> Sent from the JMeter - User mailing list archive
at Nabble.com.
> >> >> >> >>
> >> >> >> >>
> >> >> >> >>
> >> >> ---------------------------------------------------------------------
> >> >> >> >> To unsubscribe, e-mail:
> >> jmeter-user-unsubscribe@jakarta.apache.org
> >> >> >> >> For additional commands, e-mail:
> >> >> jmeter-user-help@jakarta.apache.org
> >> >> >> >>
> >> >> >> >>
> >> >> >> >
> >> >> >> >
> >> >> ---------------------------------------------------------------------
> >> >> >> > To unsubscribe, e-mail:
> >> jmeter-user-unsubscribe@jakarta.apache.org
> >> >> >> > For additional commands, e-mail:
> >> jmeter-user-help@jakarta.apache.org
> >> >> >> >
> >> >> >> >
> >> >> >> >
> >> >> >>
> >> >> >> --
> >> >> >> View this message in context:
> >> >> >>
> >> >>
> >> http://www.nabble.com/If-%22label%22-%3D%3D-%22start%22%2C-do-this-assertion-tp14674427p14678936.html
> >> >> >> Sent from the JMeter - User mailing list archive at Nabble.com.
> >> >> >>
> >> >> >>
> >> >> >>
> >> ---------------------------------------------------------------------
> >> >> >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >> >> >> For additional commands, e-mail:
> >> jmeter-user-help@jakarta.apache.org
> >> >> >>
> >> >> >>
> >> >> >
> >> >> >
> >> ---------------------------------------------------------------------
> >> >> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >> >> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >> >> >
> >> >> >
> >> >> >
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >> http://www.nabble.com/If-%22label%22-%3D%3D-%22start%22%2C-do-this-assertion-tp14674427p14679938.html
> >> >> Sent from the JMeter - User mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >> >> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >> >>
> >> >>
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >> >
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >> http://www.nabble.com/If-%22label%22-%3D%3D-%22start%22%2C-do-this-assertion-tp14674427p14687335.html
> >> Sent from the JMeter - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
> >
>
> --
> View this message in context: http://www.nabble.com/If-%22label%22-%3D%3D-%22start%22%2C-do-this-assertion-tp14674427p14688077.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message