According to the javadoc here, whist events are raised from TestExec, they appear to be accessed from TestEvent. Whether you want TestEvent (all the events) or to just be a TestEventListener is dependant upon what you are trying to achieve, but the javadoc above is a good place to start