Re: Global counter

2011-08-19 Thread Adrian Speteanu
With long ramp ups, I often use Test Action (pause = x seconds - whatever I need) and / or a thread synchronizing timer as child to the test action so that the actions of each thread don't decay too much between themselves. For "global counter", consider using the beanshell to imp

Re: Global counter

2011-08-18 Thread sebb
ent via the __counter() > function. > But this was also not giving me a global counter. > > The tested environment requires a long ramp-up period and I want to > avoid that the "early starters" are already terminated before the > ramp-up is completed. > That I wanted to achi

Re: Global counter

2011-08-18 Thread Heinz Drews
Hello, because I was using the global option I was expecting that one instance of the counter was used. I tried to place the CounterConfig as global element outside the ThreadController and then tried to increment via the __counter() function. But this was also not giving me a global counter

Re: Global counter

2011-08-18 Thread Adrian Speteanu
Hi, According to the position of the counter, this is expected behaviour - you are getting the value of the counter as you can use it (if you need the max value of the counter at any time, I don't think this is how you want to approach this). You place the counter as child to the thread group as y

Global counter

2011-08-18 Thread Heinz Drews
Hello, I'm using a global CounterConfig which is incremented once per thread. For testing I use following simple Testplan: ThreadGroup (Threads 10) +OnceOnlyController ++CounterConfig (Start 1, Increment 1, ref TC) +DebugSampler +WhileController ++DebugSampler The DebugSampler inside the WhileCo