I'm trying to write a servlet which will test my server increasing the load on it.i invite suggestions as how to go about writing this servlet.. thanks in advance
Frank Carver
Sheriff
Joined: Jan 07, 1999
Posts: 6913
posted
0
Is there any particular reason why your load tester should be a servlet? Most load testers that I have seen have just been regular "client" applications.
Hello Frank, We just thought before going in for any standard load test software,that if we could simply build our own simple tool like a servlet to arrive at results.
Frank Carver
Sheriff
Joined: Jan 07, 1999
Posts: 6913
posted
0
I understand, but why build your tool as a servlet. Servlets are good at responding to HTTP requests, and no better than any other Java code at making requests to other servers. Or am I misunderstanding what you want to do with this load tester?
John Bateman
Ranch Hand
Joined: Mar 09, 2000
Posts: 320
posted
0
Hi A problem you may have making your load test a servlet is that as the server gets more and more overloaded your tester gets less and less productive. Go to http://www.apache.org and get jMeter it's a great testing tool. It can also be extended if you want to make/add your own changes. But, if you are doing it just to practice your java I would suggest making a swing app or something not soo tied into the server you are going to 'blast to hell'.