title: how to limit request per second in apache benchmark tools
body: <p>I'm trying to stress test my Spring Boot application, but when I run the following command, what <code>ab</code> is doing is that trying to give out a result the the maximum my application could holds. But what I need is to check whether my application could hold at a specific request per second. </p>
  
  <pre><code>ab -p req.json -T application/json -k -c 1000 -n 500000 http://myapp.com/customerTrack/v1/send
  </code></pre>
  
  <p>The request per second given from above command is 4000, but actually, a lot of records are buffered in my application which means it can't hold that much rps. <strong>Could anyone tell me how to set a specific request per second in</strong> <code>ab</code> <strong>tools</strong>? Thanks!</p>