You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Jose Pablo Sarco <jo...@ar.neoris.com> on 2008/11/18 14:09:20 UTC

How calculate Throughput?

Hi all,

 

I'm using Jmeter 2.3.2 on XP. I'm trying to process the CSV file
generated by Jmeter listeners, but I have some problems with Throughput
calculation. I found some definitions like:

 

*Throughput = Number of requests / Total time to issue the requests.

*For a single request, the throughput depends only on the time to issue
a single request.

*For multiple requests, the throughput depends also on the gaps between
the requests. E.g. if a request is issued every 30 seconds, the
throughput will be 2/min, and is largely independent of the time each
request takes.

 

I understood the definition for a single request (1/elapsed), but I
don't understand very well how calculate it when I have multiple
requests, I tried with: samples number/samples elapsed
(3/(elapsed1+elapsed2+elapsed3)), but the result is different to the
Throughput displayed by the aggregate listener.

 

Somebody know the formula to calculate the Throughput for multiple
requests?

 

 

Regards,

 

Jose

 


#################################################################################################################
Este documento puede incluir informaci�n confidencial y propiedad de Neoris y deber� ser le�do solamente por la 
o las personas a quienes est� dirigido. Si usted ha recibido este mensaje por error, por favor avise 
inmediatamente al remitente contestando y eliminando este correo. Cualquier punto de vista u opiniones expresadas 
en este mensaje son del remitente y no necesariamente coinciden con aquellas de Neoris. Este documento no deber� 
ser reproducido, copiado, distribuido, publicado, ni modificado por terceros sin la autorizaci�n por escrito de Neoris. 

Este mensaje ha sido verificado contra virus. Vis�tenos en www.neoris.com. 
#################################################################################################################

Re: How calculate Throughput?

Posted by sebb <se...@gmail.com>.
On 21/11/2008, Jose Pablo Sarco <jo...@ar.neoris.com> wrote:
> Sebb,
>
>  Please, could you give me in pseudocode the steps to calculate the throughput for multiple requests? Or could you tell me in which class Jmeter calculate it?

I already explained this in my previous e-mails.

