jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Kapinos" <Steve.Kapi...@tandberg.com>
Subject RE: Limit concurrent number of threads using Constant Throughput Timer?
Date Wed, 21 Jan 2009 16:26:58 GMT
Why not set it to 50 threads... loop forever.. and put a test action in
to stop each thread when it reaches EOF from the CSV file.  Simple if
your variables are EOF, then end thread.  Eventually as each thread
finishes its current task.. it will read in EOF on the next loop and
stop gracefully.

-----Original Message-----
From: Pieter P [mailto:pieter@porthome.nl] 
Sent: Wednesday, January 21, 2009 11:07 AM
To: jmeter-user@jakarta.apache.org
Subject: RE: Limit concurrent number of threads using Constant
Throughput Timer?


Hi Adrian,

I've configured the number of threads to 3000 such that all test cases
from
the .CSV file will be executed. When setting the number of threads to
50,
only the first 50 test cases will be executed..

Regards, Pieter

AdrianF wrote:
> 
> 
> Hi  Pieter,
> 
> If you set the number of threads to 50 instead of 3,000, you will
never
> have
> more than 50 http connections. Is this sufficient?
> 
> Regards,
> 
> Adrian
> 
> -----Original Message-----
> From: Pieter P [mailto:pieter@porthome.nl]
> Sent: 21 January 2009 15:39
> To: jmeter-user@jakarta.apache.org
> Subject: Limit concurrent number of threads using Constant Throughput
> Timer?
> 
> 
> *************************************
> 
> This e-mail has been received by the Revenue Internet e-mail service.
(IP)
> 
> *************************************
> 
> 
> Hello,
> 
> I'm using JMeter 2.3.2 to functionally test my web server.
> 
> I have defined one Thread Group that uses a .CSV file to execute 3000
> different test cases. Each test case sends an XML file over HTTPS
(using a
> sampler) and parses the response. Some test cases take 90 seconds to
> execute
> by the webserver, and some test cases only 0.5 seconds.
> 
> The problem is that the web server starts malfunctioning if it handles
> more
> than 50 concurrent transactions. The number 50 is configured, but
cannot
> be
> changed because of other requirements.
> 
> I have set the number of Threads to 3000 and the ramp up period to
3000
> seconds. Since some test cases require 90 seconds to execute, more
than 50
> transactions will be executed concurrently at some time, causing the
web
> server to malfunction.
> 
> What I would like to achieve is to limit the amount of concurrent
HTTPS
> connections to my webserver.
> 
> I have read that the Constant Throughput Timer can be used to create
> time-waits based on other variables than transaction-throughput, for
> example
> based in the amount of currently running threads. I could not figure
out
> how
> to implement this, though..
> 
> Is it possible to limit the amount of concurrent HTTPS connections
using a
> Constant Throughput Timer in the Thread Group? Do different solutions
> exists?
> -- 
> View this message in context:
>
http://www.nabble.com/Limit-concurrent-number-of-threads-using-Constant-
Throu
> ghput-Timer--tp21585628p21585628.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> 
> ************************
> 
> This message has been delivered to the Internet by the Revenue
Internet
> e-mail service (OP)
> 
> *************************
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> 

-- 
View this message in context:
http://www.nabble.com/Limit-concurrent-number-of-threads-using-Constant-
Throughput-Timer--tp21585628p21586216.html
Sent from the JMeter - User mailing list archive 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


Mime
View raw message