dimanche 23 juin 2019

How do you use analytics with Odata on azureDevOps to query test results and which suite it belongs to

Due to limitations with creating dashboards in AzureDevOps for Test data. I am trying to use the analytics odata to query test results data. The issue I am having is creating a single query to have test plan, test result, test suite , test cases, along with its associated data(e.g outcome,testowner,duration etc). Currently I have to create separate queries such like "https://analytics.dev.azure.com/{OrganizationName}/{ProjectName}/_odata/v3.0-preview/WorkItems?$select=WorkItemId,WorkItemType,Title,State,iteration&$filter=WorkItemType%20eq%20%27Test%20Suite%27&$expand=tags,iteration"

and then manually put test cases within the test suite which defeats the whole purpose.

https://analytics.dev.azure.com/{OrganizationName}/{ProjectName}/_odata/v3.0-preview/testResults/?$filter=TestRunType eq 'Manual'&$expand=Test,TestRun,TestSuite,TestPlan

The query specified in the URI is not valid: VS403522: The property 'testsuite' is not available on the specified Project(s). Please remove 'testsuite' from your query and try again

Aucun commentaire:

Enregistrer un commentaire