cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Trigger to purge results when session is cancelled

acoosemans
13-Aquamarine

Trigger to purge results when session is cancelled

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

1 REPLY 1

What about the "serverCmdRunner" way to call the API command directly?

See my example code attached.

Announcements


Top Tags