Web Hosting Talk







View Full Version : Load testing on tomcat


brunod76
08-06-2004, 02:14 PM
Hi all!

I wish to load test my web application that is running on a tomcat server. Has anybody had experiences with JMeter? We have lots of dynamic parameters to set in our requests and JMeter looked like a fine solution to use, but I have noticed some weird results using it so far. First off it's a java app so it eats up lots of resources just running the test software and I have doubts that the software itself is showing results that are slower than they should be. I have tried another software (a windows c++ program) which shows me faster results... Any suggestions? Should I stay away from JMeter?? What other software would you recommend?

I have created a bunch of users in my database and would wish to simulate having people using different logins in our app (because basicly we save information on users and in their sessions also).

Thanks!

brunod76
08-06-2004, 07:40 PM
anyone?

Have a nice weekend I'll get back on this monday.... I already have some insight on this I'll post my vues on monday :)

pnorilsk
08-07-2004, 10:15 AM
It will depend on what you want to achieve. The answer on this question will result in a selection of proper methodology and testing tools. There are many on the market, start for instance with suit of products from Mercury Interactive.
I found JMeter as not the most convenient tool for performance testing of Web centric applications.

Peter Kinev.

brunod76
08-09-2004, 11:45 AM
Well basicly what we want to achieve is load testing and stress testing on our web application, not the webserver itself. We have good hardware and bandwith available so we trust that the bottlenecks are not yet in the server itself but rather in our application. So basicly we need a test tool that simulates request and measures the times to get the responses.

I did some further testing on friday and found myself that JMeter isnt all that great. Results don't seem to match reality, for instance if I simulate a load of 20 users on our home page JMeter was measuring an average time of about 6 to 10 seconds, but during the same time I loaded the page myself (removing all the images and other cached items from IE's cache) and it would load in no more than 1 to 2 seconds (while the tests were actually running).

Which product of Mercury do you mean, Load Runner?

Thx!

pnorilsk
08-09-2004, 07:09 PM
Actually, yes. LoadRunner will do the job.

Peter.