File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Multiple Requests 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 » JSP
Bookmark "Multiple Requests" Watch "Multiple Requests" New topic
Author

Multiple Requests

sumeet Jain
Greenhorn

Joined: May 25, 2006
Posts: 8
Hi All,

I wanted to ask how can I create multiple requests ? I wanted to understand how does load testing tool which test online applications create/simulate 400 online users at a time ?Like for a struts application invoking 400 *.do at the same time .Mind you 400 because we have a lincense for 400 users :P .
Can I change my code say a simple jsp so that it can simulate two users ?
Any ideas on this ?

Cheers,
Sumeet
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12675
    
    5
Your JSP code will work for 1 or many users if you have built it right.
I have used the open source HttpClient toolkit to simulate hundreds of "simultaneous" users request/response cycles. This toolkit will handle cookies and generally provide tools to let you simulate a typical user load.
Bill


Java Resources at www.wbrogden.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Multiple Requests
 
Similar Threads
jrun 4 performance...
JMeter: Multiple different logins with a once only controller
creating Chat using Servlets
load test simulator
UB search result view problem