Response Status Code: 500 Internal Server Error

Response Body:

{
    "timeStamp": null,
    "error": "The specified Test Plan is currently running. Please wait until the current Test Plan is complete. You may also use Testsigma Test Plan Status Check API to wait for the current Test Plan to complete. More details - https://support.testsigma.com/solution/articles/32000022660-how-to-integrate-jenkins-in-testsigma-",
    "code": "The specified Test Plan is currently running. Please wait until the current Test Plan is complete. You may also use Testsigma Test Plan Status Check API to wait for the current Test Plan to complete. More details - https://support.testsigma.com/solution/articles/32000022660-how-to-integrate-jenkins-in-testsigma-",
    "fieldErrors": null,
    "objectErrors": null
}


The 500 Internal Server Error is returned when we try to rerun an already running Test Plan as the error message states above.


We would like you to know that there can be only one Test Run instance for a specific Test Plan. This is by design i.e a Specific Test Plan can be re-triggered only after the current run is complete.


However, if you try to run another Test Plan, it would certainly start running if a free parallel run slot is available. If there are no free slots, it would go into queued state and stay there until a slot is freed.