OpenSTA - Execute scripts without recording Login
I am having a web application where different functionality are there like Search Consumers, Add consumer, Delete Consumer etc. All these functionality require log in to the application. There is also a restriction that one user id can only have one session.
I have recorded a script only for Search user (30 Virtual users assigned) without recording Log in functionality. I have separate Log in script recorded (10 Virtual users assigned). Now in a Test, I am running both scripts concurrently. Can any body explain to me - Will OpenSTA execute 40 virtual users or just 10? I mean - Do OpenSTA simulates virtual users in each script by having uniqueness of users.
Please note: I do not want to use OpenSTA Mutex command to parameterize userids.
Re: OpenSTA - Execute scripts without recording Login
If you can run the search script without loging in, then you can indeed have 30 VUs each having a unique session on the server executing searches. If you have 10 seperate VUs running the login script, they you will have 10 more sessions (distinct from the 30 sessions running the search script) created. What the newly logged-in users are doing, you have not said. They will do whatever that VU is asked to do next (call script command, or next task in a task group).
Now given the fact that your login ids MUST be unique, you really do need to use data files or lists to parametrize the login with user names and passwords, and the most straight forward way to do so is using acquire mutex followed by NEXT statements followed by release mutex commands. I am not sure why you don't want to use Mutext commands, perhaps you have some fundamental misconception on how they work. Please explain why you are adverse to using a mutex to synchronize access to user name/password lists. This is similar to saying I want to travel the world, but I don't want to fly. You can do it, but be prepared for a long and complicated trip.