Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Multiple Requests

 
sumeet Jain
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic