rob_wilkerson
11 years agoNew Contributor
[LoadUIWeb 2.99] Load test as multiple authenticated users
A client has made a request and I have absolutely no idea how to fulfill it and, to be honest, it sounds impossible to my ear, though I'm no load testing expert.
The client has an app with no anonymous users. Everything happens behind a login screen and they would like to load test several processes that occur behind that login screen. The, um, challenge is that the process would have to be executed by different users. For example, this is an enrollment process. We'd have to be able to throw 50, 100, 500 or even 1000 different users at the process. We can't record a script and just execute that script as 1000 users executing that precise script. In fact, the login itself only allows 1 active session by any given authenticated user. Any previous open session is immediately closed the moment the next login by that same user is authenticated.
Is it even possible to do something like this? If so, can anyone offer any help with respect to how I might configure it? I haven't found anything yet, but the search phrases are kind of ambiguous so I may be missing the signal for the noise.
Any insight would be much appreciated.
The client has an app with no anonymous users. Everything happens behind a login screen and they would like to load test several processes that occur behind that login screen. The, um, challenge is that the process would have to be executed by different users. For example, this is an enrollment process. We'd have to be able to throw 50, 100, 500 or even 1000 different users at the process. We can't record a script and just execute that script as 1000 users executing that precise script. In fact, the login itself only allows 1 active session by any given authenticated user. Any previous open session is immediately closed the moment the next login by that same user is authenticated.
Is it even possible to do something like this? If so, can anyone offer any help with respect to how I might configure it? I haven't found anything yet, but the search phrases are kind of ambiguous so I may be missing the signal for the noise.
Any insight would be much appreciated.
- Hi Rob,
Assuming that we are talking about load test of the web application, the task that you have should be the 'doable' one.
What you will need, is to:
-- create a (login) scenario for one user;
-- generate a set of users and their corresponding passwords (most probably, you'll have to register those users in the tested system after they are generated, but this can be automated using, for example, the TestComplete tool (http://smartbear.com/products/qa-tools/automated-testing-tools/, http://smartbear.com/products/qa-tools/automated-testing-tools/web-ria-testing/web-testing-with-testcomplete/));
-- parameterize the recorded scenario, so it uses the login credentials from the generated set instead of the recorded ones (http://support.smartbear.com/viewarticle/64798/);
-- create a test that will simulate the recorded scenario for the required number of simultaneous concurrent users.
Video from http://support.smartbear.com/screencasts/loadcomplete might appear to be useful for you as well.