Monday, July 8, 2013

Rendezvous Point In jmeter?



Rendezvous Point: Rendezvous point instruct VUsers to wait during test execution for multiple VUsers to arrive at a certain point, in order that they may simultaneously perform a task.

Rendezvous Point In jmeter:
By Using “Synchronizing Timer” we can overcome this problem.

Ex: We have a Scenario like Login into the Site doing some actions like booking the tickets and Sign-out from the site. So we want hit the Sever with large no.of Users at this Point “Booking the tickets”. We need to add “Synchronizing Timer” before the request. So that it will capture all the users at this point and released that users simultaneously on the Server. 

Process of adding Rendezvous Point in J meter: 

·         Add the Thread group to your Test plan mention Vuser count as”100”.


·         Add HTTP Request – Let’s hit http://www.google.com with 100 users.


·         Synchronizing Timer - Add this timer and enter '25' as the number of virtual users we want to send request to the server simultaneously.

·         View Result Tree - Use this listener to monitor the performance of the application.

·         Aggregate Report - Use this listener to see the overall performance.

        
     NOTE:Number of threads in the Thread Group should always be greater than the 'Number of Simultaneous Users to Group By' to make sure that Jmeter doesn't throw any unhandled exception.