>  Thanks in advance!!
>
>
>  Jose
>
>
>
>
>  -----Original Message-----
>  From: Jose Pablo Sarco
>  Sent: Martes, 18 de Noviembre de 2008 06:26 p.m.
>  To: JMeter Users List
>
> Subject: RE: How calculate Throughput?
>
>  Yeah, I select a single label at a time, so I can get the Throughput for that label...I don't know where I have an error in my code....
>
>  I use the aggregate graph, but, I don't think the problem could be Jmeter....may be I miss some step....I don't know...
>
>
>  Thanks,
>
>  Jose
>
>
>
>  -----Original Message-----
>  From: sebb [mailto:sebbaz@gmail.com]
>  Sent: Martes, 18 de Noviembre de 2008 06:12 p.m.
>  To: JMeter Users List
>  Subject: Re: How calculate Throughput?
>
>  On 18/11/2008, Jose Pablo Sarco <jo...@ar.neoris.com> wrote:
>  > Sorry, I understand the last mail, but I don't know why I can't get it. I did the following:
>  >
>  >  *select a label name
>  >  *search the min (timestamp) for labels with the name selected
>  >  *search the max (timestamp + elapsed time) for labels with the name selected
>
>  In each case, you must only match on a single label at a time.
>
>  >  *calculate the difference between max and min
>  >  *calculate Throughput= (number of samples/ difference between max and min) * 1000
>
>  >  It works well when I have 1 sample, but doesn't work when the number of samples is greater than 1.
>  >
>  >  With that code, for a label I have Throughput = 0.0999170557547; with Jmeter I have Throughput= 0.03220809002805324.
>  >
>  >  I missed something?
>
>  Possibly.
>
>  I just ran a test using the Summary Report and it works fine for me.
>
>  >  Please, any advice.
>
>  Which Listener are you using?
>
>  Did you clear the previous results before testing?
>
>  Try saving the results as CSV so you have a fixed sample to work from.
>  You can then run the analysis and also use JMeter to reload and check
>  the values.
>
>  If you still cannot get it to work, then send me a copy of the CSV
>  file privately.
>
>  >  Thanks,
>  >
>  >
>  >  Jose
>  >
>  >
>  >
>  >  -----Original Message-----
>  >  From: sebb [mailto:sebbaz@gmail.com]
>  >
>  > Sent: Martes, 18 de Noviembre de 2008 12:18 p.m.
>  >  To: JMeter Users List
>  >  Subject: Re: How calculate Throughput?
>  >
>  >  On 18/11/2008, Jose Pablo Sarco <jo...@ar.neoris.com> wrote:
>  >  > Ok, but, how I can calculate the total time from the start of the first sample to the end of the last sample with only the jtl file? I can't use the timestamp because different requests are trigger between the start and the end request that I'm calculating.
>  >  >
>  >
>  >  Why not?
>  >
>  >  The JTL file will have the timestamp (default start-time) and elapsed
>  >  time of each request.
>  >
>  >  Just keep track of the minimum start-time and maximum end-time
>  >  (start+elapsed) for each request you are interested in. At the end,
>  >  take the difference.
>  >
>  >  This is necessary since entries are not necessarily in exact order of
>  >  start time - for example, if request 1 takes 2 seconds, and request 2
>  >  starts shortly after request 1 but only takes 1 second, then the
>  >  sample for request 2 will appear in the log before request 1.
>  >
>  >  >  Regards,
>  >  >
>  >  >  Jose
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >  -----Original Message-----
>  >  >  From: sebb [mailto:sebbaz@gmail.com]
>  >  >  Sent: Martes, 18 de Noviembre de 2008 11:26 a.m.
>  >  >  To: JMeter Users List
>  >  >  Subject: Re: How calculate Throughput?
>  >  >
>  >  >  On 18/11/2008, Jose Pablo Sarco <jo...@ar.neoris.com> wrote:
>  >  >  > Hi all,
>  >  >  >
>  >  >  >
>  >  >  >
>  >  >  >  I'm using Jmeter 2.3.2 on XP. I'm trying to process the CSV file
>  >  >  >  generated by Jmeter listeners, but I have some problems with Throughput
>  >  >  >  calculation. I found some definitions like:
>  >  >  >
>  >  >  >
>  >  >  >
>  >  >  >  *Throughput = Number of requests / Total time to issue the requests.
>  >  >  >
>  >  >  >  *For a single request, the throughput depends only on the time to issue
>  >  >  >  a single request.
>  >  >  >
>  >  >  >  *For multiple requests, the throughput depends also on the gaps between
>  >  >  >  the requests. E.g. if a request is issued every 30 seconds, the
>  >  >  >  throughput will be 2/min, and is largely independent of the time each
>  >  >  >  request takes.
>  >  >  >
>  >  >  >
>  >  >  >
>  >  >  >  I understood the definition for a single request (1/elapsed), but I
>  >  >  >  don't understand very well how calculate it when I have multiple
>  >  >  >  requests, I tried with: samples number/samples elapsed
>  >  >  >  (3/(elapsed1+elapsed2+elapsed3)), but the result is different to the
>  >  >  >  Throughput displayed by the aggregate listener.
>  >  >  >
>  >  >  >
>  >  >  >
>  >  >  >  Somebody know the formula to calculate the Throughput for multiple
>  >  >  >  requests?
>  >  >  >
>  >  >
>  >  >   *Throughput = Number of requests / Total time to issue the requests.
>  >  >
>  >  >  The total time is measured from the start of the first sample to the
>  >  >  end of the last sample, which will generally be greater than the sum
>  >  >  of the individual times.
>  >  >
>  >  >  The throughput measures the number of requests per unit of time, so
>  >  >  you have to measure the overall elapsed time.
>  >  >
>  >  >  >
>  >  >  >
>  >  >  >
>  >  >  >  Regards,
>  >  >  >
>  >  >  >
>  >  >  >
>  >  >  >  Jose
>  >  >  >
>  >  >  >
>  >  >  >
>  >  >  >
>  >  >  >  #################################################################################################################
>  >  >  >  Este documento puede incluir información confidencial y propiedad de Neoris y deberá ser leído solamente por la
>  >  >  >  o las personas a quienes está dirigido. Si usted ha recibido este mensaje por error, por favor avise
>  >  >  >  inmediatamente al remitente contestando y eliminando este correo. Cualquier punto de vista u opiniones expresadas
>  >  >  >  en este mensaje son del remitente y no necesariamente coinciden con aquellas de Neoris. Este documento no deberá
>  >  >  >  ser reproducido, copiado, distribuido, publicado, ni modificado por terceros sin la autorización por escrito de Neoris.
>  >  >  >
>  >  >  >  Este mensaje ha sido verificado contra virus. Visítenos en www.neoris.com.
>  >  >  >  #################################################################################################################
>  >  >  >
>  >  >
>  >  >
>  >  > ---------------------------------------------------------------------
>  >  >  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  >  >  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >  >
>  >  >
>  >  >  #################################################################################################################
>  >  >  Este documento puede incluir información confidencial y propiedad de Neoris y deberá ser leído solamente por la
>  >  >  o las personas a quienes está dirigido. Si usted ha recibido este mensaje por error, por favor avise
>  >  >  inmediatamente al remitente contestando y eliminando este correo. Cualquier punto de vista u opiniones expresadas
>  >  >  en este mensaje son del remitente y no necesariamente coinciden con aquellas de Neoris. Este documento no deberá
>  >  >  ser reproducido, copiado, distribuido, publicado, ni modificado por terceros sin la autorización por escrito de Neoris.
>  >  >
>  >  >  Este mensaje ha sido verificado contra virus. Visítenos en www.neoris.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
>  >
>  >  #################################################################################################################
>  >  Este documento puede incluir información confidencial y propiedad de Neoris y deberá ser leído solamente por la
>  >  o las personas a quienes está dirigido. Si usted ha recibido este mensaje por error, por favor avise
>  >  inmediatamente al remitente contestando y eliminando este correo. Cualquier punto de vista u opiniones expresadas
>  >  en este mensaje son del remitente y no necesariamente coinciden con aquellas de Neoris. Este documento no deberá
>  >  ser reproducido, copiado, distribuido, publicado, ni modificado por terceros sin la autorización por escrito de Neoris.
>  >
>  >  Este mensaje ha sido verificado contra virus. Visítenos en www.neoris.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
>
>  #################################################################################################################
>  Este documento puede incluir información confidencial y propiedad de Neoris y deberá ser leído solamente por la
>  o las personas a quienes está dirigido. Si usted ha recibido este mensaje por error, por favor avise
>  inmediatamente al remitente contestando y eliminando este correo. Cualquier punto de vista u opiniones expresadas
>  en este mensaje son del remitente y no necesariamente coinciden con aquellas de Neoris. Este documento no deberá
>  ser reproducido, copiado, distribuido, publicado, ni modificado por terceros sin la autorización por escrito de Neoris.
>
>  Este mensaje ha sido verificado contra virus. Visítenos en www.neoris.com.
>  #################################################################################################################
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>  #################################################################################################################
>  Este documento puede incluir información confidencial y propiedad de Neoris y deberá ser leído solamente por la
>  o las personas a quienes está dirigido. Si usted ha recibido este mensaje por error, por favor avise
>  inmediatamente al remitente contestando y eliminando este correo. Cualquier punto de vista u opiniones expresadas
>  en este mensaje son del remitente y no necesariamente coinciden con aquellas de Neoris. Este documento no deberá
>  ser reproducido, copiado, distribuido, publicado, ni modificado por terceros sin la autorización por escrito de Neoris.
>
>  Este mensaje ha sido verificado contra virus. Visítenos en www.neoris.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: How calculate Throughput?

Posted by Jose Pablo Sarco <jo...@ar.neoris.com>.
Sebb,

Please, could you give me in pseudocode the steps to calculate the throughput for multiple requests? Or could you tell me in which class Jmeter calculate it?

Thanks in advance!!

Jose



-----Original Message-----
From: Jose Pablo Sarco 
Sent: Martes, 18 de Noviembre de 2008 06:26 p.m.
To: JMeter Users List
Subject: RE: How calculate Throughput?

Yeah, I select a single label at a time, so I can get the Throughput for that label...I don't know where I have an error in my code....

I use the aggregate graph, but, I don't think the problem could be Jmeter....may be I miss some step....I don't know...


Thanks,

Jose



-----Original Message-----
From: sebb [mailto:sebbaz@gmail.com] 
Sent: Martes, 18 de Noviembre de 2008 06:12 p.m.
To: JMeter Users List
Subject: Re: How calculate Throughput?

