You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by praveen tiwari <pr...@gmail.com> on 2018/07/26 04:58:08 UTC

Re: Jmeter sample count

And what will be no. Of threads...now the scenario is that I need to do
endurance testing for 4 hours..and send 1 request per second...



On Mon 18 Jun, 2018 9:41 am glinius@live.com, <gl...@live.com> wrote:

> You are *not* sending 1 request per 1 second, JMeter tries to send requests
> as fast as it can for 15 minutes and the number of threads will vary
> depending on the response time.
>
> The only way of getting exactly 900 hits in your setup is placing your
> request under a  Throughput Controller
> <
> http://jmeter.apache.org/usermanual/component_reference.html#Throughput_Controller>
>
> , choose "Total Executions" mode and set "Throughput" to 900.
>
> If you additionally want to limit JMeter's throughput to 1 request per
> second you can achieve this in 2 ways:
>
>  1. Using  Constant Throughput Timer
> <
> http://jmeter.apache.org/usermanual/component_reference.html#Constant_Throughput_Timer>
>
> and configure it to send 60 samples per minute
>
>  2. Using  Throughput Shaping Timer
> <https://jmeter-plugins.org/wiki/ThroughputShapingTimer/>   which is more
> advanced and under some conditions precise version of the Constant
> Throughput Timer using Start and End RPS as 1 and 900 seconds as duration.
> You can install Throughput Shaping Timer using  JMeter Plugins Manager
> <https://www.blazemeter.com/blog/how-install-jmeter-plugins-manager>
>
>
>
> --
> Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>