title: How to make jmeter reach target throughput or fail trying?
body: <p>I have a very simple web service and I'm trying to measure its latency metrics under different throughputs - </p>
  
  <p><a href="https://i.stack.imgur.com/ZCmrY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZCmrY.png" alt="enter image description here"></a></p>
  
  <p>If the system under test can't handle the target throughput, <strong>I want Jmeter to keep the same throughput, even if a lot of requests fail.</strong></p>
  
  <p>I tried implementing this using a large number of threads and a constant throughput timer, but Jmeter tended to simply not reach the target throughput instead of requests failing.</p>
  
  <p>Any recommendations?</p>