I have searched this site and looked at help and can't seem to understand what this function SYNCHRONIZE does ...
The attached is from the help doc...
but I don't see when the pause happens? is this used for time interval value interpretation? Pacing? anything else?
Excerpt from help:
"Pauses script execution on the virtual user until the Conductor tells it to continue.
Normal usage is to have all scripts synchronize when they have reached the point at which transaction processing is to begin. There can be only one SYNCHRONIZE command per script. "
I think the subtle difference between SYNCH and SYNCHRONIZE Is that SYNCH applies to "all virtual users for a particular script" where as SYNCHRONIZE applies to "all scripts." I haven't tested SYNCHRONIZE myself.
I've used SYNCH and as it states, "This function applies to virtual users that are already running. SYNCH does not apply to users who have not yet started the test." I believe that this applies to SYNCHRONIZE too and that is why you don't see the behavior when it is placed at the beginning of and outside the transaction loop. Try placing SYNCHRONIZE near the end and inside the transactin loop... [img]/images/graemlins/ooo.gif[/img]
A problem is a difference between what is perceived and what is desired, that
we want to reduce (Dewey 1933)
I did notice where I placed Synchronize ...depending on how much code is being executed before the begin transaction and the number of users it took noticibale time for users to start conducting transactions...just don't know what they syncing to?
I also tried to remove the statement all together and workbench froze trying to compile the script. So it is important for something.