On Tue, Apr 17, 2012 at 3:01 PM, niraj <[email protected]> wrote:
> Hello All, > > I am to trying to achieve concurrency in following scenario. Can someone > please help me how i can do that with using Jmeter? > > I have script where Users logs in and click on search page. Then user will > enter search string (word) in the field and click on search button. > > Now i want all 5 users to hit search button at the same time. For that i > have added Synchronization timer as a child element to the search button > request. > > When i schedule test for 10 users, i have mentioned 5 users in > Synchronizing > timer. In this case i should get the concurrency of 5 users? Rest 5 users > search request will be simultaneous request? > The synchronising timer ensures that some of your threads will wait at that particular step until enough threads synchronize. By enough threads, I mean 5 in your case. Now, I can answer your question, the other threads will go about their business, until reaching the step with the syncronizing timer. When they reach that point they also have to wait until enough threads have synchronized. All threads will execute the step with this timer only if and when there are 4 other threads at this point as well. Its pretty basic, use it, play with the settings, use a listener with a small scenario and you'll understand how it works. > > Please correct me if i am doing and my understanding is wrong. And if there > is another way to achieve concurrency in Jmeter, please let me know. T > > his is how my script looks like: > > Thread group > - Login > - Search > - Synchronization timer (Child element) > - Logot > > Also for login scenario, If i want to achieve concurrency, Should i add all > the dependent request for Login page in one Transaction controller and > Synchronization timer as child element to the transaction controller? > Please > suggest. > > Thanks, > Niraj > > -- > View this message in context: > http://jmeter.512774.n5.nabble.com/Generate-Concurrent-user-load-tp5646401p5646401.html > Sent from the JMeter - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
