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

API: Get list of Test Suites in a Test Plan


Is this possible, I can’t find reference to it in the documentation.

What I want to do is trigger a Test Run of a group of Test Suites, and a Test Plan seems to be the way to do that.
But I cannot see how to get a list of Test Suites that are in an already existing Test Plan so I can create a Test Run for each, or what will associate that particular Test Run to the Test Plan.

Maybe there is a better way to achieve what I am after - happy to receive suggestions.


Hi Simon,

Thanks for your posting. You can use get_plan to get the configuration of an existing test plan and this also includes the runs and their suite IDs:

I hope this helps!