my dog learned polymorphism*
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Performance testing" Watch "Performance testing" New topic
Author

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
    
    1
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: 861
<<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. http://jamonapi.sourceforge.net/http_monitoring.html
[ October 02, 2007: Message edited by: steve souza ]

http://www.jamonapi.com/ - a fast, free open source performance tuning api.
JavaRanch Performance FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Performance testing