Hello Have you tried using the synchronising timer? From what I read in your description that should solve the problems. Otherwise it might be worthwhile having two thread groups that execute one after the other. This can be manipulated at the thread group level.
Regards Oliver -----Original Message----- From: Saverio Locane [mailto:[EMAIL PROTECTED] Sent: Friday, 11 May 2007 05:14 To: JMeter Users List Subject: Sincrhonize loop thread problem. Hellow. I need that each cycle of a thread to be started when the all n users of this thread finished, because de application verify that the user is not using de the application. Example I have 10 users in the thread, and the tread has a loop of 2, when a one of them (10) finish, JMeter launch a new one, but this is not the same user that finish, this is a one that until not finished, then the application refused this thread and cancel the user that was working. To resolve this I did the follow: Thread Empresa 1 Nº threads = 10, Ram up = 1, Loop = 1 Loop Counter ---> 2 Constant Timer ----> this is my ram up Http Cookie Manager Count ---> user 1 to 10 Login Logout Constant Timer ----> 30000 ms, I have to charge a value very important so this execute without problems. In the almost all cases this function well but not in all, there are someone that they aborts. How I can resolve this problem??? Thank. My english is not very good and I hope that you undestand me. En castellano. Lo que necesito es lograr que el thread no me dispare un nuevo usuario o loop hasta que todo los usuarios involucrados en un loop anterior hallan terminado, ya que cuando comienza un nuevo loop el Jmeter me dispará un usuario y a veces, ese usuario es uno de los que se disparó en el loop anterior y todavía no hizo el logout. Probé utilizando diferentes comandos que tiene el JMeter pero con ninguno logré ese efecto. Por ahora he logrado hacerlo con el loop counter y un wait de 30 segundos o mas, pero de esta forma existen baches bastantes importantes donde no ocurren concurrencias o no hay usuarios simultaneos ejecutando. Por otro lado no siempre funciona, algunas veces se dispará un nuevo loop del thread y todavía hay usuarios que no terminaron de hacer el logout en el loop anterior. Pero al menos no tengo tantas cancelaciones como cuando no tenía el loop counter y el constant timer. Esto se debe a que la aplicación controla que el usuario no puede tener 2 sesiones en la web, si lo encuentra, mata la que esta ejecutando, pero también mata la que esta entrando. Saludos. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]