none
Configuring VSTS specific load test context parameters intelligently RRS feed

  • Question

  • Hello all,

    Recently moved from utilising AWS to Azure for the location of our load test agents, thus making the transition to making full use of VSTS.

    It was described that, for the moment, to get a load test file working with VSTS to using our own VMs for testing, we need to provide two context parameters, UseStaticLoadAgents and StaticAgentsGroupName in each loadtest file.

    Our load test solution is getting very large, and we have multiple loadtest files where we have to set these two values each time. This leads us into the situation where, if we were to change our agents group name for example, we would have to update each individual load test file with the new information.

    Im looking at a way to centralise this until a nicer way is implemented by Microsoft. The idea was to use a load test plugin, to add these context parameters with the plugin drawing the needed values from a centralised config file.

    However, it seems that none of the hooks in the load test plugin or simply using the initialise method to manually set these values is working. Likely because they are set after full initialisation.

    Has anyone got a nice, code focused solution to manage this and stop us depending on adding brittle values in the editor? Or even gotten the above approach to work?
    • Moved by 宝宝徐 Tuesday, August 29, 2017 6:08 AM
    Friday, August 18, 2017 2:59 PM

All replies

  • Dear friend,

    Thanks for your posting.

    Your issue is more related to VSTS and VSTS forum on MSDN has been shut down. I suggest you post your issue on Stack Overflow, the MS support engineer there will offer more professional answer.

    Sorry for the inconvenience and hope you'll understand. 

     

    Best regards,

    Fletcher


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.



    • Edited by Fletch Zhou Monday, August 21, 2017 10:02 AM
    Monday, August 21, 2017 3:16 AM