On 18/11/2008, Jose Pablo Sarco <jo...@ar.neoris.com> wrote:
> Sorry, I understand the last mail, but I don't know why I can't get it. I did the following:
>
>  *select a label name
>  *search the min (timestamp) for labels with the name selected
>  *search the max (timestamp + elapsed time) for labels with the name selected

In each case, you must only match on a single label at a time.

>  *calculate the difference between max and min
>  *calculate Throughput= (number of samples/ difference between max and min) * 1000

>  It works well when I have 1 sample, but doesn't work when the number of samples is greater than 1.
>
>  With that code, for a label I have Throughput = 0.0999170557547; with Jmeter I have Throughput= 0.03220809002805324.
>
>  I missed something?

Possibly.

I just ran a test using the Summary Report and it works fine for me.

>  Please, any advice.

Which Listener are you using?

Did you clear the previous results before testing?

Try saving the results as CSV so you have a fixed sample to work from.
You can then run the analysis and also use JMeter to reload and check
the values.

If you still cannot get it to work, then send me a copy of the CSV
file privately.

>  Thanks,
>
>
>  Jose
>
>
>
>  -----Original Message-----
>  From: sebb [mailto:sebbaz@gmail.com]
>
> Sent: Martes, 18 de Noviembre de 2008 12:18 p.m.
>  To: JMeter Users List
>  Subject: Re: How calculate Throughput?
>
>  On 18/11/2008, Jose Pablo Sarco <jo...@ar.neoris.com> wrote:
>  > Ok, but, how I can calculate the total time from the start of the first sample to the end of the last sample with only the jtl file? I can't use the timestamp because different requests are trigger between the start and the end request that I'm calculating.
>  >
>
>  Why not?
>
>  The JTL file will have the timestamp (default start-time) and elapsed
>  time of each request.
>
>  Just keep track of the minimum start-time and maximum end-time
>  (start+elapsed) for each request you are interested in. At the end,
>  take the difference.
>
>  This is necessary since entries are not necessarily in exact order of
>  start time - for example, if request 1 takes 2 seconds, and request 2
>  starts shortly after request 1 but only takes 1 second, then the
>  sample for request 2 will appear in the log before request 1.
>
>  >  Regards,
>  >
>  >  Jose
>  >
>  >
>  >
>  >
>  >  -----Original Message-----
>  >  From: sebb [mailto:sebbaz@gmail.com]
>  >  Sent: Martes, 18 de Noviembre de 2008 11:26 a.m.
>  >  To: JMeter Users List
>  >  Subject: Re: How calculate Throughput?
>  >
>  >  On 18/11/2008, Jose Pablo Sarco <jo...@ar.neoris.com> wrote:
>  >  > Hi all,
>  >  >
>  >  >
>  >  >
>  >  >  I'm using Jmeter 2.3.2 on XP. I'm trying to process the CSV file
>  >  >  generated by Jmeter listeners, but I have some problems with Throughput
>  >  >  calculation. I found some definitions like:
>  >  >
>  >  >
>  >  >
>  >  >  *Throughput = Number of requests / Total time to issue the requests.
>  >  >
>  >  >  *For a single request, the throughput depends only on the time to issue
>  >  >  a single request.
>  >  >
>  >  >  *For multiple requests, the throughput depends also on the gaps between
>  >  >  the requests. E.g. if a request is issued every 30 seconds, the
>  >  >  throughput will be 2/min, and is largely independent of the time each
>  >  >  request takes.
>  >  >
>  >  >
>  >  >
>  >  >  I understood the definition for a single request (1/elapsed), but I
>  >  >  don't understand very well how calculate it when I have multiple
>  >  >  requests, I tried with: samples number/samples elapsed
>  >  >  (3/(elapsed1+elapsed2+elapsed3)), but the result is different to the
>  >  >  Throughput displayed by the aggregate listener.
>  >  >
>  >  >
>  >  >
>  >  >  Somebody know the formula to calculate the Throughput for multiple
>  >  >  requests?
>  >  >
>  >
>  >   *Throughput = Number of requests / Total time to issue the requests.
>  >
>  >  The total time is measured from the start of the first sample to the
>  >  end of the last sample, which will generally be greater than the sum
>  >  of the individual times.
>  >
>  >  The throughput measures the number of requests per unit of time, so
>  >  you have to measure the overall elapsed time.
>  >
>  >  >
>  >  >
>  >  >
>  >  >  Regards,
>  >  >
>  >  >
>  >  >
>  >  >  Jose
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >  #################################################################################################################
>  >  >  Este documento puede incluir información confidencial y propiedad de Neoris y deberá ser leído solamente por la
>  >  >  o las personas a quienes está dirigido. Si usted ha recibido este mensaje por error, por favor avise
>  >  >  inmediatamente al remitente contestando y eliminando este correo. Cualquier punto de vista u opiniones expresadas
>  >  >  en este mensaje son del remitente y no necesariamente coinciden con aquellas de Neoris. Este documento no deberá
>  >  >  ser reproducido, copiado, distribuido, publicado, ni modificado por terceros sin la autorización por escrito de Neoris.
>  >  >
>  >  >  Este mensaje ha sido verificado contra virus. Visítenos en www.neoris.com.
>  >  >  #################################################################################################################
>  >  >
>  >
>  >
>  > ---------------------------------------------------------------------
>  >  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  >  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >
>  >
>  >  #################################################################################################################
>  >  Este documento puede incluir información confidencial y propiedad de Neoris y deberá ser leído solamente por la
>  >  o las personas a quienes está dirigido. Si usted ha recibido este mensaje por error, por favor avise
>  >  inmediatamente al remitente contestando y eliminando este correo. Cualquier punto de vista u opiniones expresadas
>  >  en este mensaje son del remitente y no necesariamente coinciden con aquellas de Neoris. Este documento no deberá
>  >  ser reproducido, copiado, distribuido, publicado, ni modificado por terceros sin la autorización por escrito de Neoris.
>  >
>  >  Este mensaje ha sido verificado contra virus. Visítenos en www.neoris.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
>
>  #################################################################################################################
>  Este documento puede incluir información confidencial y propiedad de Neoris y deberá ser leído solamente por la
>  o las personas a quienes está dirigido. Si usted ha recibido este mensaje por error, por favor avise
>  inmediatamente al remitente contestando y eliminando este correo. Cualquier punto de vista u opiniones expresadas
>  en este mensaje son del remitente y no necesariamente coinciden con aquellas de Neoris. Este documento no deberá
>  ser reproducido, copiado, distribuido, publicado, ni modificado por terceros sin la autorización por escrito de Neoris.
>
>  Este mensaje ha sido verificado contra virus. Visítenos en www.neoris.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

