Could somebody write an example of how to query (filter) all testcases for a testplan?
I can't find the relation between the testcases and testplan in rpc.
from tcms_api import TCMS
rpc_client = TCMS()
for test_case in rpc_client.exec.TestCase.filter({'pk': 1}):
print(test_case)
If you would like to use REST API you can run this:
Or if you want test cases for multiple test plans: