Forum Discussion

Mathur's avatar
Mathur
Occasional Contributor
14 years ago

Multiple users, simultaneous login

How can one test the logging in functionality when multiple users log in at the same time?



Thank you.
  • Mathur's avatar
    Mathur
    Occasional Contributor
    Hi again,



    Does anyone know whether this is possible with TestComplete?



    Thanks.
  • Mathur's avatar
    Mathur
    Occasional Contributor
    Hi Allen,



    There could be multiple versions of this question.



    Its not exactly an error but we need to simulate this requirement in a test case that when multiple users log in to the system at the exact same time ( like in the same millisec or so), they should be able to do that . Or, when different people try to use the same user name, they shouldnt be allowed to. Or, when one user is already logged in in one machine, noone else should be able to log in with the same user.



    These are just a few possibilities for a test scenario, with which we can make multiple test cases. But the main clause here is to, ' how to simulate two different logins at the same time'. Do one need multiple systems or virtual machines?



    I hope I was able to clarify it a little more. Should you need more info, please let me know.



    Thank you.



    Best Regards,

    Shalabh.

  • Hi Shalabh,





    There are two plug-ins in TestComplete: the HTTP Load Testing plug-in and Network Suite plug-in.





    The first allows you to test client-server applications that communicate using HTTP or Secure HTTP. TestComplete emulates up to 300 virtual users on each computer involved in testing. If you are interested in this approach, please read the "Load Testing - Overview" (http://www.automatedqa.com/support/viewarticle.aspx?aid=12628) help topic - it includes links to other help topics.





    The second plug-in performs distributed testing of the server application through the GUI of a number of client applications. You can simulate as many users as many computers are involved in the testing process: the client application will be launched on each computer and the script on the master machine will control activity of every client. Please see the "Distributed Testing" (http://www.automatedqa.com/support/viewarticle.aspx?aid=12315) topic of the help system for details.





    Also, please see the following pages for more information:

    http://automatedqa.com/products/testcomplete/tc_distributed_testing.asp

    http://www.automatedqa.com/support/viewarticle.aspx?aid=8805