#################################################################################################################
Este documento puede incluir información confidencial y propiedad de Neoris y deberá ser leído solamente por la 
o las personas a quienes está dirigido. Si usted ha recibido este mensaje por error, por favor avise 
inmediatamente al remitente contestando y eliminando este correo. Cualquier punto de vista u opiniones expresadas 
en este mensaje son del remitente y no necesariamente coinciden con aquellas de Neoris. Este documento no deberá 
ser reproducido, copiado, distribuido, publicado, ni modificado por terceros sin la autorización por escrito de Neoris. 

Este mensaje ha sido verificado contra virus. Visítenos en www.neoris.com. 
#################################################################################################################

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

#################################################################################################################
Este documento puede incluir información confidencial y propiedad de Neoris y deberá ser leído solamente por la 
o las personas a quienes está dirigido. Si usted ha recibido este mensaje por error, por favor avise 
inmediatamente al remitente contestando y eliminando este correo. Cualquier punto de vista u opiniones expresadas 
en este mensaje son del remitente y no necesariamente coinciden con aquellas de Neoris. Este documento no deberá 
ser reproducido, copiado, distribuido, publicado, ni modificado por terceros sin la autorización por escrito de Neoris. 

Este mensaje ha sido verificado contra virus. Visítenos en www.neoris.com. 
#################################################################################################################

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


RE: How calculate Throughput?

Posted by Jose Pablo Sarco <jo...@ar.neoris.com>.
Yeah, I select a single label at a time, so I can get the Throughput for that label...I don't know where I have an error in my code....

I use the aggregate graph, but, I don't think the problem could be Jmeter....may be I miss some step....I don't know...


Thanks,

Jose



-----Original Message-----
From: sebb [mailto:sebbaz@gmail.com] 
Sent: Martes, 18 de Noviembre de 2008 06:12 p.m.
To: JMeter Users List
Subject: Re: How calculate Throughput?

On 18/11/2008, Jose Pablo Sarco <jo...@ar.neoris.com> wrote:
> Sorry, I understand the last mail, but I don't know why I can't get it. I did the following:
>
>  *select a label name
>  *search the min (timestamp) for labels with the name selected
>  *search the max (timestamp + elapsed time) for labels with the name selected

In each case, you must only match on a single label at a time.

>  *calculate the difference between max and min
>  *calculate Throughput= (number of samples/ difference between max and min) * 1000

>  It works well when I have 1 sample, but doesn't work when the number of samples is greater than 1.
>
>  With that code, for a label I have Throughput = 0.0999170557547; with Jmeter I have Throughput= 0.03220809002805324.
>
>  I missed something?

Possibly.

I just ran a test using the Summary Report and it works fine for me.

>  Please, any advice.

Which Listener are you using?

Did you clear the previous results before testing?

Try saving the results as CSV so you have a fixed sample to work from.
You can then run the analysis and also use JMeter to reload and check
the values.

If you still cannot get it to work, then send me a copy of the CSV
file privately.

>  Thanks,
>
>
>  Jose
>
>
>
>  -----Original Message-----
>  From: sebb [mailto:sebbaz@gmail.com]
>
> Sent: Martes, 18 de Noviembre de 2008 12:18 p.m.
>  To: JMeter Users List
>  Subject: Re: How calculate Throughput?
>
>  On 18/11/2008, Jose Pablo Sarco <jo...@ar.neoris.com> wrote:
>  > Ok, but, how I can calculate the total time from the start of the first sample to the end of the last sample with only the jtl file? I can't use the timestamp because different requests are trigger between the start and the end request that I'm calculating.
>  >
>
>  Why not?
>
>  The JTL file will have the timestamp (default start-time) and elapsed
>  time of each request.
>
>  Just keep track of the minimum start-time and maximum end-time
>  (start+elapsed) for each request you are interested in. At the end,
>  take the difference.
>
>  This is necessary since entries are not necessarily in exact order of
>  start time - for example, if request 1 takes 2 seconds, and request 2
>  starts shortly after request 1 but only takes 1 second, then the
>  sample for request 2 will appear in the log before request 1.
>
>  >  Regards,
>  >
>  >  Jose
>  >
>  >
>  >
>  >
>  >  -----Original Message-----
>  >  From: sebb [mailto:sebbaz@gmail.com]
>  >  Sent: Martes, 18 de Noviembre de 2008 11:26 a.m.
>  >  To: JMeter Users List
>  >  Subject: Re: How calculate Throughput?
>  >
>  >  On 18/11/2008, Jose Pablo Sarco <jo...@ar.neoris.com> wrote:
>  >  > Hi all,
>  >  >
>  >  >
>  >  >
>  >  >  I'm using Jmeter 2.3.2 on XP. I'm trying to process the CSV file
>  >  >  generated by Jmeter listeners, but I have some problems with Throughput
>  >  >  calculation. I found some definitions like:
>  >  >
>  >  >
>  >  >
>  >  >  *Throughput = Number of requests / Total time to issue the requests.
>  >  >
>  >  >  *For a single request, the throughput depends only on the time to issue
>  >  >  a single request.
>  >  >
>  >  >  *For multiple requests, the throughput depends also on the gaps between
>  >  >  the requests. E.g. if a request is issued every 30 seconds, the
>  >  >  throughput will be 2/min, and is largely independent of the time each
>  >  >  request takes.
>  >  >
>  >  >
>  >  >
>  >  >  I understood the definition for a single request (1/elapsed), but I
>  >  >  don't understand very well how calculate it when I have multiple
>  >  >  requests, I tried with: samples number/samples elapsed
>  >  >  (3/(elapsed1+elapsed2+elapsed3)), but the result is different to the
>  >  >  Throughput displayed by the aggregate listener.
>  >  >
>  >  >
>  >  >
>  >  >  Somebody know the formula to calculate the Throughput for multiple
>  >  >  requests?
>  >  >
>  >
>  >   *Throughput = Number of requests / Total time to issue the requests.
>  >
>  >  The total time is measured from the start of the first sample to the
>  >  end of the last sample, which will generally be greater than the sum
>  >  of the individual times.
>  >
>  >  The throughput measures the number of requests per unit of time, so
>  >  you have to measure the overall elapsed time.
>  >
>  >  >
>  >  >
>  >  >
>  >  >  Regards,
>  >  >
>  >  >
>  >  >
>  >  >  Jose
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >  #################################################################################################################
>  >  >  Este documento puede incluir información confidencial y propiedad de Neoris y deberá ser leído solamente por la
>  >  >  o las personas a quienes está dirigido. Si usted ha recibido este mensaje por error, por favor avise
>  >  >  inmediatamente al remitente contestando y eliminando este correo. Cualquier punto de vista u opiniones expresadas
>  >  >  en este mensaje son del remitente y no necesariamente coinciden con aquellas de Neoris. Este documento no deberá
>  >  >  ser reproducido, copiado, distribuido, publicado, ni modificado por terceros sin la autorización por escrito de Neoris.
>  >  >
>  >  >  Este mensaje ha sido verificado contra virus. Visítenos en www.neoris.com.
>  >  >  #################################################################################################################
>  >  >
>  >
>  >
>  > ---------------------------------------------------------------------
>  >  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  >  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >
>  >
>  >  #################################################################################################################
>  >  Este documento puede incluir información confidencial y propiedad de Neoris y deberá ser leído solamente por la
>  >  o las personas a quienes está dirigido. Si usted ha recibido este mensaje por error, por favor avise
>  >  inmediatamente al remitente contestando y eliminando este correo. Cualquier punto de vista u opiniones expresadas
>  >  en este mensaje son del remitente y no necesariamente coinciden con aquellas de Neoris. Este documento no deberá
>  >  ser reproducido, copiado, distribuido, publicado, ni modificado por terceros sin la autorización por escrito de Neoris.
>  >
>  >  Este mensaje ha sido verificado contra virus. Visítenos en www.neoris.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
>
>  #################################################################################################################
>  Este documento puede incluir información confidencial y propiedad de Neoris y deberá ser leído solamente por la
>  o las personas a quienes está dirigido. Si usted ha recibido este mensaje por error, por favor avise
>  inmediatamente al remitente contestando y eliminando este correo. Cualquier punto de vista u opiniones expresadas
>  en este mensaje son del remitente y no necesariamente coinciden con aquellas de Neoris. Este documento no deberá
>  ser reproducido, copiado, distribuido, publicado, ni modificado por terceros sin la autorización por escrito de Neoris.
>
>  Este mensaje ha sido verificado contra virus. Visítenos en www.neoris.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

