From: Dantes, E. <Ed....@gd...> - 2005-06-02 20:30:06
|
Hi all, Ok, this is a straightforward question, and I hope there is a way to resolve this. I have written a JUnit test case and TestSuite using HtmlUnit and JUnitPerf for load ramping. Now running through the application with one user was no problem whatsoever, though it had a ton of JavaScript and DHTML elements, I was able to hack HtmlUnit to get it to do what I wanted it to do. My goal however is to simulate as many users as I can, hoping ultimately to find a breaking point. I ran two users, with no problems but when I get to three, the program runs for around 10-15 min, before timing out with an 'out of memory' error. Earlier David suggested that I modify the JVM max heap, and which I did : %java -Xmx512m -version...and to my surprise it ran much slower than the previous and still gave me an out of memory error. Also, this application requires a login and username, and will not allow you to log in with the same username and password, if already logged in, hence the various testsuites: user1, user2, etc..I figure I should be able to do this, since I can easily bring up 5 mozilla windows with the different users and do what I need to do...Anyone have any tips or suggestions on what I can do?, or is there another tool (open source, whatever) for load simulating out there, that can help me with my problem..I honestly dont think it is HtmlUnit itself, I might just need a new framework for simulating loads... Thanks for everyones help! Thanks Ed=20 |