Performance Testing Recommendations

I have a J2EE web application running on Sun hardware with a OpenSolaris/Glassfishstack. We begin our performance tests to prepare for our scalability requirements later.

Any recommendations / recommendations would be very helpful.

+3
source share
3 answers

I am sure that there are many common ways to test server performance on the Internet.

But did you think that perhaps this is an opportunity to collect stories and write a test set up exactly how your users will use the server? Even if it does not fully reflect how the server will ultimately work, it will allow you to start learning something, and not just be a formal exercise. I think this is a spirit of agile development .

0
source

For a free open source tool, I found Apache Jmeter pretty good: http://jmeter.apache.org/

As Joe said, you need to figure out how to simulate user behavior and simulate user load.

+1
source

Should you use 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 that also supports annotations for easy customization. I use this before using JMeter.

+1
source

Source: https://habr.com/ru/post/1702856/


All Articles