Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. 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.