Why Load Testing Ajax is Hard
ajaxian.com
ajaxian.com
For example auto-complete has a built in delay of about half a second for each keystroke. So how do you load test that? The fastest you can go is two requests per second if you use a real browser.
I'm not sure why this is such an issue. Most commercial testing tools use proxy recorders which will happily record all the AJAX requests along with the normal requests, and will spit out test scripts that include the AJAX calls. If you don't want them all using "banana" then just record 10 different scripts (which you should be doing anyhow to cover the most common usage models/flows for your site).