#################################################################################################################
Este documento puede incluir información confidencial y propiedad de Neoris y deberá ser leído solamente por la 
o las personas a quienes está dirigido. Si usted ha recibido este mensaje por error, por favor avise 
inmediatamente al remitente contestando y eliminando este correo. Cualquier punto de vista u opiniones expresadas 
en este mensaje son del remitente y no necesariamente coinciden con aquellas de Neoris. Este documento no deberá 
ser reproducido, copiado, distribuido, publicado, ni modificado por terceros sin la autorización por escrito de Neoris. 

Este mensaje ha sido verificado contra virus. Visítenos en www.neoris.com. 
#################################################################################################################

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


Re: How calculate Throughput?

Posted by sebb <se...@gmail.com>.
On 18/11/2008, Jose Pablo Sarco <jo...@ar.neoris.com> wrote:
> Sorry, I understand the last mail, but I don't know why I can't get it. I did the following:
>
>  *select a label name
>  *search the min (timestamp) for labels with the name selected
>  *search the max (timestamp + elapsed time) for labels with the name selected

In each case, you must only match on a single label at a time.

>  *calculate the difference between max and min
>  *calculate Throughput= (number of samples/ difference between max and min) * 1000

>  It works well when I have 1 sample, but doesn't work when the number of samples is greater than 1.
>
>  With that code, for a label I have Throughput = 0.0999170557547; with Jmeter I have Throughput= 0.03220809002805324.
>
>  I missed something?

Possibly.

I just ran a test using the Summary Report and it works fine for me.

>  Please, any advice.

Which Listener are you using?

Did you clear the previous results before testing?

Try saving the results as CSV so you have a fixed sample to work from.
You can then run the analysis and also use JMeter to reload and check
the values.

If you still cannot get it to work, then send me a copy of the CSV
file privately.

