Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #13362
| From | Daniel Pitts <newsgroup.nospam@virtualinfinity.net> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: What load testing solutions do you use? |
| References | <%aHer.1879$ie6.974@newsfe14.iad> <4f7b85c4$0$286$14726298@news.sunsite.dk> <4VLer.1941$ie6.332@newsfe14.iad> <4f7b8b69$0$286$14726298@news.sunsite.dk> |
| Message-ID | <CcMer.19590$Ce4.13827@newsfe21.iad> (permalink) |
| Date | 2012-04-03 17:02 -0700 |
On 4/3/12 4:44 PM, Arne Vajhøj wrote: > On 4/3/2012 7:41 PM, Daniel Pitts wrote: >> On 4/3/12 4:20 PM, Arne Vajhøj wrote: >>> 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. >>> >>> Obviously you need something to call the servlets. >>> >>> There are commercial offerings like LoadRunner, >>> open source Apache JMeter, you can build something >>> yourself on top of Junit or Cactus, you can build >>> something yourself from scratch. >> There is also apachebench for simple cases. >>> >>> To be able to test #1 you need to be able to mock >>> the backend with something you can control responsiveness >>> for. >> Yup, I've seen commercial products that do this (ParaSoft Virtualize is >> one such thing). Though the license model doesn't really suit >> small-scale load-testing. >> >> We started working on our own home-grown solution, but if there are >> other solutions to that problem, I'd love to know about them. We're most >> interested in HTTP backend simulation, we don't need to worry so much >> about the DB stuff, at least not for my team. > > I would write the mock stuff myself. I would expect the specific > requirements to be so special that I doubt there will be a good > COTS solution. Again, ParaSoft Virtualize appears to be very good. It supported many different protocols (HTTP, various DBs, etc...) but just too expensive for what we needed. The type of product exists, but I've only found one example of it, and we don't want to pay that much for it.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
What load testing solutions do you use? Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-04-03 11:19 -0700
Re: What load testing solutions do you use? Arne Vajhøj <arne@vajhoej.dk> - 2012-04-03 19:20 -0400
Re: What load testing solutions do you use? Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-04-03 16:41 -0700
Re: What load testing solutions do you use? Arne Vajhøj <arne@vajhoej.dk> - 2012-04-03 19:44 -0400
Re: What load testing solutions do you use? Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-04-03 17:02 -0700
Re: What load testing solutions do you use? Wayne <nospam@all.invalid> - 2012-04-05 13:38 -0400
Re: What load testing solutions do you use? Scott Price <scottp@customercentrix.com> - 2012-04-07 10:50 -0700
csiph-web