Data driven load testing with Visual Studio - where are web tests generated?

与世无争的帅哥 提交于 2019-11-29 18:14:18

Agents do not need access to the data source. The load test controller arranges that the required data is deployed to the correct agents so they can run the test.

Vastly simplified: The controller is instructed to run a load test. It collects the test suite and the data source values. It splits the virtual users across the available agents and deploys the test suite and the data source values to those agents. The agents then run the individual tests, the dynamic data aspects of each test case are handled within the agent. As individual web tests finish their results are passed back to the controller and it write the data to the SQL results database, it also provides data to Visual Studio for the graphs etc displayed as the load test runs. See this Microsoft page for more details.

One complication is the handling of the data source depending on the access method selected. For Sequential and Random a full copy of all of the data is sent to each agent. For Unique the data is split into pieces and each agent gets one piece, thus maintaining the desired "use each data value only once". See this Microsoft page for more details.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!