>  Thanks,
>
>
>  Jose
>
>
>
>  -----Original Message-----
>  From: sebb [mailto:sebbaz@gmail.com]
>
> Sent: Martes, 18 de Noviembre de 2008 12:18 p.m.
>  To: JMeter Users List
>  Subject: Re: How calculate Throughput?
>
>  On 18/11/2008, Jose Pablo Sarco <jo...@ar.neoris.com> wrote:
>  > Ok, but, how I can calculate the total time from the start of the first sample to the end of the last sample with only the jtl file? I can't use the timestamp because different requests are trigger between the start and the end request that I'm calculating.
>  >
>
>  Why not?
>
>  The JTL file will have the timestamp (default start-time) and elapsed
>  time of each request.
>
>  Just keep track of the minimum start-time and maximum end-time
>  (start+elapsed) for each request you are interested in. At the end,
>  take the difference.
>
>  This is necessary since entries are not necessarily in exact order of
>  start time - for example, if request 1 takes 2 seconds, and request 2
>  starts shortly after request 1 but only takes 1 second, then the
>  sample for request 2 will appear in the log before request 1.
>
>  >  Regards,
>  >
>  >  Jose
>  >
>  >
>  >
>  >
>  >  -----Original Message-----
>  >  From: sebb [mailto:sebbaz@gmail.com]
>  >  Sent: Martes, 18 de Noviembre de 2008 11:26 a.m.
>  >  To: JMeter Users List
>  >  Subject: Re: How calculate Throughput?
>  >
>  >  On 18/11/2008, Jose Pablo Sarco <jo...@ar.neoris.com> wrote:
>  >  > Hi all,
>  >  >
>  >  >
>  >  >
>  >  >  I'm using Jmeter 2.3.2 on XP. I'm trying to process the CSV file
>  >  >  generated by Jmeter listeners, but I have some problems with Throughput
>  >  >  calculation. I found some definitions like:
>  >  >
>  >  >
>  >  >
>  >  >  *Throughput = Number of requests / Total time to issue the requests.
>  >  >
>  >  >  *For a single request, the throughput depends only on the time to issue
>  >  >  a single request.
>  >  >
>  >  >  *For multiple requests, the throughput depends also on the gaps between
>  >  >  the requests. E.g. if a request is issued every 30 seconds, the
>  >  >  throughput will be 2/min, and is largely independent of the time each
>  >  >  request takes.
>  >  >
>  >  >
>  >  >
>  >  >  I understood the definition for a single request (1/elapsed), but I
>  >  >  don't understand very well how calculate it when I have multiple
>  >  >  requests, I tried with: samples number/samples elapsed
>  >  >  (3/(elapsed1+elapsed2+elapsed3)), but the result is different to the
>  >  >  Throughput displayed by the aggregate listener.
>  >  >
>  >  >
>  >  >
>  >  >  Somebody know the formula to calculate the Throughput for multiple
>  >  >  requests?
>  >  >
>  >
>  >   *Throughput = Number of requests / Total time to issue the requests.
>  >
>  >  The total time is measured from the start of the first sample to the
>  >  end of the last sample, which will generally be greater than the sum
>  >  of the individual times.
>  >
>  >  The throughput measures the number of requests per unit of time, so
>  >  you have to measure the overall elapsed time.
>  >
>  >  >
>  >  >
>  >  >
>  >  >  Regards,
>  >  >
>  >  >
>  >  >
>  >  >  Jose
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >  #################################################################################################################
>  >  >  Este documento puede incluir información confidencial y propiedad de Neoris y deberá ser leído solamente por la
>  >  >  o las personas a quienes está dirigido. Si usted ha recibido este mensaje por error, por favor avise
>  >  >  inmediatamente al remitente contestando y eliminando este correo. Cualquier punto de vista u opiniones expresadas
>  >  >  en este mensaje son del remitente y no necesariamente coinciden con aquellas de Neoris. Este documento no deberá
>  >  >  ser reproducido, copiado, distribuido, publicado, ni modificado por terceros sin la autorización por escrito de Neoris.
>  >  >
>  >  >  Este mensaje ha sido verificado contra virus. Visítenos en www.neoris.com.
>  >  >  #################################################################################################################
>  >  >
>  >
>  >
>  > ---------------------------------------------------------------------
>  >  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  >  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >
>  >
>  >  #################################################################################################################
>  >  Este documento puede incluir información confidencial y propiedad de Neoris y deberá ser leído solamente por la
>  >  o las personas a quienes está dirigido. Si usted ha recibido este mensaje por error, por favor avise
>  >  inmediatamente al remitente contestando y eliminando este correo. Cualquier punto de vista u opiniones expresadas
>  >  en este mensaje son del remitente y no necesariamente coinciden con aquellas de Neoris. Este documento no deberá
>  >  ser reproducido, copiado, distribuido, publicado, ni modificado por terceros sin la autorización por escrito de Neoris.
>  >
>  >  Este mensaje ha sido verificado contra virus. Visítenos en www.neoris.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
>
>  #################################################################################################################
>  Este documento puede incluir información confidencial y propiedad de Neoris y deberá ser leído solamente por la
>  o las personas a quienes está dirigido. Si usted ha recibido este mensaje por error, por favor avise
>  inmediatamente al remitente contestando y eliminando este correo. Cualquier punto de vista u opiniones expresadas
>  en este mensaje son del remitente y no necesariamente coinciden con aquellas de Neoris. Este documento no deberá
>  ser reproducido, copiado, distribuido, publicado, ni modificado por terceros sin la autorización por escrito de Neoris.
>
>  Este mensaje ha sido verificado contra virus. Visítenos en www.neoris.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: How calculate Throughput?

Posted by Jose Pablo Sarco <jo...@ar.neoris.com>.
Sorry, I understand the last mail, but I don't know why I can't get it. I did the following:

*select a label name
*search the min (timestamp) for labels with the name selected
*search the max (timestamp + elapsed time) for labels with the name selected
*calculate the difference between max and min 
*calculate Throughput= (number of samples/ difference between max and min) * 1000

It works well when I have 1 sample, but doesn't work when the number of samples is greater than 1.

With that code, for a label I have Throughput = 0.0999170557547; with Jmeter I have Throughput= 0.03220809002805324.

I missed something?

Please, any advice.

Thanks,

Jose



-----Original Message-----
From: sebb [mailto:sebbaz@gmail.com] 
Sent: Martes, 18 de Noviembre de 2008 12:18 p.m.
To: JMeter Users List
Subject: Re: How calculate Throughput?

On 18/11/2008, Jose Pablo Sarco <jo...@ar.neoris.com> wrote:
> Ok, but, how I can calculate the total time from the start of the first sample to the end of the last sample with only the jtl file? I can't use the timestamp because different requests are trigger between the start and the end request that I'm calculating.
>

Why not?

The JTL file will have the timestamp (default start-time) and elapsed
time of each request.

Just keep track of the minimum start-time and maximum end-time
(start+elapsed) for each request you are interested in. At the end,
take the difference.

This is necessary since entries are not necessarily in exact order of
start time - for example, if request 1 takes 2 seconds, and request 2
starts shortly after request 1 but only takes 1 second, then the
sample for request 2 will appear in the log before request 1.

