jquery-mockjax

The jQuery Mockjax Plugin provides a simple and extremely flexible interface for mocking or simulating ajax requests and responses.

ajaxmockunittesting

http://code.appendto.com/plugins/jquery-mockjax/