ReadyAPI allows you to use Groovy scripts to log your test results, extract information about test steps that meet certain conditions, and so on. This topic describes several ways to enable logging with the Groovy script. Availability. There are several ways to run this script: As an event handler. As a teardown script on a project, test suite or test case level. Examples. This sample.