Visual Studio 2010 Ultimate - Silverlight - Load Testing
-
21 Oktober 2011 21:38
Hi,
I need to setup Load Testing for application using Silver Light 4.0 using Visual Studio 2010 Ultimate edition.
What all places I can look for more information? I am looking for information like:
1. Which tool I should use for saving time and better maintenance? (Coded UI, web performance etc)
2. Once I decide which tool to use (e.g. Coded UI) where do I find more information?
3. We plan to run 2500 user test at end. Where to find information about load test setting of this scale?
Here questions I have are can Visual Studio simulate more users on just one machine. What kind of resource requirements I need to keep in mind.
4. Any other information which may help me deciding which path to follow?
Thanks for all help in advance.
Regards,
C. K. Manohar
Semua Balasan
-
24 Oktober 2011 4:08Moderator
I'm not a expert on test.
I found these information will help you, and if you want any more test help, then the Visual Studio Web Performance and Load Testing forum will more suitable for you.
Load test Creation
Right click on the project and select Add -> New Test -> Load test template. It will open the New Load Test Wizard

Next, specify the scenario name like booking the ticket, searching a book, etc. Also specify the Think Time profile. We can either use the think times recorded as part of the web test recording or can use a normal think time distribution. We can also avoid the think times recorded in the web test using the third option.

Next, specify the Load Pattern. Specify whether we are going to use a constant load or a step load pattern. In constant load specify the user count. In case of step load specify the start user count, step duration, step user count and maximum user count.

Next, specify the test mix model. The different options are
[Following definitions are from Visual Studio]
Based on the total number of tests
This model of test mix determines which test is run when a virtual user starts test iteration. At the end of the load test, the number of times that a particular test was run matches the assigned test distribution. Follow this model when you are basing the test mix on transaction percentages in an US log or in production data.
Based on the number of virtual users
This model of test mix determines the percentage of virtual users who will run a particular test. At any point in the load test, the number of users who are running a particular test matches the assigned distribution. Follow this model when you are basing the test mix on the percentage of users running a particular test
Based on user pace
Over the course of the load test, each test is run the specified number of times per user per hour. Follow this model when you want virtual users to run tests at a certain pace throughout the load test.
Based on sequential test order
Each virtual user runs the tests in the order that the tests are defined in the scenario. The virtual user continues cycling through the tests in this order until the load test is complete.ref: http://www.dotnetfunda.com/articles/article951-web-performance-test-using-visual-studio-part-ii.aspx
And I think what you want to know is the second image to control the account numbers just on one local machine on your load test.
If there's any concern, please feel free to let me know.
Best wishes,
Mike [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.

- Disarankan sebagai Jawaban oleh Mike Dos ZhangMicrosoft Contingent Staff, Moderator 29 Oktober 2011 18:25
- Ditandai sebagai Jawaban oleh Mike Dos ZhangMicrosoft Contingent Staff, Moderator 02 Nopember 2011 16:36
-
27 Oktober 2011 12:23
Hello,
I started using Visual Studio 2010 for Loading tests.
I have something unclear and need an answer please.
In a web test I load a dataset and put it in a parameter, for login. So it works fine when I run the webtest for eceru row from the dataset.
My question is: when I put that webtest in the load test, and set the load test to load 2 users at the beginning, and after each 5 seconds, other 2 users, for 100 iterations......what does that really mean? and are my users from the webtest taken intro consideration? I don't want that all the users from the load test to act as same user, same row from dataset, but to take them random from the dataset. Is that possible? I kind of need an urgent answer?
The idea is that I want to simulate multiple logins in chaos, coming from different users (each user has a certain type of rights)
Thanks,
Adriana
-
29 Oktober 2011 18:24Moderator
About the question in the first post, I think the reply can answer it, if I have not misunderstood your first post.
I'm really not a test expert, so please use the test forum: http://social.msdn.microsoft.com/Forums/en-US/vstswebtest/threads
If there's any concern, please feel free to let me know.
Best wishes,
Mike Zhang[MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.

-
30 Oktober 2012 15:31
Hi,
First Answer:
2 users will be started to perform any specific activities for particular scenarios.
After intervals of 5 seconds, there will be 2 more users (increments of users) will perform the same task
There will be such 100 iterations.
Seconds Answer:
If you want to use Virtual users for different purposes, then you will be records different scenarios [ i.e login, Add to car, purchase, logout] and distribute Virtual Users among recorded scripts for different scenarios.
Himanshu Mehta
- Disarankan sebagai Jawaban oleh hcmehta 30 Oktober 2012 15:31