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

General Load test Question

1 Answer 74 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jonathan
Top achievements
Rank 1
Jonathan asked on 26 Apr 2016, 06:55 AM

Hello-

I'm exploring the load testing feature and am running into some issues.  The application that I'm testing requires unique naming for all items created per each user so I started with a functional test that has a excel data source.  My intention is to first test that multiple users can complete the same action at the same time and then introduce concurrency.  I've created my load test with one user profile (from a functional test) that would essentially log in to our application and create a unique object.  What I don't see is how to handle the issues of uniqueness when the virtual users are increased i.e. 10 virtual users running a test that logs in and creates a unique object with the same user account and the same name for the unique object.  I didn't see anything in the video's or the help to address this.

 

I then created two user profiles that are from functional tests that do the same thing (with different user accounts), have set the virtual users = 2, set the Start test with = 2, and split the workload 50/50.  When I run this test, only the steps from the first profile will complete (I did not clean up the data as part of the test to ensure what is running).  I may not be handling this correctly but I can't see how to assign virtual users to each profile.  My assumption was that if I had two profiles with 2 virtual users that started at the same time and that have the same amount of resources, they would be run at the same time.

Just to re-iterate:

1- How can I test uniqueness within my application while ensuring that the test is working correctly?
2- How can I allocate virtual users to specific profiles?
3- What steps need to be taken to ensure that 2 profiles will be run at the same time?

Thanks, Jon

1 Answer, 1 is accepted

Sort by
0
Elena
Telerik team
answered on 29 Apr 2016, 07:42 AM
Hello Jon,

Thank you for your interest in Telerik Test Studio. 

Basically you have explored the load testing really in depth and your approach is quite correct. There wouldn't be much I can add to your comments.

I would recommend you in relation to your first question to explore the data binding possibilities for load testing and the dynamic targets parameters. 

Of what you described I assume you have allocated the virtual user s correctly to a profile. Please let me know how do figure out that only the steps for the first profile were completed? Please elaborate more. 

I am looking forward to hearing from you, 

Regards,
Elena Tsvetkova
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Jonathan
Top achievements
Rank 1
Answers by
Elena
Telerik team
Share this question
or