none
How to get Test Cases from multiple/nested Test Suites by using Rest APIs RRS feed

  • Question

  • I need whole Information inside Test Cases i.e Outcome, order, id, Configuration and Tester

    The Structure of Test Plans, Suites and Cases within our Azure Devops is :

    TestPlan
    --> Test Suite1
    ---------------------> Test Suite
    ---------------------------> Test Suite
    ------------------------------------->Test Cases
    ----------------------------> Test Suite
    ------------------------------------->Test Cases
    ----------------------------> Test Suite
    ------------------------------------->Test Cases
    ----------------------------> Test Suite
    ----------------------------> Test Suite
    ------------------------------------->Test Cases
    -----------------------------> Test Suite
    ------------------------------------->Test Cases
    ----------------------------->Test Suite 2
    ----------------------------->Test Suite 3
    ----------------------------->Test Suite 4
    ----------------------------->Test Suite 5.....and so on

    As seen above we have multiple Test Suites one inside other

    My requirement is I need all info inside each test case using Rest APIs 
    I have used Rest APIs however I don't get exact data which I need because of the above structure , the API doesn't give me Test Suites under Test Suite 1 but simply gives count as 0 because there are no test cases inside it.

    Can you please help me with which API should I use to fetch test cases from Test Suite 1?
    Tuesday, January 28, 2020 11:35 AM

Answers

All replies