This is a migrated thread and some comments may be shown as answers.

Beginner-Level Questions

3 Answers 72 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Satpreet
Top achievements
Rank 1
Satpreet asked on 31 Aug 2016, 04:15 PM

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

 

3 Answers, 1 is accepted

Sort by
0
Accepted
Kaloyan
Telerik team
answered on 05 Sep 2016, 01:53 PM
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!
0
Satpreet
Top achievements
Rank 1
answered on 06 Sep 2016, 02:36 PM

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

0
Kaloyan
Telerik team
answered on 08 Sep 2016, 08:20 AM
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!
Tags
General Discussions
Asked by
Satpreet
Top achievements
Rank 1
Answers by
Kaloyan
Telerik team
Satpreet
Top achievements
Rank 1
Share this question
or