• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Performance tools - any reccomendations?

 
Elangovan Shanmugam
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • 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
 
Shariquddin Mohammed
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Thanks Ulf, thats pretty helpful!
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!