0

Azure DevOps has Rest API to get Test History. I am not able to create the Request body for the same. I tried with few parameters but response is always 400. Did anyone manage to create the correct request body and get a response?

Request Body:

{
    "automatedTestName": "TestAzure.Services.Test.Results.Test_UpdateResults",
    "testCaseId": "20"
}


4

1 回答 1

1

您必须groupBy在此请求正文中提供:

{
  "groupBy": "Branch",
  "automatedTestName": "MyUnitTestProject.UnitTest1.TestMethod2",
  "testCaseId": "444"
}

在此处输入图像描述

于 2020-04-08T10:49:27.807 回答