You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by icet <ic...@yahoo.com.br> on 2008/01/07 20:51:08 UTC

If "label" == "start", do this assertion

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


Re: If "label" == "start", do this assertion

Posted by sebb <se...@gmail.com>.
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#BeanShell_Assertion

There's a sample you can try.

On 08/01/2008, icet <ic...@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. Anyway, if you have
> an idea on a BeanShell script, I'm all ears. Never used this in jmeter
> myself. I'd have to get the current sampler label (in my case this should be
> enough) and compare to a string. If you know how to do this, I'd appreciate
> the shortcut ;-P
>
>
> 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 <ic...@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 <ic...@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


Re: If "label" == "start", do this assertion

Posted by icet <ic...@yahoo.com.br>.
Aha, found it

${__V(A${N})} - works OK. A${N} becomes A1, and the __V function returns the
value of A1

Thanks again for all the help


icet wrote:
> 
> Humm, I guess you're right. Thanks for the help.
> 
> Anyway, 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 file. So, if I use a loop
> controller, how could I say "iteration 1 use ${p1}, iteration 2 use ${p2}
> ..." ? BeanShell again? :-D
> 
> 
> 
> 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 <ic...@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 <ic...@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 <ic...@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-tp14674427p14687617.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


Re: If "label" == "start", do this assertion

Posted by icet <ic...@yahoo.com.br>.
Ok, the thing is that its a big example, I posted too few information. Since
I achieved what I wanted, unless you'd like to get to the bottom of this,
I'm calling this finished :-)

Really appreciated you help!



sebb-2-2 wrote:
> 
> On 08/01/2008, icet <ic...@yahoo.com.br> wrote:
>>
>> Sorry about {$p1}, I meant ${p1}
>>
>> About the CSV Dataset, each line represents a thread, each column a
>> variable.
> 
> Agreed.
> 
>> I don't see the relationship you're making with column / iterations.
> 
> You wrote:
> 
> ... a sequence of 10 samplers, and then repeat them "n" times.
> 
> I took this to mean
> 
> Loop n
> + Sampler 1 using variable 1
> ...
> + Sampler 10 using variable 10.
> 
>> If I have a game with 10 questions, I want to issue 5 requests
>> per question, each of these requests will use a different variable. I use
>> ${p1}, ${p2}, ..."
>>
> 
> I don't understand what that means.
> 
>> This is My CSV (each number is an id)
>>
>> 10,20,34,48,56...
>> 12,34,45,67,78...
>> ...
>>
>> How can I get the value "10", then "20" any in any other way?
> 
> No idea, because I don't understand the samples you are trying to
> generate.
> 
>>
>>
>> sebb-2-2 wrote:
>> >
>> > On 08/01/2008, icet <ic...@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 <ic...@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 <ic...@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 <ic...@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 <ic...@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
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/If-%22label%22-%3D%3D-%22start%22%2C-do-this-assertion-tp14674427p14689418.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-tp14674427p14692213.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


Re: If "label" == "start", do this assertion

Posted by sebb <se...@gmail.com>.
On 08/01/2008, icet <ic...@yahoo.com.br> wrote:
>
> Sorry about {$p1}, I meant ${p1}
>
> About the CSV Dataset, each line represents a thread, each column a
> variable.

Agreed.

> I don't see the relationship you're making with column / iterations.

You wrote:

... a sequence of 10 samplers, and then repeat them "n" times.

I took this to mean

Loop n
+ Sampler 1 using variable 1
...
+ Sampler 10 using variable 10.

> If I have a game with 10 questions, I want to issue 5 requests
> per question, each of these requests will use a different variable. I use
> ${p1}, ${p2}, ..."
>

I don't understand what that means.

> This is My CSV (each number is an id)
>
> 10,20,34,48,56...
> 12,34,45,67,78...
> ...
>
> How can I get the value "10", then "20" any in any other way?

No idea, because I don't understand the samples you are trying to generate.

>
>
> sebb-2-2 wrote:
> >
> > On 08/01/2008, icet <ic...@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 <ic...@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 <ic...@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 <ic...@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 <ic...@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
> >
> >
> >
>
> --
> View this message in context: http://www.nabble.com/If-%22label%22-%3D%3D-%22start%22%2C-do-this-assertion-tp14674427p14689418.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


