Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tools for Ajax load testing

There seems to be a lot of stress/load testing tool that support AJAX.
I am wondering how well does these tool implemented.

Do they only record http request and replay it?
Is it the right way to test AJAX app?
How does google test their ajax apps?

like image 771
Herman Avatar asked Feb 10 '09 02:02

Herman


People also ask

What is Ajax in testing?

AJAX (Asynchronous JavaScript and XML) is a group of interrelated Web development techniques that are used on the client-side (browser) to create interactive Web applications.

Why use AJAX?

AJAX allows web pages to be updated asynchronously by exchanging small amounts of data with the server behind the scenes. This means that it is possible to update parts of a web page, without reloading the whole page. Classic web pages, (which do not use AJAX) must reload the entire page if the content should change.

What is AJAX call?

AJAX calls are one method to load personalized content separately from the rest of the HTML document, which allows for the full HTML document to be cached, improving back end load time.


1 Answers

Most of the load testing tools out there do AJAX load testing the same way: they execute the raw HTTP traffic that is seen during a "recording" phase (which can be page requests, image requests, or even AJAX requests). The main difference among them is how good their recorder/IDE tool is and how easily it helps you parameterize the HTTP requests such that they reflect real world traffic based on dynamic/realtime results.

Warning, blatant plug: The only real exception to this is my company, BrowserMob. Instead of simulating the traffic observed, it actually uses real web browsers to drive back load. As such, the AJAX stuff is handled by the browser.

Useful link: Separate from the blatant plug above (though I do hope you check it out - we're up front with the pricing and provide a free trial), I recently wrote an article for Ajaxian about AJAX load testing. It goes in to more detail about the technical implications of using real browser users (RBUs) vs. virtual users (VUs).

like image 158
Patrick Lightbody Avatar answered Sep 30 '22 09:09

Patrick Lightbody