Exporting datasets
Datasets can be defined for parameterized tests at different levels. The respective test issue and optionally context issue must be given as input to the endpoint to export the dataset at a given level.
When exporting the dataset of a test in the context of a test plan or a test execution, the requested dataset can be the one actually defined at that level or the one resolved up to that level.
The following table shows the exported dataset for the different input combinations:
Test issue | Context issue | Resolved | Result dataset |
---|---|---|---|
Yes | No | N/A | Dataset defined in the test (default dataset) |
Yes | Test plan | false | Dataset defined in the test in the test plan |
Yes | Test plan | true | Resolved dataset at the test plan - test level |
Yes | Test execution | false | Dataset defined in the test in the test execution |
Yes | Test execution | true | Resolved dataset at the test run level |