File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes simulating connections Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "simulating connections" Watch "simulating connections" New topic
Author

simulating connections

kirupa shankari
Greenhorn

Joined: Mar 16, 2001
Posts: 8
How do i write a servlet to simulate connections to a web site?


kirupaks
Ghazanfar Qureshi
Greenhorn

Joined: Nov 15, 2000
Posts: 20
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
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
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 java testing application made just for the purpose you are describing.
Hope this helps.


SOURCE CODE should be SURROUNDED by "code" tags.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: simulating connections
 
Similar Threads
what is needed to find a job with java?
How to get connection at each request?
Need urgent help
Sending a Broadcast ..
How long time can I keep a database connection open?