locked
Variation in Rampup and Ramping down user during load test. RRS feed

  • Question

  • Hi All,

    Can any please guide me varying the user load while running the load test .

                  Say for example, initial user load is 20 user, ramping up to 50 users at 10users/min. Then constant 50 user load for 1 hour and then decreasing the load to 30 users for a duration of 30 min's and again increase the load to 100 users and remain constant for another 30 min's.

    Regards,

    Umesh.

    Wednesday, August 27, 2014 6:34 AM

Answers

  • Hi Umesh

    A couple of possibilities spring to mind.

    1. You might need to add a reference to the plugin if it's in a different library.
    2. Double check make sure the class and the overridden method have the public attribute.

    HTH

    • Marked as answer by Umesh_Kamble Wednesday, September 17, 2014 8:36 AM
    Wednesday, August 27, 2014 12:37 PM
  • Hi Umesh

    This is not really a supported load pattern with the out of the box patterns that come with Visual Studio Ultimate.  You'll need to write a load test plugin How to create a Load Test Plugin

    There might be something available on www.codeplex.com that will help.

    HTH

    • Marked as answer by Amanda Zhu Tuesday, September 2, 2014 9:11 AM
    Wednesday, August 27, 2014 10:41 AM
  • Hi Umesh,

    As Ian and Adrian replied, you can write and use load test plug-in based on this MSDN document: How to: Create a Load Test Plug-In Please check them in details.

    About how to change the user load, this blog: Load Test Plug-ins  provided a code sample which can help you. You need write your own task to accomplish what you want based on that code sample

    Thanks,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Marked as answer by Amanda Zhu Tuesday, September 2, 2014 9:11 AM
    Thursday, August 28, 2014 7:51 AM

All replies

  • Hi Umesh

    This is not really a supported load pattern with the out of the box patterns that come with Visual Studio Ultimate.  You'll need to write a load test plugin How to create a Load Test Plugin

    There might be something available on www.codeplex.com that will help.

    HTH

    • Marked as answer by Amanda Zhu Tuesday, September 2, 2014 9:11 AM
    Wednesday, August 27, 2014 10:41 AM
  • Hi,

       Thanks for the answer. I actually created a Load Test Plugin and added the reference to the Load test file. But however I'm unable to see the newly created plugin in add plugin dialog box for the load test. Is there anything that I'm missing like any references required to add a Plugin?

    Thanks in advance.

    Regards,

    Umesh

    Wednesday, August 27, 2014 11:27 AM
  • Hi Umesh

    A couple of possibilities spring to mind.

    1. You might need to add a reference to the plugin if it's in a different library.
    2. Double check make sure the class and the overridden method have the public attribute.

    HTH

    • Marked as answer by Umesh_Kamble Wednesday, September 17, 2014 8:36 AM
    Wednesday, August 27, 2014 12:37 PM
  • You need to carefully follow the Microsoft pages describing how to write plugins. It is easy to miss or forget significant steps.

    There are two types of plugins: "web test plugins" and "web test request plugins". The former apply to the whole test. These are added by context (right-click) menu on the test name above the transactions etc in the test. The "web test request plugins" attach to one request within the test and are added via the context menu on a request. The context menu entries are different for the two types.

    Regards

    Adrian

    Wednesday, August 27, 2014 6:19 PM
  • Hi Umesh,

    As Ian and Adrian replied, you can write and use load test plug-in based on this MSDN document: How to: Create a Load Test Plug-In Please check them in details.

    About how to change the user load, this blog: Load Test Plug-ins  provided a code sample which can help you. You need write your own task to accomplish what you want based on that code sample

    Thanks,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Marked as answer by Amanda Zhu Tuesday, September 2, 2014 9:11 AM
    Thursday, August 28, 2014 7:51 AM