Centralize datasource and context parameter in web tests

Hello,
I have several web tests used in a load test project. All web test has the same web server context parameter as well as the same datasource.

Is it possible to set them in a central location whout having to change them for each web test

Thanks,
Pierre


Answer this question

Centralize datasource and context parameter in web tests

  • blurgal

    Thanks a lot.

    Pierre

  • RyanPitt

    Pierre,
    It is possible to centralize the context parameters, but not the datasources.  In the Run Settings section of a load test, you can add context parameters.  These load test context parameters will be made available in web tests running in that load test and they will override any web test context parameter of the same name.  I suggest that you put a reasonable default value in the web test context parameter so that the web test can be run independently and then put the override values in the loadtest.

    I hope that helps.

    Josh


  • Centralize datasource and context parameter in web tests