On 30 September 2011 16:04, sebb <seb...@gmail.com> wrote:
> On 30 September 2011 08:34, Philippe Mouawad <philippe.moua...@gmail.com> 
> wrote:
>> Hello,
>> I confirm this behaviour also exists in 2.5 and 2.5.1.
>> It may be a documentation issue or a real issue, I opened an issue for
>> clarification:
>>
>>   - https://issues.apache.org/bugzilla/show_bug.cgi?id=51923
>>
>>
>> As it is made I think counter will only change at each iteration.
>
> Yes, I think that's the case here.
>
> If a variable refers to a function, one would expect the variable to
> be evaluated once per iteration, so it can be used in multiple
> samples.

Sorry, ignore that; not really relevant here.

>> Regards
>> Philippe
>> On Fri, Sep 30, 2011 at 8:16 AM, Nermin CALUK <ner...@atlantbh.com> wrote:
>>
>>> Confirmed with JMeter 2.4 (confirming the behavior, it looks like a bug):
>>>
>>> - scenario below produces "1,1"
>>> - just increasing number of threads in the thread group also produces all
>>> ones "1,1,1,1"
>>> - 3 samplers, each containing the same function, loop 3 is
>>> "1,1,1,2,2,2,3,3,3"
>>> - one sampler loop 3 "1,2,3" (I guess this is expected behavior)
>>>
>>> Nermin
>>>
>>>
>>>
>>>
>>>
>>> -----Original Message-----
>>> From: Deepak Shetty [mailto:shet...@gmail.com]
>>> Sent: 30. septembar 2011 6:38
>>> To: JMeter Users List
>>> Subject: counter function bug
>>>
>>> per the documents
>>> The counter generates a new number each time it is called, starting with 1
>>> and incrementing by +1 each time.
>>> However
>>> ThreadGroup
>>> +${__counter(TRUE,ref)}HTTPSampler1
>>> +DebugSampler
>>> +${__counter(TRUE,ref)}HTTPSampler2
>>> +DebugSampler
>>> +View Results tree
>>>
>>> Generates the number 1 in both cases. Can someone confirm this is abug?
>>>
>>> regards
>>> deepak
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
>>> For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
>>>
>>>
>>
>>
>> --
>> Cordialement.
>> Philippe Mouawad.
>>
>

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

Reply via email to