File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Performance testing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Performance testing" Watch "Performance testing" New topic

Performance testing

Kah Tang
Ranch Hand

Joined: Sep 10, 2007
Posts: 58
I read that the book covers performance testing. Does it cover any specific tools for performance testing like JMeter?
Justin Chu
Ranch Hand

Joined: Apr 19, 2002
Posts: 209
Just want to add similar question:

Any notable performance stats?
With the new release, what type of usage will you now recommend Tomcat as the primary server? What type of web server usage will you not recommend Tomcat?
steve souza
Ranch Hand

Joined: Jun 26, 2002
Posts: 862
<<Does it cover any specific tools for performance testing like JMeter?>>
JAMon allows you to monitor many things about the response, and request and requires no changes to your application. For example you can have performance metrics for all pages (i.e. hits/avg/max) as well as which pages are currently executing. You can also see stats for http status codes (i.e. how many http status codes of 200/404/... have been invoked). And also how many bytes are returned for each page. You can also view exception stack traces and more.

Enabling jamon just takes a minute. Make a modification to server.xml, and install jamon-2.7.jar and jamon.war in tomcat.

JAMon does more than performance monitoring. It is a window into what is currently happening inside your program. It also monitors jdbc/sql, log4j (also allows you to 'tail' the log in real time via a web page), and ejb's (via an ejb interceptor).

This link has more info on monitoring tomcat.
[ October 02, 2007: Message edited by: steve souza ] - a fast, free open source performance tuning api.
JavaRanch Performance FAQ
I agree. Here's the link:
subject: Performance testing
It's not a secret anymore!