This content has been marked as final.
Show 3 replies
-
1. Re: JSFUnit Performance Testing Tool
jgilbert Nov 19, 2007 11:42 PM (in response to ssilvert)are there any limitations with using JUnitPerf with JSFUnit?
-
2. Re: JSFUnit Performance Testing Tool
ssilvert Nov 20, 2007 8:28 AM (in response to ssilvert)"jgilbert" wrote:
are there any limitations with using JUnitPerf with JSFUnit?
I haven't tried JSFUnit and JUnitPerf together, but I don't see anything that makes me think it wouldn't work.
JUnitPerf's TimedTest looks pretty straightforward. I don't think you would have any problems with that. JSFUnit's JSFTimer is timing each phase of the JSF lifecycle. JUnitPerf is looking end-to-end including client setup time.
I would use the JUnitPerf LoadTest more for concurrency testing than for load testing. As they say in the doc, it's not meant to be a full-fledged load testing tool. This would be even more true with JSFUnit because you are running clients on the same box as the server. If you did a LoadTest with 10 clients then that would mean it creates 10 threads on your server for the clients. Then you would have up to 10 concurrent JSF requests which would need to use 10 more threads for server-side request handling.
Come to think of it, JUnitPerf LoadTest would be a good tool for me to use in testing concurrency of JSFUnit itself.
If you try it out, please report your findings back here. I think overall it looks like a good solution.
Stan -
3. Re: JSFUnit Performance Testing Tool
jgilbert Nov 20, 2007 10:28 AM (in response to ssilvert)Thanks. Sounds like the combination would be powerful. I like using JUnitPerf for basic day to day performance testing to help catch the glaring perf issues before going to heavy duty performance testing.