• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Java Performance tools - any reccomendations?

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, I am planning to do some performance testing for my new REST based product. The technologies involved in building my software include, Jboss, Hibernate (JPA), Core Java, RestEasy.

Could you please suggest any tools such as profiler, client side tools, monitors, etc, that I can use to measure performance?

Thanks
Elangovan S
 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Since most of the technologies mentioned use the underlying JVM, you might want to start with monitoring the JVM. Also you might want to use some load testing tool to generate load, this exercise will allow you to gather more client side metrics.

Best,
 
Elangovan Shanmugam
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the suggestion. As I am so new to this area could you please list what are the tools that I can use to monitor the JVM and what kind of load test tools.

Thanks
Elangovan S
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The VisualVM tool comes with the JVM and can do a number of things out of the box, or with the help of plugins. Since you're working on a web app, check out JAMon as well.
 
Elangovan Shanmugam
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Ulf, thats pretty helpful!
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have used the open source apache HTTPClient for load testing - particularly helpful if you need browser simulation. Otherwise basic Java HTTPUrlConnection and friends will let you create simple client simulations.

Bill
 
Shariquddin Mohammed
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think the choice of load test tools depends upon the userload you want to generate and the kind of metrics you want to collect. For JVM monitoring VisualVM is pretty good. Also there are a number of command line arguments you can pass and collect the metrics at specific intervals.

Some of the good open source tools for web applications (http) currently available would be JMeter, Open STA (involves scripting) etc. You also have number of commercial choices available. Again this depends on the protocol you want to test, the user load and the kind of metrics you would want to collect.
 
Elangovan Shanmugam
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Shariquddin and William. These are very helpful. Appreciate it a lot.

I am exploring JMeter for http testing and VisualVM for monitoring at the server side.

thanks
Elangovan S
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic