Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
Hi all,
We would like to automatically purge all test results when a test session is cancelled. The issue at hand is that all results are included in higher level items and reports, even when the session is cancelled and the results are to be neglected. This can happen for instance when one discovers that the test setup is wrong or contains faulty components. Instead of modifying the reports etc., we prefer to tackle the root cause and delete all results from a cancelled test session.
The command tm purgeresults does the trick, but we can't seem to find the bean to include this functionality in a trigger.
Any pointers?
Thanks in advance,
Adriaan
What about the "serverCmdRunner" way to call the API command directly?
See my example code attached.