Global Data Sources
Example
- Test Suite
-- Scenario A
{set of Data sources}
--- Test Case 1
--- Test Case 2
--- Test Case 3
-- Scenario B
{set of Data sources}
--- Test Case 1
--- Test Case 2
--- Test Case 3
I didn't find a way to create Shared Data Sources, so I have to create all these data sources for each Scenario.
I would like to have most of them (the shared ones) at Test Suite Level, but when I do that, they are not visible for the Aggregate Data Source that I have to have in each Scenario to link data sources from Scenario & Test Suit.
Is there any solution to this?
Thanks
Comments
-
Hi eugenia,
Is there a reason why you can't create the aggregate data source in the root test suite along with all of your other data sources? this should solve the issue of the aggregate data sources not being able to see the other data sources. For you reference there is a PR for this behavior, so the aggregate data source will be able to see the data sources in the root test suites, and this functionality may be available in future versions of SOAtest. However the easiest solution seems to me to put all of your data sources in the root test suite as opposed to just some of your data sources, that way all child test suites/scenarios have this information available to them. Let me know if this solves your issue and if you have any questions.
Regards,
Jon
0 -
Jon
That is a possible solution, that not only resolves the problem but also decreases the size of my project.
Now I'll have to create multiple Aggregate data sources to recreate the set of information I need for each test case. Hopefully I can reuse them.
Thanks for your help!Hi eugenia,
Is there a reason why you can't create the aggregate data source in the root test suite along with all of your other data sources? this should solve the issue of the aggregate data sources not being able to see the other data sources. For you reference there is a PR for this behavior, so the aggregate data source will be able to see the data sources in the root test suites, and this functionality may be available in future versions of SOAtest. However the easiest solution seems to me to put all of your data sources in the root test suite as opposed to just some of your data sources, that way all child test suites/scenarios have this information available to them. Let me know if this solves your issue and if you have any questions.
Regards,
Jon0