Reputation: 1532
I have a J2EE web-application running on Sun hardware with OpenSolaris/Glassfish
stack. We're starting our performance bench-marking tests, to prepare for our scalability requirements later.
Any guidelines/best practices would be very useful..
Upvotes: 3
Views: 709
Reputation: 387
For a free Open Source tool I've found Apache's Jmeter pretty good: http://jmeter.apache.org/
As Joe said you'll need to figure out how to model user behaviour and simulate user load.
Upvotes: 1
Reputation: 755
If you are using JUnit? For simple Time Measurement in JUnit there is JUnitPerf which also supports LoadTests. JUnit 4 is not supported very well but it works for me. ContiPerf is an alternative which also supports annotations for easy configuration. I use this before using JMeter.
Upvotes: 1
Reputation: 3304
I'm sure there is many generic ways to test server performance to be found on the web.
But have you thought that perhaps this an opportunity to gather stories and write a test tuned to exactly how your users will use the server? Even if it doesn't perfectly reflect the way that the server will ultimately work, it will let you start learning something rather than being only formal exercise. I think this is the spirit of agile development.
Upvotes: 0