[Hidden-tech] Stress Testing Web Applications

Michael Klatsky michaelk at tnrglobal.com
Wed Aug 30 12:48:30 EDT 2006


Ben-

As previously mentioned, siege (http://www.joedog.org/JoeDog/Siege) is an  
excellent tool for stress testing web
applications. Note that siege is designed to run only on the various *nix  
variants. Siege allows you to determine multiple variables, such has how  
many concurrent users are hitting your web application, how long to run,  
whether to delay between each round and such. Additionally, you can feed  
it a list of URL's (especially helpful when testing blogs, CMS apps, and  
other such forum type apps). These URL's can be run in order, or can be  
run randomly (-i is internet simulation mode). An example usage might be  
something like this:

siege -c 32 -i -b -t 10m -v -f listofurls.txt >benchmark.log

The above would run a 10 minute test, using 32 concurent users, no delays,  
and randomising the url's. The output would be similar to this:

***
concurrent users: 32
time to run: 10m
socket timeout: 30
delay: 0 sec
internet simulation: true
benchmark mode: true
failures until abort: 1024

siege -c 32 -i -b -t 10m -v -f listofurls.txt >benchmark.log

Transactions: 2943 hits
Availability: 99.93 %
Elapsed time: 609.35 secs
Data transferred: 248.05 MB
Response time: 6.45 secs
Transaction rate: 4.83 trans/sec
Throughput: 0.41 MB/sec
Concurrency: 31.15
Successful transactions: 2943
Failed transactions: 2
Longest transaction: 26.74
Shortest transaction: 0.12

***

As you can see- quite useful information is gained. At TnR Global, we use  
it to test current capacity, as well as to help us plan future capacity  
for our various clients. Hopefully, there is some information here that  
you might find valuable.

Cheers!

Michael Klatsky






On Wed, 30 Aug 2006 00:42:20 -0400, Ben Liyanage <ben at smartankgroup.com>  
wrote:

>    ** Be a Good Dobee and help the group, you must be counted to post .
>    ** Fill out the survey/skills inventory in the member's area.
>
>
> Does anyone have any suggestions for software that will perform stress  
> tests
> on a web application.  In particular I am looking for something that is
> free/cheap, and simple to use.
>
> One company I am working for needs to stress test a CMS that we are  
> using,
> and we need to make sure that the CMS can handle our predicted traffic.
>
> Thanks in advance for any feedback,
>
> Ben Liyanage
> ben at smartankgroup.com
> 410.336.2464
>
> _______________________________________________
> Hidden-discuss mailing list - home page: http://www.hidden-tech.net
> Hidden-discuss at lists.hidden-tech.net
>
> You are receiving this because you are on the Hidden-Tech Discussion  
> list.
> If you would like to change your list preferences, Go to the Members
> page on the Hidden Tech Web site.
> http://www.hidden-tech.net/members
>



-- 


Sincerely,


Michael Klatsky
TNR Global, LLC
Box 550
Greenfield, MA 01302



Google

More information about the Hidden-discuss mailing list