How do i write a servlet to simulate connections to a web site?
Joined: Nov 15, 2000
could u explain a little wht do u mean by simulating a web connection through servlet?
Joined: Mar 16, 2001
Originally posted by Ghazanfar Qureshi: could u explain a little wht do u mean by simulating a web connection through servlet?
Simulating connections means establishing the number of connections we want on the web. If we want to simulate 10 connections it means we want to make it like 10 users are working on it.
Joined: Mar 09, 2000
Hi Since a servlet is an extension of the server, you can't make a servlet connect to itself. Or, I should sya you wouldn't want to. If you want to load test a site I suggest you go to http://www.apache.org and get jMeter. It's a full javatesting application made just for the purpose you are describing. Hope this helps.