Forum Discussion

jsheph01's avatar
jsheph01
Contributor
7 years ago

Clear datasink each time test case is run

Is there a way to clear the datasink (not the properties, just the data) each time a test case is run? Currently every time I run a test case the data from all the previous runs is still there. The only way I am able to empty the datasink right now is to restart ReadyAPI. I use the data to create a subreport of all the failed test steps.

 

I have the datasink disabled within the test case and use a groovy script to run it if the previous assertion failed. 

 

 

No RepliesBe the first to reply