How do i write a servlet to simulate connections to a web site?
kirupaks
Ghazanfar Qureshi
Greenhorn
Joined: Nov 15, 2000
Posts: 20
posted
0
could u explain a little wht do u mean by simulating a web connection through servlet?
kirupa shankari
Greenhorn
Joined: Mar 16, 2001
Posts: 8
posted
0
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.
John Bateman
Ranch Hand
Joined: Mar 09, 2000
Posts: 320
posted
0
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.