Search code examples
c#.nethp-quality-centerhp-alm

.net - How to get the test cases present in a test set using HP ALM 12.5


Below query is used to get the test cases present in a test set.But the response returns all the test cases present in the project irrespective of the test set id passed in the query.

https://almamex1253qc.saas.hpe.com/qcbin/rest/domains/[domain]/projects/[project]/test-instances?page-size=max&start-index=1&query%3D%7B%7Btest-set.id%5B[id]%5D%7D%7D;%20test.user-template-07[SIT%20OR%20"Release%20Testing"]}


Solution

  • I guess you mean the test instances in a test set and this URL works for me:

    https://alm/qcbin/rest/domains/[domain]/projects/[project]/test-instances/?query={cycle-id[1782]}