REW for compression measurements

Have anybody good information how to measure compression (actually input level vs. output level linearity) with REW and mic and in offline mode?
I find that REW have stepped level measurements, can this be used in offline mod (file playback)?