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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
>>> >> >> For additional commands, e-mail:
>>> [EMAIL PROTECTED]
>>> >> >>
>>> >> >>
>>> >> >
>>> >> >
>>> ---------------------------------------------------------------------
>>> >> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> >> > For additional commands, e-mail:
>>> [EMAIL PROTECTED]
>>> >> >
>>> >> >
>>> >> >
>>> >>
>>> >> --
>>> >> 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: [EMAIL PROTECTED]
>>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>>> >>
>>> >>
>>> >
>>> > ---------------------------------------------------------------------
>>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> > For additional commands, e-mail: [EMAIL PROTECTED]
>>> >
>>> >
>>> >
>>>
>>> --
>>> 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: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>
>
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]