Forum Discussion

Michael_Timpe's avatar
Michael_Timpe
New Contributor
3 months ago

Getting TestCases via API

Hi,

I am fairly new with Zephyr Scale Cloud. I do want to export a step based testcase using the API. Using the testcases endpoint and the testcase's key and teststeps as path parameters (testcases/<KEY>/teststeps) it is returning an array of the same size as the number of steps in my testcase. So far so good.

But: the elements for each step always having the inline property beeing null. As per API documentation the inline property should have a property testData giving the provided data for the call parameters.

How can I get the data passed to the parameters to the called step?

Kind Regards

Michael

 

1 Reply

  • By reverse engineering I found this Endpoint: 

    <SERVER>/backend/rest/tests/2.0/testcase/PZS-T17?fields=id

    But how do I need to authenticate against this endpoint - Jira Acces Token and Zephyr Access Token are not working.