Beginner-Level Questions

4 posts, 1 answers
  1. Satpreet
    Satpreet avatar
    2 posts
    Member since:
    Aug 2016

    Posted 31 Aug Link to this post

    Hello

    I just received new task from my team to Create Automated Load Test scripts for our latest web health portal. I am doing research on Load Testing and I have few pretty basic questions. But I still seek clarification from an expert to understand properly.

    Our Web App requires users to log in. Our requirement to test it using 5000 users in order to measure the performance. Also there are test cases for several other business processes but all are for already Logged in or registered users.

    1. Whether the Load Tests we record and execute, are they cloud-based or not.

    2. If I decide to use 5000 virtual users, will I still record in the same way like for one user. Do I actually need to create 5000 Test Data accounts to provide credentials to Virtual Users or not? or I am misunderstanding the whole VU concept.

    3. If I need Test Data accounts for al VU's What would be the difference between this and Data Driven test in which we can add CSV, XML etc. ?

    Thanks in Advance.

     

    Satpreet Birah

     

  2. Answer
    Kaloyan
    Admin
    Kaloyan avatar
    82 posts

    Posted 05 Sep Link to this post

    Hi,

    Thanks for contacting us. 

    Let me try to dig into your questions:

    1. What do you mean by load tests to be "cloud-based"? Load tests, themselves, are stored locally, in your project folder. They can capture and measure traffic from any web site, be it intra- or internet-based. You can check out the "Caution" section in the Overview page of the documentation here.

    2. If you decide to use 5k VUs, it would be enough to capture only one single login traffic (see here) and assign that capture the required amount of virtual users - its workload (here).

    3. When it comes to uniqueness of virtual users, data-driven load tests come quite handy. You can check this article in the help pages.

    I hope things are a bit clearer than before.

    Regards,
    Kaloyan
    Telerik by Progress
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
  3. Satpreet
    Satpreet avatar
    2 posts
    Member since:
    Aug 2016

    Posted 06 Sep in reply to Kaloyan Link to this post

    Thanks for your reply Kaloyan. Definitely things are clearer.

    I got my answers for the first two, Can you elaborate little more on the third point.

    The thing is our website that is still deployed on test environment, we are thinking to load test the registration part for the new user. And one user can not register for the second time. Once its registered, for the second time it will directly open the account after LogIn without going to registration page.

    In this scenario do you think, recording one user and assigning that capture to VU's would be the right option or We should create that many accounts and then run Data Driven Load Test?

    Thanks.

     

    Satpreet

    Alberta Health Services, AB, CAN

  4. Kaloyan
    Admin
    Kaloyan avatar
    82 posts

    Posted 08 Sep Link to this post

    Hi,

    In my opinion, capturing one user and assigning VUs to that capture should be quite enough for general load testing of your site.
    On the other hand, if you have predefined different user roles in your system (admin, guest, etc.), it might be a good idea to data-drive that aspect of your application. I.e., capture login traffic for the distinct roles in your system and assign as many VUs to these accounts as you see fit.

    Do let me know how that works out for you.

    Regards,
    Kaloyan
    Telerik by Progress
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
Back to Top