locked
no of user and time should come from config file RRS feed

  • Question

  • Dear Team,

    I have written load test for API with const value for no of user and time.

    My requirement is - I want to give this two value ( no of users and time) from some of the config file which my client can change values and execute test. My client don't want to touch load test case.

    Please suggest way to do.

    Regards,

    Mitesh Sheth

    Monday, February 9, 2015 4:30 PM

All replies

  • Hi Mitesh,

    Thank you for posting in the MSDN forum.

    I know that we could use the config file as the data source for unit tests like this document:

    https://msdn.microsoft.com/en-us/library/ms243192.aspx

    Even if you could use this config file in .testsettings file as a deployment file like this case here:http://stackoverflow.com/questions/344069/can-a-unit-test-project-load-the-target-applications-app-config-file. But the real issue is that we just could add it in your load test project locally. So I'm not very sure that how you run it without touching your load test case if you want to call this file.

    Best Regards,

    Jack


    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.

    Tuesday, February 10, 2015 9:41 AM