Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.
 

Get all test cases for section


#1

Could I get all test cases for section by id via api?


#2

The Cases API advertises the following option to get the test cases under a test suite that belong to a particular section:

GET index.php?/api/v2/get_cases/:project_id \ 
&suite_id=:suite_id \
&section_id=:section_id

The problem is that always result in an HTTP 400 error. I used the Sections API to get the section IDs of all my sections under a test suite to make sure I was using the right section IDs. That leads me to believe that this capability is broken. Maybe it worked in a previous version of Test Rail but it doesn’t work now. They will have to convince me I am wrong.