How to make performance tests on Java? Such as time of execution, a track of using memory, a track of operations per second and may be there are another helpful tests. How to realize this tests without an influence to the real application work (without this test)? I mean that I could be confident that my application would be work with the same performance on average without those tests.
Note: I need to attach a specific tool to my test class. I know that there is many different tools to test a huge amount of VM parameters of an application. I need to write a test class with distinct test parameters which values I can handle as I want. It would be good if API supported graphical GUI for some those parameters.
You can use tools like jconsole, visual vm especially for the memory. These come bundled with the Jdk.
As for the speed of your application, typically log messages can help you with that. If the log messages follow a standard you can pretty much write your own script to give you a pretty formatted result. Also, it is a good idea to write test classes to give you a fair idea of the performance for varying loads.
http://visualvm.java.net/gettingstarted.html