1. A method for simulating a behavior of a spooler, comprising: receiving an output file produced by the spooler as a result of the execution of a unit of work in a data processing apparatus, said unit of work being submitted to the spooler by a data processing automation program running on the data processing apparatus; extracting from the received output file at least one collection of data, wherein said at least one collection of data includes data necessary to the data processing automation program for performing a data processing automation function; causing the data processing automation product to receive said at least one collection of data instead of retrieving the necessary data from the spooler