Get your CodeRanch badge!*
The moose likes Performance and the fly likes Java application performance testing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "Java application performance testing" Watch "Java application performance testing" New topic
Author

Java application performance testing

venkat kondarapu
Greenhorn

Joined: Jul 22, 2004
Posts: 5
Hi Friends,
we have developed J2EE application and it seems to me is that the performance of the application is little slow.Please advice me any free java/j2ee application performace testing tools.


SCJP
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
JProfiler or some other profiler product would tell you where you're spending those precious CPU cycles, memory, and about how your application's threads behave. If you don't want to spend $$$ on the profiler, try this Eclipse plugin. There are others, of course.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
venkat kondarapu
Greenhorn

Joined: Jul 22, 2004
Posts: 5
Did you try Jmeter.Does it work for me for testing J2ee Applications
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Originally posted by venkat kondarapu:
Did you try Jmeter.Does it work for me for testing J2ee Applications
Yes, I have tried JMeter. It's probably one of the best free load testing tools available but it doesn't really tell you where the problem is. It just tells you that there is a problem.
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
Hi all,

Which are best monitor tool used in java/j2ee application ??


SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand
J. B. Rainsberger
author
Ranch Hand

Joined: Aug 05, 2004
Posts: 87
It is important to quantify system performance and to identify your performance goals before deciding how to go about reaching them. If you don't know how fast the system needs to be, then how do you know when you've reached that point?

I strongly recommend specifying a performance goal, like this:

The system must respond within 750 ms, 90% of the time, with a load of 100 users.

Just change the numbers. The nice thing about this is, not only do you have a specific goal, but you can write a test for it!


Author of <a href="http://www.amazon.com/exec/obidos/ASIN/1932394230/ref=jranch-20" target="_blank" rel="nofollow">JUnit Recipes: Practical Methods for Programmer Testing</a>
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Originally posted by somkiat puisungnoen:
Which are best monitor tool used in java/j2ee application ??

If you're looking for products in "the bigger the better" category, then I guess Mercury LoadRunner is number one. The scripting facilities are horrible but relatively feature rich. Things might've changed in the newer versions.

In the profiler category, the best selling products are probably JProbe and Optimizeit. JProfiler has also been showing up here and there lately.
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Moving this to the Performance forum...


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Java application performance testing
 
Similar Threads
J2EE application Performance testing ??
any positions for performance tuning/benchmarking ?
MVC, J2EE, Performance question
Greetings! - "J2EE Performance Testing" book promotion
Weblogic Server performance