>  Regards,
>
>  Jose
>
>
>
>
>  -----Original Message-----
>  From: sebb [mailto:sebbaz@gmail.com]
>  Sent: Martes, 18 de Noviembre de 2008 11:26 a.m.
>  To: JMeter Users List
>  Subject: Re: How calculate Throughput?
>
>  On 18/11/2008, Jose Pablo Sarco <jo...@ar.neoris.com> wrote:
>  > Hi all,
>  >
>  >
>  >
>  >  I'm using Jmeter 2.3.2 on XP. I'm trying to process the CSV file
>  >  generated by Jmeter listeners, but I have some problems with Throughput
>  >  calculation. I found some definitions like:
>  >
>  >
>  >
>  >  *Throughput = Number of requests / Total time to issue the requests.
>  >
>  >  *For a single request, the throughput depends only on the time to issue
>  >  a single request.
>  >
>  >  *For multiple requests, the throughput depends also on the gaps between
>  >  the requests. E.g. if a request is issued every 30 seconds, the
>  >  throughput will be 2/min, and is largely independent of the time each
>  >  request takes.
>  >
>  >
>  >
>  >  I understood the definition for a single request (1/elapsed), but I
>  >  don't understand very well how calculate it when I have multiple
>  >  requests, I tried with: samples number/samples elapsed
>  >  (3/(elapsed1+elapsed2+elapsed3)), but the result is different to the
>  >  Throughput displayed by the aggregate listener.
>  >
>  >
>  >
>  >  Somebody know the formula to calculate the Throughput for multiple
>  >  requests?
>  >
>
>   *Throughput = Number of requests / Total time to issue the requests.
>
>  The total time is measured from the start of the first sample to the
>  end of the last sample, which will generally be greater than the sum
>  of the individual times.
>
>  The throughput measures the number of requests per unit of time, so
>  you have to measure the overall elapsed time.
>
>  >
>  >
>  >
>  >  Regards,
>  >
>  >
>  >
>  >  Jose
>  >
>  >
>  >
>  >
>  >  #################################################################################################################
>  >  Este documento puede incluir información confidencial y propiedad de Neoris y deberá ser leído solamente por la
>  >  o las personas a quienes está dirigido. Si usted ha recibido este mensaje por error, por favor avise
>  >  inmediatamente al remitente contestando y eliminando este correo. Cualquier punto de vista u opiniones expresadas
>  >  en este mensaje son del remitente y no necesariamente coinciden con aquellas de Neoris. Este documento no deberá
>  >  ser reproducido, copiado, distribuido, publicado, ni modificado por terceros sin la autorización por escrito de Neoris.
>  >
>  >  Este mensaje ha sido verificado contra virus. Visítenos en www.neoris.com.
>  >  #################################################################################################################
>  >
>
>
> ---------------------------------------------------------------------
>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
>  #################################################################################################################
>  Este documento puede incluir información confidencial y propiedad de Neoris y deberá ser leído solamente por la
>  o las personas a quienes está dirigido. Si usted ha recibido este mensaje por error, por favor avise
>  inmediatamente al remitente contestando y eliminando este correo. Cualquier punto de vista u opiniones expresadas
>  en este mensaje son del remitente y no necesariamente coinciden con aquellas de Neoris. Este documento no deberá
>  ser reproducido, copiado, distribuido, publicado, ni modificado por terceros sin la autorización por escrito de Neoris.
>
>  Este mensaje ha sido verificado contra virus. Visítenos en www.neoris.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

#################################################################################################################
Este documento puede incluir información confidencial y propiedad de Neoris y deberá ser leído solamente por la 
o las personas a quienes está dirigido. Si usted ha recibido este mensaje por error, por favor avise 
inmediatamente al remitente contestando y eliminando este correo. Cualquier punto de vista u opiniones expresadas 
en este mensaje son del remitente y no necesariamente coinciden con aquellas de Neoris. Este documento no deberá 
ser reproducido, copiado, distribuido, publicado, ni modificado por terceros sin la autorización por escrito de Neoris. 

Este mensaje ha sido verificado contra virus. Visítenos en www.neoris.com. 
#################################################################################################################

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


Re: How calculate Throughput?

Posted by sebb <se...@gmail.com>.
On 18/11/2008, Jose Pablo Sarco <jo...@ar.neoris.com> wrote:
> Ok, but, how I can calculate the total time from the start of the first sample to the end of the last sample with only the jtl file? I can't use the timestamp because different requests are trigger between the start and the end request that I'm calculating.
>

Why not?

The JTL file will have the timestamp (default start-time) and elapsed
time of each request.

Just keep track of the minimum start-time and maximum end-time
(start+elapsed) for each request you are interested in. At the end,
take the difference.

This is necessary since entries are not necessarily in exact order of
start time - for example, if request 1 takes 2 seconds, and request 2
starts shortly after request 1 but only takes 1 second, then the
sample for request 2 will appear in the log before request 1.

>  Regards,
>
>  Jose
>
>
>
>
>  -----Original Message-----
>  From: sebb [mailto:sebbaz@gmail.com]
>  Sent: Martes, 18 de Noviembre de 2008 11:26 a.m.
>  To: JMeter Users List
>  Subject: Re: How calculate Throughput?
>
>  On 18/11/2008, Jose Pablo Sarco <jo...@ar.neoris.com> wrote:
>  > Hi all,
>  >
>  >
>  >
>  >  I'm using Jmeter 2.3.2 on XP. I'm trying to process the CSV file
>  >  generated by Jmeter listeners, but I have some problems with Throughput
>  >  calculation. I found some definitions like:
>  >
>  >
>  >
>  >  *Throughput = Number of requests / Total time to issue the requests.
>  >
>  >  *For a single request, the throughput depends only on the time to issue
>  >  a single request.
>  >
>  >  *For multiple requests, the throughput depends also on the gaps between
>  >  the requests. E.g. if a request is issued every 30 seconds, the
>  >  throughput will be 2/min, and is largely independent of the time each
>  >  request takes.
>  >
>  >
>  >
>  >  I understood the definition for a single request (1/elapsed), but I
>  >  don't understand very well how calculate it when I have multiple
>  >  requests, I tried with: samples number/samples elapsed
>  >  (3/(elapsed1+elapsed2+elapsed3)), but the result is different to the
>  >  Throughput displayed by the aggregate listener.
>  >
>  >
>  >
>  >  Somebody know the formula to calculate the Throughput for multiple
>  >  requests?
>  >
>
>   *Throughput = Number of requests / Total time to issue the requests.
>
>  The total time is measured from the start of the first sample to the
>  end of the last sample, which will generally be greater than the sum
>  of the individual times.
>
>  The throughput measures the number of requests per unit of time, so
>  you have to measure the overall elapsed time.
>
>  >
>  >
>  >
>  >  Regards,
>  >
>  >
>  >
>  >  Jose
>  >
>  >
>  >
>  >
>  >  #################################################################################################################
>  >  Este documento puede incluir información confidencial y propiedad de Neoris y deberá ser leído solamente por la
>  >  o las personas a quienes está dirigido. Si usted ha recibido este mensaje por error, por favor avise
>  >  inmediatamente al remitente contestando y eliminando este correo. Cualquier punto de vista u opiniones expresadas
>  >  en este mensaje son del remitente y no necesariamente coinciden con aquellas de Neoris. Este documento no deberá
>  >  ser reproducido, copiado, distribuido, publicado, ni modificado por terceros sin la autorización por escrito de Neoris.
>  >
>  >  Este mensaje ha sido verificado contra virus. Visítenos en www.neoris.com.
>  >  #################################################################################################################
>  >
>
>
> ---------------------------------------------------------------------
>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
>  #################################################################################################################
>  Este documento puede incluir información confidencial y propiedad de Neoris y deberá ser leído solamente por la
>  o las personas a quienes está dirigido. Si usted ha recibido este mensaje por error, por favor avise
>  inmediatamente al remitente contestando y eliminando este correo. Cualquier punto de vista u opiniones expresadas
>  en este mensaje son del remitente y no necesariamente coinciden con aquellas de Neoris. Este documento no deberá
>  ser reproducido, copiado, distribuido, publicado, ni modificado por terceros sin la autorización por escrito de Neoris.
>
>  Este mensaje ha sido verificado contra virus. Visítenos en www.neoris.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: How calculate Throughput?

