Emulating users with iterations
Many of the security scenarios establish a session with the server. For example, every scenario that uses WS-SecureConversation establishes a server session. This session is established when the first operation is executed and ends when the script is finished. By default, VuGen closes all sessions after each iteration and opens them again when the next iteration begins. This implies that every iteration simulates a new session and Vuser.
When working with multiple iterations, this may not be the required effect—you may prefer to keep the original session active and not open a new session for each iteration. This applies when load testing through Controller or when setting multiple iterations in the runtime settings.
You can override this behavior so that only the first iteration establishes a new session, while all subsequent ones continue to use the open session. This simulates a user who repeatedly performs an action using the same session.
To determine which simulation mode to use, choose the one which is most appropriate to what you are simulating. For example, if you are simulating a load test where most of the actions are performed repeatedly by the same user in a single session, use the above configuration. If you are unsure, leave the default settings.