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

API to close test run inside test plan



I was trying to close test run which is inside test plan using Java API. I used close_run/<run_id> API to close it, but I got 403 error.
Can you please suggest which API should I use in such scenario?
Also can you also tell me what data should I provide with the request?



Hello Pratik,

Thanks for your posting! Test plans can only be closed as a whole and this would also close all test runs in this plan. You can use the close_plan API method for this. This API method doesn’t expect any parameters except the test plan ID: