In an Oracle database where Real Application Testing (RAT) is not installed, the following statement throws ORA-00438: Real Application Testing Option not installed:
begin
dbms_workload_capture.start_capture (
name => 'capture-test-1',
dir => 'CAPTURE_TEST',
duration => NULL
);
end;
/
The following query shows that RAT is not installed, indeed:
select value from v$option where parameter = 'Real Application Testing';