jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Mouawad <philippe.moua...@gmail.com>
Subject Re: counter function bug
Date Fri, 30 Sep 2011 07:34:22 GMT
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.

Regards
Philippe
On Fri, Sep 30, 2011 at 8:16 AM, Nermin CALUK <nermin@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:shettyd@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-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>


-- 
Cordialement.
Philippe Mouawad.

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