Re: If "label" == "start", do this assertion

Posted by icet <ic...@yahoo.com.br>.
Sorry about {$p1}, I meant ${p1}

About the CSV Dataset, each line represents a thread, each column a
variable. I don't see the relationship you're making with column /
iterations. If I have a game with 10 questions, I want to issue 5 requests
per question, each of these requests will use a different variable. I use
${p1}, ${p2}, ..."

This is My CSV (each number is an id)

10,20,34,48,56...
12,34,45,67,78...
...

How can I get the value "10", then "20" any in any other way?




sebb-2-2 wrote:
> 
> On 08/01/2008, icet <ic...@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 <ic...@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 <ic...@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 <ic...@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 <ic...@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
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/If-%22label%22-%3D%3D-%22start%22%2C-do-this-assertion-tp14674427p14689418.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


Re: If "label" == "start", do this assertion

Posted by sebb <se...@gmail.com>.
On 08/01/2008, icet <ic...@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 <ic...@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 <ic...@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 <ic...@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 <ic...@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


Re: If "label" == "start", do this assertion

Posted by icet <ic...@yahoo.com.br>.
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.

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

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

Tryed also ${__V(${p1})}



sebb-2-2 wrote:
> 
> On 08/01/2008, icet <ic...@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 <ic...@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 <ic...@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 <ic...@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


Re: If "label" == "start", do this assertion

Posted by sebb <se...@gmail.com>.
On 08/01/2008, icet <ic...@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 <ic...@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 <ic...@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 <ic...@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


Re: If "label" == "start", do this assertion

Posted by icet <ic...@yahoo.com.br>.
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



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 <ic...@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 <ic...@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 <ic...@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


Re: If "label" == "start", do this assertion

Posted by sebb <se...@gmail.com>.
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 <ic...@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 <ic...@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 <ic...@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


Re: If "label" == "start", do this assertion

Posted by icet <ic...@yahoo.com.br>.
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 <ic...@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 <ic...@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


Re: If "label" == "start", do this assertion

Posted by sebb <se...@gmail.com>.
Just had a thought - if you are able to code in Java, you could use a
BeanShell Assertion.

On 07/01/2008, icet <ic...@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 <ic...@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


Re: If "label" == "start", do this assertion

Posted by Noam Paz <no...@db.com>.
Hi,
the sampler label can be get via

${__BeanShell(Sampler.getName())}



Best regards / Viele Grüße


Noam Paz

Deutsche Bank Aktiengesellschaft mit Sitz in Frankfurt am Main, HRB Nr. 30 000 Amtsgericht Frankfurt am Main, Vorsitzender des Aufsichtsrates: Clemens Börsig, Vorstand: Josef Ackermann (Vorsitzender), Hugo Bänziger, Anthony Di Iorio, Hermann-Josef Lamberti, Umsatzsteuer ID Nr.: DE114103379


                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
             icet <ic...@yahoo.com.br>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
             08.01.2008 00:42                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              To 
                                                                                                                                                                                                                                                                                                                                                                                                                       jmeter-user@jakarta.apache.org                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           cc 
                                                                                                                                                                                                     Please respond to                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                   "JMeter Users List" <jm...@jakarta.apache.org>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               Subject 
                                                                                                                                                                                                                                                                                                                                                                                                                       Re: If "label" == "start", do this assertion                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              





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 <ic...@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



--

Informationen (einschließlich Pflichtangaben) zu einzelnen, innerhalb der EU tätigen Gesellschaften und Zweigniederlassungen des Konzerns Deutsche Bank finden Sie unter http://www.db.com/de/content/pflichtangaben.htm. Diese E-Mail enthält vertrauliche und/ oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.

Please refer to http://www.db.com/en/content/eu_disclosures.htm for information (including mandatory corporate particulars) on selected Deutsche Bank branches and group companies registered or incorporated in the European Union. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.


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


Re: If "label" == "start", do this assertion

Posted by icet <ic...@yahoo.com.br>.
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 <ic...@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


Re: If "label" == "start", do this assertion

Posted by sebb <se...@gmail.com>.
I don't think that's possible.

Just add the assertion as a child of the "start" sampler.

On 07/01/2008, icet <ic...@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