aspose file tools*
The moose likes Performance and the fly likes How to Simulate (parameterise)10 or 50 concurrent user for the JMeter 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 » Performance
Bookmark "How to Simulate (parameterise)10 or 50 concurrent user for the JMeter" Watch "How to Simulate (parameterise)10 or 50 concurrent user for the JMeter" New topic
Author

How to Simulate (parameterise)10 or 50 concurrent user for the JMeter

Kapil More
Greenhorn

Joined: Sep 09, 2004
Posts: 4
Hello Everybody,
I need some help using the JMeter,i want to simulate JMeter for 10/50 users with each user logging with unique userid & Password for testing a application


Kapil N.More<br />Software Testing Engineer
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12675
    
    5
What kind of application?
If a web application, you can use HttpClient to emulate a user load.
Bill


Java Resources at www.wbrogden.com
Kapil More
Greenhorn

Joined: Sep 09, 2004
Posts: 4
Hi,
Thanx for the reply.
We are using Web Based Application for Performance Testing ,so for that we want to simulate the User Load.
I had gone through the features of the JMeter but i didn't find anything related HTTP Client so can u help me about this issue.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12675
    
    5
I should have been more specific - HttpClient is a toolkit of classes that lets you simulate any HTTP connection. See http://jakarta.apache.org/commons/httpclient/ for more information and the free code. Here is a short chunk of code to give you an idea of how simple it is.


The whole load creating class was of course much more complex - each Thread logged into my servlet and ran through a test of 43 questions, generating responses according to a script in XML. As many as 50 simulated users (Threads) were created.
In order to really stress the system, it was set to simulate sending an answer and getting the next question every 5.0 seconds with random variation of +-0.5 seconds.
In the stiffest test, I was running 2 simulators on two different computers
to give a load of 100 users at the same time, I saw a lot of ethernet collisions and some of the users got dropped due to not allowing retrys.

Another popular tool is HttpUnit -
see this sourceforge page.
Bill
[ September 10, 2004: Message edited by: William Brogden ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to Simulate (parameterise)10 or 50 concurrent user for the JMeter
 
Similar Threads
Simulating Multilple user withJMeter for Performance Testing
Session clash
How to test performance in a webapp?
Capacity planing for software & Hardware
Ldap JMS testing through JMeter gives illegal state exception