You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by vineeth <vi...@spi.com> on 2011/11/14 14:43:10 UTC

Synchronizing Timer Issue

Hi All

I am using synchronizing timer in my test. Suppose I have 10 vusers then 2
vuser threads are not getting executing. JMetre diplays 2/10 in the
rightmost corner of JMeter window. All the samples preceding the sample to
which I have added synchronizing timer as a child are executed correctly.Two
vuser threads are not executed for the sample to which I have added
synchronizing timer as a child and also all the samples past it.

I am using JMetre 2.5.

Thanks in advance
Vineeth

--
View this message in context: http://jmeter.512774.n5.nabble.com/Synchronizing-Timer-Issue-tp4990784p4990784.html
Sent from the JMeter - User mailing list archive at Nabble.com.

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


Re: Synchronizing Timer Issue

Posted by Philippe Mouawad <ph...@gmail.com>.
Hello,
You shoud try your test with last trunk build, issue is fixed, see:

   - https://issues.apache.org/bugzilla/show_bug.cgi?id=52185
   -

   https://issues.apache.org/bugzilla/show_bug.cgi?id=51733



Regards
Philippe

On Tue, Nov 15, 2011 at 7:41 AM, vineeth <vi...@spi.com> wrote:

> Hi Oliver
>
> 'Number of Simulated Users to Group by' provided is a FACTOR of the count
> of
> threads (users). Forgot to mention that earlier.
>
> Today I tried running the test again and it ran fine. Its not replicating
> the issue. But as you said there is an odd bug with this synch timer.
>
> Thanks a lot for your reply.
>
> --
> View this message in context:
> http://jmeter.512774.n5.nabble.com/Synchronizing-Timer-Issue-tp4990784p4993528.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>


-- 
Cordialement.
Philippe Mouawad.

Re: Synchronizing Timer Issue

Posted by vineeth <vi...@spi.com>.
Hi Oliver

'Number of Simulated Users to Group by' provided is a FACTOR of the count of
threads (users). Forgot to mention that earlier.

Today I tried running the test again and it ran fine. Its not replicating
the issue. But as you said there is an odd bug with this synch timer.

Thanks a lot for your reply. 

--
View this message in context: http://jmeter.512774.n5.nabble.com/Synchronizing-Timer-Issue-tp4990784p4993528.html
Sent from the JMeter - User mailing list archive at Nabble.com.

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


Re: Synchronizing Timer Issue

Posted by Oliver Lloyd <ol...@hotmail.com>.
The 'Number of Simulated Users to Group by' must be a FACTOR of the count of
threads (users) in the relevant Thread Group. That's a given, without this
you will always get the behaviour you describe - without any kind of timeout
feature this is logical and easily solved by ensuring a factor or the user
count is used. 

But. I think there is an odd bug here where the first grouping of users is
sometimes too low. It's proper intermittent, sometimes it happens, sometimes
not, so I can only surmise it is related to the timestamp and maybe some
sort of rounding error?

Try:

Thread Group - 12 Users, 16 Sec Ramp Up, 1 Iteration
--Dummy Sampler
----Synch Timer - Group By 3 (3 is a factor of 12)

About 50% of the time when I run this, the 1st group to get fired off in
synch is only composed of 2 users, not 3. This results in one poor orphan
user waiting for some friends to come along and the test does not terminate.
The rest of the time each synch group is correctly made up of 3 users and
the test completes cleanly so it's not a disaster but anyone aiming for more
complex control with this Timer might fall prey to this problem.

Can't see any other relevant defects on this so I raised 
https://issues.apache.org/bugzilla/show_bug.cgi?id=52185 Bug 52185 . 


-----
http://www.http503.com/
--
View this message in context: http://jmeter.512774.n5.nabble.com/Synchronizing-Timer-Issue-tp4990784p4992715.html
Sent from the JMeter - User mailing list archive at Nabble.com.

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