title: The way to count TPS in jmeter
body: <p>I've done some researches at <a href="https://jmeter.apache.org/" rel="nofollow noreferrer">jmeter</a> official site, I can not find any specification about TPS(it shows <a href="https://jmeter.apache.org/usermanual/glossary.html" rel="nofollow noreferrer">Throughput</a>). Can u guys help with giving exact specification about how can I count my web server TPS. I've done some performance tests with jmeter(4.0). Currently I have 2 idea about how to count TPS:</p>
  
  <pre><code>1. The total number of threads(users)/Average response time;
  </code></pre>
  
  <p>The start duration of the total threads must be <code>1</code> second. If data as below and the average response time is 0.3s, so the TPS is:
  <code>1000/0.3 = 3333 transection per second</code>
  <a href="https://i.stack.imgur.com/73Oqu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/73Oqu.png" alt="enter image description here"></a> </p>
  
  <pre><code>2. The active threads at a certain time/Average response time of all these active threads
  </code></pre>
  
  <p>Say I have data as below:</p>
  
  <p>The chart shows a duration of stable pressure hit server, 3 clients in total have 1050 threads at any time of the duration, so the TPS is(if the average response time is still 0.4s): <code>350*3/0.4 = 2625 transection per second</code>
  <a href="https://i.stack.imgur.com/qdsRu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qdsRu.png" alt="enter image description here"></a></p>
  
  <p>I have above question because:</p>
  
  <p><strong>if I start 1000 threads(users) in 1 second, I can not make sure the 1000 threads hit the server at a same time, what if some of them like 10% finished and the others just started? Then the server does NOT get the pressure at a certain time.</strong> </p>
  
  <p>Just help me out pls, many thanks in advance.</p>