Forum Discussion

Srikanth7Gunnam's avatar
4 years ago

Azure DevOps Testpoints Data in Power BI

Hello All,

 

Hello, I am currently working on a project where I need to retrieve complete test points data from Azure DevOps. I have written a function with testplanid and test suited as parameters below.

 

let
  PointsAPICall = (TestPlanId as text,TestSuiteId as text) =>
    let
    Source =
    try
    Json.Document(Web.Contents("https://dev.azure.com/{Org}/{project}/_apis/testplan/Plans",[RelativePath= TestPlanId &"/Suites/" & TestSuiteId & "/TestPoint?api-version=6.0-preview.2"]))
    otherwise
    null
in
    Source
in
  PointsAPICall
But, I am only getting the first batch of test points.  Could you please help me pass "continuationToken" to the above code?
 

 

When I pass the continuationToken parameter, nothing is being retrieved. Please help me with this.

 

Thanks in advance,

Sri

2 Replies