Download UI Testing

I am working on a site that uses AJAX and dynamic JavaScript on the front panel pretty much, and it's time to start stress testing. But how did you properly stress a test that required clicking multiple links on an interface? One of the ways that I was able to easily hit every page of the site quickly and repeatedly was to point the Google Mini to it. But it will not click links, and then navigate through modal windows and the like.

Edit - I have to indicate that the site is made in PHP5, and the JavaScript library used is jQuery. Not sure if this will make any difference, but it would be helpful to know.

+5
source share
5 answers

JMeter is great. You can record your sessions and customize them to your liking.

So-called “ajax load testing” is a recurring subject on this site and is often confused. So let's get it straight: there is no real difference between stress testing a regular web page and stress testing with ajax. It all comes down to discrete queries; they simply won’t be full page updates.

One thing to keep in mind is the difference between load testing a server that processes requests (load test) and on-screen performance of updatable user interface components (how well your javascript works).

Simple boot example:

  • login
  • ?
  • 5-10 "ajax" ( -, )
+2

, , -, ajax. , "" , . vs test edition, .

+1

. , " AJAX" , HTTP- . . . Ajaxian.com Ajax .

JMeter, Pylot The Grinder - HTTP- ( Pylot). JavaScript, , , , , . AJAX , / .

, , , ( ) .

, - Google, 1000 ( ). JMeter/Pylot/Grinder, , , AJAX ( w/jQuery) .

, - , (, , ). , Comet/ "Reverse Ajax" (, ), .

, BrowserMob, , Firefox, Selenium, , , . ( HTTP-) ( HtmlUnit).

, , , BrowserMob, - . , , , " ", 10-100X . . , .

, !

+1

- openSTA.

-, script.

- .

, , , . .

.

, . , .

0

All Articles