You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Srinims <sr...@aztec.soft.net> on 2006/08/02 07:34:06 UTC

Problem with Jmeter

Hi ,

I have designed a load test  with the use case being the login scenario for
an application .
Now my test details are as follows :

No of Threads :1
Ramp up period  -1 sec

Forever option checked 

Run duration - 600 secs

Now the tests complete when I start with 1 thread and increase to 25 threads
( keeping the run duration constant) 

This test has been data bound to a CSV file to pick up user names and
passwords.
Now when the test completes the "Green indicator" in Jmeter goes off and the
Jmeter.log file says that the test has completed .

Now when I increase the number of threads beyond 30 , the test continues to
run and does not complete even after 45 mns . Fail to understand why :(
Pls help me out with this .

Rgds
Sri
-- 
View this message in context: http://www.nabble.com/Problem-with-Jmeter-tf2037855.html#a5608074
Sent from the JMeter - User forum at Nabble.com.

Re: Problem with Jmeter

Posted by sebb <se...@gmail.com>.
On 02/08/06, Srinims <sr...@aztec.soft.net> wrote:
>
> Hi Sebb ,
>
> I am using Jmeter 2.2 . JVM is 1.4.2_03-b02. OS - WInXP with SP2 .
> The IIS server that I am hitting is on WIn2003 server box .

Might be worth updating the JVM - current release is 1.4.2_12.

> Even with the current setting i.e 22 threads/sec for a 10mn duration  tha
> max no of threads that could exist at the 10th minute is 220 which would
> never be the case bcoz some threads would have completed execution by then

Well, in that case run the test for longer, and/or reduce the ramp-up a bit.
Trying to start every thread at once is likely to cause problems.


> .I presume that my P4 machine (3 GHz) with 1 GB  RAM could support at least
> 150-225 threads .

Depends on the contents of the test. If there are lots of listeners
and assertions etc, it may be fewer.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


RE: Problem with Jmeter

Posted by Srinims <sr...@aztec.soft.net>.
Hi Oliver ,

I was wondering if it could be specific to Jmeter 2.2 (not sure though)
Maybe I am missing something else here .I used Jmeter 2.1 on  the same box
and was able to go about 200  threads ( No of threads =200 , Ramp up period
=5 secs)
In this case I am sure that 200 threads don't accumalate to be fired at the
end of the 10th minute .
COuld it be a bug .I left the tests overnight (it was supposed to complete
in 10 mns as per the duration set) but it  went on :((( endlessly .

The other thing that i wanted to know is "Testing of AJAX apps using Jmeter
"
How would u simulate a HTTP Request with an XML payload ?
Secondly what  is the response time  in case of AJAX apps considering that
you could have javascript making multiple asynchronous calls behind the
scenes ?
How would I know end to end response time for AJAX apps ?
I presume that the response time that Jmeter displays now is the end to end
time - Time for request + Processing time at the server + network latency
time .
I also presume that when we say Throughput  in Jmeter it referrs to
"requests/sec " or "Transactions/sec"  in terms of the processing capability
of the application .
Pls correct me if I am wrong .

-- 
View this message in context: http://www.nabble.com/Problem-with-Jmeter-tf2037855.html#a5626807
Sent from the JMeter - User forum at Nabble.com.

RE: Problem with Jmeter

Posted by "Oliver Erlewein (DSLWN)" <Ol...@datacom.co.nz>.
Hi Srinims,

My experience is that Java seems to get unstable at about 70 threads
(dependant on script). The thread switching within Java does not seem to
be the best (i.e. you have limitations on Java). I'd go for Java
1.5.0_0x at least as it includes a lot of bugfixes. 

Use Linux instead of Windows because Windows has too much overhead. It's
OK to design your Jmeter tests on Windows and do trial runs but for
execution I'd use some Unix. If the script is a little more complex
(i.e. you load more than one static page) 220 threads is way too much.
You will probably also notice that Jmeter (actually Java) will influence
your response times significantly because the threads can't keep up and
these delays are included in the measurements. 

What I did (under Linux) is start more than one jmeter server. The
context switching of the OS is better than that of Java. i.e. run
multiple Jmeter instances with about 50 threads each and then merge the
test results after the test. You can't use the client/server option in
Jmeter but you'll have to do this manually. 

This is based upon my experiences with Jmeter 2.1.1. I have not yet
managed to run big tests on 2.2.

Cheers Oliver


-----Original Message-----
From: Srinims [mailto:srinivass@aztec.soft.net] 
Sent: Thursday, 3 August 2006 01:52
To: jmeter-user@jakarta.apache.org
Subject: Re: Problem with Jmeter


Hi Sebb ,

I am using Jmeter 2.2 . JVM is 1.4.2_03-b02. OS - WInXP with SP2 .
The IIS server that I am hitting is on WIn2003 server box .
Even with the current setting i.e 22 threads/sec for a 10mn duration
tha max no of threads that could exist at the 10th minute is 220 which
would never be the case bcoz some threads would have completed execution
by then .I presume that my P4 machine (3 GHz) with 1 GB  RAM could
support at least
150-225 threads .

srini
--
View this message in context:
http://www.nabble.com/Problem-with-Jmeter-tf2037855.html#a5614215
Sent from the JMeter - User forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Problem with Jmeter

Posted by Srinims <sr...@aztec.soft.net>.
Hi Sebb ,

I am using Jmeter 2.2 . JVM is 1.4.2_03-b02. OS - WInXP with SP2 .
The IIS server that I am hitting is on WIn2003 server box .
Even with the current setting i.e 22 threads/sec for a 10mn duration  tha
max no of threads that could exist at the 10th minute is 220 which would 
never be the case bcoz some threads would have completed execution by then
.I presume that my P4 machine (3 GHz) with 1 GB  RAM could support at least
150-225 threads .

srini
-- 
View this message in context: http://www.nabble.com/Problem-with-Jmeter-tf2037855.html#a5614215
Sent from the JMeter - User forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Problem with Jmeter

Posted by sebb <se...@gmail.com>.
Try setting the ramp-up to 5 or 10 seconds.

Is there any message in the console window?

What version of JMeter and JVM and OS?

On 02/08/06, Srinims <sr...@aztec.soft.net> wrote:
>
> did that Glen , But didn't solve my problem .Nothing logged that would help
> me  find the root cause .
> --
> View this message in context: http://www.nabble.com/Problem-with-Jmeter-tf2037855.html#a5613782
> Sent from the JMeter - User forum at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


RE: Problem with Jmeter

Posted by Srinims <sr...@aztec.soft.net>.
did that Glen , But didn't solve my problem .Nothing logged that would help
me  find the root cause .
-- 
View this message in context: http://www.nabble.com/Problem-with-Jmeter-tf2037855.html#a5613782
Sent from the JMeter - User forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org