Ask a Question

Zephyr API to get details of Test Cases under a Test Cycle

saketmahajan
New Contributor

Zephyr API to get details of Test Cases under a Test Cycle

Hi,

I would like to know if there is an API that I can use to get the details of test cases under a Test Cycle?


I looked at one solution which mentions using Test Eexecutions API (ref: https://community.smartbear.com/t5/Zephyr-Scale-Questions/Zephyr-API-to-get-list-of-Test-Cases-under...) but it only seems to show Test Case Id and Link.

I was interested in additional fields from the Test case like:

  • Key
  • Name
  • Objective
  • Labels
  • Custom Fields.

Please help me with a solution.

3 REPLIES 3
MisterB
Community Hero

Hi,

 

I'm assuming it's possible to script a solution by using a couple of API calls: one to get the test cases IDs within in a cycle, and another to enumerate through the test case list to get the test case data you want.  I've not done this so can't recommend, but I think that's the route to go down.

 

 



Need more help? Feel free to connect with me on LinkedIn: https://www.linkedin.com/in/andrew-barbet-548a234/

That's what I was assuming. I was looking at something I can get from just 1 API call directly from Zephyr to avoid any rate-limiting errors.

I think SmartBear support can help with that request.  You can reach them here on their support portal: SmartBear Support



Need more help? Feel free to connect with me on LinkedIn: https://www.linkedin.com/in/andrew-barbet-548a234/
cancel
Showing results for 
Search instead for 
Did you mean: