Synchronizing users in tests
By inserting a synchronization point, you can coordinate
the activities of a number of virtual users by pausing and resuming
activities. You can synchronize all virtual users at the beginning
of a test and stagger the release times so that the users do not overload
the system. Synchronization points are also useful in stress testing.
About this task
- You must control where the synchronization point is encountered. For example, you can insert a synchronization point just before a test sends a request to a server.
- You have edited a test, and the execution of a synchronization point depends on the logic that you have added.
Synchronization points within loops are not reset. In other words, after a synchronization point has been released (in the first iteration of a loop), the synchronization point stays released for all further iterations.
Procedure
To insert a synchronization point into a test: