Indeed. I don't think you can do this with a preprocessor, but I wonder how hard it would be to introduce the concept of filterable streams into jmeter. Someone would have to write some filters, and they'd need to be able to present GUI controls in order to be configured. Sampler writers who do file I/O would have to indicate that they support the functionality and build a chain of filters. Once implemented, it shouldn't be any harder to support than regular java file I/O.
Also, I wonder how many people would actually use it. Might be a fun project to poke at over a weekend... -- Bruce Ide flyingrhenqu...@gmail.com