Artifact [8ef40bca54]
Not logged in

Artifact 8ef40bca54d2f976292d0638c3ac5707323cee78:

Wiki page [webtest] by evilotto 2010-10-28 22:34:12.
D 2010-10-28T22:34:12
L webtest
U evilotto
W 1200
<b>webtest</b> comes in two versions, a command-line version (cltest) and a gui version (ltest).

Two modes of operation are supported:
  *  constant-load - the tester issues requests as fast as possible to keep the same number of requests active at all times.
  *  constant rate - the tester makes requests at a steady rate, regardless of how many are currently running

webtest can issue the same request with many different values of parameters, e.g., to test a search form with different terms.  This can be valuable in testing cache performance.

webtest is suitable for testing many real-world web apps.  However, it does run a bit slower than similar testers written in C or Java because of the higher overhead of tcl;  as a result webtest has trouble at the high end of load testing (issuing more than around 250 requests per second, depending on your hardware).  Similarly, its cpu usage is somewhat higher than tools like <i>ab</i>, to the point where it can adversely affect your test results if you are testing a server on the same machine.  In either case, the result from using webtest will be a conservative answer about your server performance, which is arguably a good thing.
Z 98f3da3a5dc57062911479fd7300ef26