Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!69.16.185.51.MISMATCH!isp-post01.iad!news.highwinds-media.com!not-for-mail Date: Thu, 05 Apr 2012 13:38:52 -0400 From: Wayne User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 Newsgroups: comp.lang.java.programmer Subject: Re: What load testing solutions do you use? References: <%aHer.1879$ie6.974@newsfe14.iad> In-Reply-To: <%aHer.1879$ie6.974@newsfe14.iad> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Lines: 31 Message-ID: <4f7dd89f$0$25261$9a6e19ea@unlimited.newshosting.com> Organization: Newshosting.com - Highest quality at a great price! www.newshosting.com NNTP-Posting-Host: 97.76.166.205 X-Complaints-To: abuse@newshosting.com Xref: csiph.com comp.lang.java.programmer:13419 On 4/3/2012 2:19 PM, Daniel Pitts wrote: > I've been looking for load testing solutions, and there are quite a few choices, many > are expensive, some seem less than useful. So I'll ask here. > > What have you used in the past for load testing? > > I'm specifically testing Java servlets, which request data from either HTTP XML > resources, or databases (primarily MySQL). The difficulty I have is that setting up > an entire environment for our system is not a trivial task (large amounts of data, > and very complex system). I have three kinds of load testing I'd like to perform. > 1. Failure mode testing. What happens when the downstream datasources start to > fail under load, what can be done to make that more graceful. > 2. Capacity and scalability planing. > 3. Performance tuning for individual requests. > > 2 and 3 we can glean /some/ useful information from our production environment, but > we don't want to test failures or cause failures in production, obviously. > > Thanks, > Daniel. To load and stress test web interfaces, about the easiest tool is Microsoft's free Web Capacity Analysis Tool (WCAT, , formerly called the Web Application Stress Tool). Another good tool is slamd from www.slamd.com, but that isn't under active development anymore. Apache JMeter was recommended by some others too. (Note, I personally don't have experience with these tools.) -- Wayne