locked
How to retrieve revision of Testcase for specific TestResults using TFS REST API RRS feed

  • Question

  • Hi all,

    we are using TFS REST API to retrive TestResults.

    GET https://{instance}/DefaultCollection/{project}/_apis/test/runs/{run}/results/{result}?api-version={version}[&includeIterationDetails={bool}]

    When parsing the Response, for each actionresult a Revision is delivered in case of shared steps. But no Information can be retrieved about the Revision of the testcase itself.

    So, when processing the Response, we can say that this specific test result was made testing shared steps in a specific condition. But we can't do that for the other steps.

    The Response delivers a "Response"-field, but the value does not correlate with the testcase Revision which was used for the testrun.

    Is there a possibility to retrieve the Revision of the testcase during test execution?

    Thanks in advance

    Wednesday, December 13, 2017 4:56 PM

All replies

  • Hi JadDev, 

    I recommend you open a new thread in stackoverflow with TFS tag to talk about the problem. This forum is to talk about manual test in MTM, if you have problems about it, please feel free to let me know.

    Best regards,

    Joyce



    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, December 14, 2017 8:25 AM