Posted by Jose Pablo Sarco <jo...@ar.neoris.com>.
Ok, but, how I can calculate the total time from the start of the first sample to the end of the last sample with only the jtl file? I can't use the timestamp because different requests are trigger between the start and the end request that I'm calculating.

Regards,

Jose



-----Original Message-----
From: sebb [mailto:sebbaz@gmail.com] 
Sent: Martes, 18 de Noviembre de 2008 11:26 a.m.
To: JMeter Users List
Subject: Re: How calculate Throughput?

On 18/11/2008, Jose Pablo Sarco <jo...@ar.neoris.com> wrote:
> Hi all,
>
>
>
>  I'm using Jmeter 2.3.2 on XP. I'm trying to process the CSV file
>  generated by Jmeter listeners, but I have some problems with Throughput
>  calculation. I found some definitions like:
>
>
>
>  *Throughput = Number of requests / Total time to issue the requests.
>
>  *For a single request, the throughput depends only on the time to issue
>  a single request.
>
>  *For multiple requests, the throughput depends also on the gaps between
>  the requests. E.g. if a request is issued every 30 seconds, the
>  throughput will be 2/min, and is largely independent of the time each
>  request takes.
>
>
>
>  I understood the definition for a single request (1/elapsed), but I
>  don't understand very well how calculate it when I have multiple
>  requests, I tried with: samples number/samples elapsed
>  (3/(elapsed1+elapsed2+elapsed3)), but the result is different to the
>  Throughput displayed by the aggregate listener.
>
>
>
>  Somebody know the formula to calculate the Throughput for multiple
>  requests?
>

 *Throughput = Number of requests / Total time to issue the requests.

The total time is measured from the start of the first sample to the
end of the last sample, which will generally be greater than the sum
of the individual times.

The throughput measures the number of requests per unit of time, so
you have to measure the overall elapsed time.

>
>
>
>  Regards,
>
>
>
>  Jose
>
>
>
>
>  #################################################################################################################
>  Este documento puede incluir información confidencial y propiedad de Neoris y deberá ser leído solamente por la
>  o las personas a quienes está dirigido. Si usted ha recibido este mensaje por error, por favor avise
>  inmediatamente al remitente contestando y eliminando este correo. Cualquier punto de vista u opiniones expresadas
>  en este mensaje son del remitente y no necesariamente coinciden con aquellas de Neoris. Este documento no deberá
>  ser reproducido, copiado, distribuido, publicado, ni modificado por terceros sin la autorización por escrito de Neoris.
>
>  Este mensaje ha sido verificado contra virus. Visítenos en www.neoris.com.
>  #################################################################################################################
>

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

#################################################################################################################
Este documento puede incluir información confidencial y propiedad de Neoris y deberá ser leído solamente por la 
o las personas a quienes está dirigido. Si usted ha recibido este mensaje por error, por favor avise 
inmediatamente al remitente contestando y eliminando este correo. Cualquier punto de vista u opiniones expresadas 
en este mensaje son del remitente y no necesariamente coinciden con aquellas de Neoris. Este documento no deberá 
ser reproducido, copiado, distribuido, publicado, ni modificado por terceros sin la autorización por escrito de Neoris. 

Este mensaje ha sido verificado contra virus. Visítenos en www.neoris.com. 
#################################################################################################################

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


Re: How calculate Throughput?

Posted by sebb <se...@gmail.com>.
On 18/11/2008, Jose Pablo Sarco <jo...@ar.neoris.com> wrote:
> Hi all,
>
>
>
>  I'm using Jmeter 2.3.2 on XP. I'm trying to process the CSV file
>  generated by Jmeter listeners, but I have some problems with Throughput
>  calculation. I found some definitions like:
>
>
>
>  *Throughput = Number of requests / Total time to issue the requests.
>
>  *For a single request, the throughput depends only on the time to issue
>  a single request.
>
>  *For multiple requests, the throughput depends also on the gaps between
>  the requests. E.g. if a request is issued every 30 seconds, the
>  throughput will be 2/min, and is largely independent of the time each
>  request takes.
>
>
>
>  I understood the definition for a single request (1/elapsed), but I
>  don't understand very well how calculate it when I have multiple
>  requests, I tried with: samples number/samples elapsed
>  (3/(elapsed1+elapsed2+elapsed3)), but the result is different to the
>  Throughput displayed by the aggregate listener.
>
>
>
>  Somebody know the formula to calculate the Throughput for multiple
>  requests?
>

 *Throughput = Number of requests / Total time to issue the requests.

The total time is measured from the start of the first sample to the
end of the last sample, which will generally be greater than the sum
of the individual times.

The throughput measures the number of requests per unit of time, so
you have to measure the overall elapsed time.

>
>
>
>  Regards,
>
>
>
>  Jose
>
>
>
>
>  #################################################################################################################
>  Este documento puede incluir información confidencial y propiedad de Neoris y deberá ser leído solamente por la
>  o las personas a quienes está dirigido. Si usted ha recibido este mensaje por error, por favor avise
>  inmediatamente al remitente contestando y eliminando este correo. Cualquier punto de vista u opiniones expresadas
>  en este mensaje son del remitente y no necesariamente coinciden con aquellas de Neoris. Este documento no deberá
>  ser reproducido, copiado, distribuido, publicado, ni modificado por terceros sin la autorización por escrito de Neoris.
>
>  Este mensaje ha sido verificado contra virus. Visítenos en www.neoris.com.
>  #################################################################################################################
>

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