I am working on a Web application, that uses servlets and applets.
I want to profile the Java code, for memory leaks, performance issues and the like. Will JMETER help me do that.
Regards Mahesh
Mahesh Trikannad
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 32769
posted
0
No. JMeter is a load-test tool. It can stress-test your application by generating a lot of load, and measure response times and throughput. But you still need to profile your code. Java has a built-in profiling tool -hprof- (which very much impacts performance, so you can't use it and still expect meaningful performance numbers), and an API for external tools (JVMPI). If you search through SourceForge you'll find plenty of options; I can't comment on their quality. One commercial tool I've heard good things about is JProbe.
there is one JMETER which can help You. It's HPJMeter. You can download it from http://www.hp.com/products1/unix/java/hpjmeter/. It can be used to profile your application. I found it very useful in the past.