Hey
eric_the_tester,
Ok...wow!
Never actually tried stubbing out a whole response before!
If we're keeping everything contained within ReadyAPI only i think the way to do this would be to use the Event Handlers (think pre-processors and post-processors in jmeter or postman, etc.).
There is a replaceAll() method ive used before in events when ive wanted to change the content of the reaponse ive received before my assertions kick in (so post-processor), but ive never used it to replace a whole payload with a different one!
Start having a look at the events handlers functionality and i'll start thinking about the groovy script youll need. Now im thinking about it, i think i might know what to do with the groovyscript, BUT! the important bit is getting the groovy script right....which
ChrisAdams or one of other real coders will be able to do, better, quicker and more efficiently than i. What i knock out may work, but it wont be pretty!
Cheers,
Rich