Answered by:
Need to step down number of users in load test.

Question
-
How do you step down the number of virtual users in a load test? I'm using VSTS 2010 Ultimate. Thanks!Wednesday, March 2, 2011 4:30 PM
Answers
-
Have a look at this thread on using a plugin
http://blogs.msdn.com/b/edglas/archive/2006/02/06/525614.aspx
very similar to what you want
BTW, the goal based pattern can be run against more than just the % Processor Time counter as well
Tim- Edited by TimJim Wednesday, March 2, 2011 8:19 PM clarity
- Proposed as answer by Shane_HuModerator Friday, March 4, 2011 5:17 AM
- Marked as answer by Shane_HuModerator Wednesday, March 9, 2011 1:12 AM
- Unmarked as answer by Shane_HuModerator Wednesday, March 9, 2011 1:12 AM
- Marked as answer by Vicky SongMicrosoft employee, Moderator Wednesday, March 16, 2011 2:18 AM
Wednesday, March 2, 2011 8:10 PM -
Thanks Tim for your kindly assistance.
Hello eequemls29,
Just as Tim mentioned, there are no built-in support for this, you are required to write custom load test plug-in to have it worked.
You can also refer to the following two blogs for further information.
http://blogs.msdn.com/b/slumley/archive/2009/04/10/load-test-plug-ins.aspx
Thanks,
Vicky Song [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.
- Marked as answer by Vicky SongMicrosoft employee, Moderator Wednesday, March 16, 2011 2:18 AM
Wednesday, March 9, 2011 8:32 AMModerator
All replies
-
Hi,
You can use a goal based load pattern to step up and step down the number of virtual users. Please refer http://blogs.msdn.com/b/billbar/archive/2008/09/12/how-is-the-user-load-adjusted-for-a-load-test-with-a-goal-based-load-pattern.aspx
Thanks,
Anuj
Wednesday, March 2, 2011 7:03 PM -
Goal based load pattern seems to be only based on % Processor Time. I need a continuous load pattern, say ramping up to 100 users, then ramp down to 0 users after a minute and continuing this load pattern for an hour. Thanks.Wednesday, March 2, 2011 8:06 PM
-
Have a look at this thread on using a plugin
http://blogs.msdn.com/b/edglas/archive/2006/02/06/525614.aspx
very similar to what you want
BTW, the goal based pattern can be run against more than just the % Processor Time counter as well
Tim- Edited by TimJim Wednesday, March 2, 2011 8:19 PM clarity
- Proposed as answer by Shane_HuModerator Friday, March 4, 2011 5:17 AM
- Marked as answer by Shane_HuModerator Wednesday, March 9, 2011 1:12 AM
- Unmarked as answer by Shane_HuModerator Wednesday, March 9, 2011 1:12 AM
- Marked as answer by Vicky SongMicrosoft employee, Moderator Wednesday, March 16, 2011 2:18 AM
Wednesday, March 2, 2011 8:10 PM -
Thanks Tim for your kindly assistance.
Hello eequemls29,
Just as Tim mentioned, there are no built-in support for this, you are required to write custom load test plug-in to have it worked.
You can also refer to the following two blogs for further information.
http://blogs.msdn.com/b/slumley/archive/2009/04/10/load-test-plug-ins.aspx
Thanks,
Vicky Song [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.
- Marked as answer by Vicky SongMicrosoft employee, Moderator Wednesday, March 16, 2011 2:18 AM
Wednesday, March 9, 2011 8:32 AMModerator -
Hello eequemls29,
I have marked my and Tim's replies as answers. If you found them no help, please feel free to unmark them and let me know.
Thanks,
Vicky Song [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.
Wednesday, March 16, 2011 2:18 AMModerator