Forum Discussion

alibaba82's avatar
alibaba82
Super Contributor
16 years ago

tps calculation formula

Hi,
The tps calculation formula is
(1000/avg)*threadcount for 'default calculation'

Can you explain this formula? I don't quite understand the 1000/avg part

thanks

Ali

4 Replies

  • alibaba82's avatar
    alibaba82
    Super Contributor
    One more transaction.

    let say during a load test I am getting a lot of timeouts. The transactions that timed out, are they part of the 'tps'. I guess my question is what constitutes a transaction.

    thanks

    Ali
  • omatzura's avatar
    omatzura
    Super Contributor
    Hi Ali,

    the TPS is transactions per second and since the average is in ms, we need to invert to get the TPS; ie 1000ms / 500ms (if the average was 500 ms) would give a TPS of 2 (when running with one thread). If running with more than one thread, this number is multiplied by the number of threads since they are running simultaneously.

    hope that makes sense...

    /Ole
    eviware.com
  • alibaba82's avatar
    alibaba82
    Super Contributor
    Hi Ole,
    Thanks for the clarification.

    If the 'include Response Read' is not checked does that mean that soapui basically calculates the response time based on the first byte that was received for a given test step.

    Thanks

    Ali
  • omatzura's avatar
    omatzura
    Super Contributor
    Hi Ali,

    when not checking this option, soapUI sets the response timestamp before it starts to read the actual response data from the client (instead of afterwards).

    regards!

    /Ole
    eviware.com