onionzz opened a new issue, #6278:
URL: https://github.com/apache/jmeter/issues/6278

   ### Expected behavior
   
   _No response_
   
   ### Actual behavior
   
   _No response_
   
   ### Steps to reproduce the problem
   
   For example,
   1、When I set target throughput under 30000(500TPS),everything works fine. 
But when the target throughput is set to 40000(333TPS), the result throughput 
is still 500TPS.
   2、When the target throughput is set between 60000(1000TPS) and 
150000(2500TPS),the result throughput is always 1000TPS
   3、When the target throughput is set beyond 150000(2500TPS),the result 
throughput can't be controlled and wiil be a high value just like without 
Constant Throughput timer enabled
   
   I think this is may be in ConstantThroughputTimer.java
   `private static final double MILLISEC_PER_MIN = 60000.0;
   
   double msPerRequest = MILLISEC_PER_MIN / getThroughput();
   
   Math.round(msPerRequest)
   `
   I guess when the target throughput is set to a big value, the result of 
Math.round may produce a fixed value, and then the result throughput is a fixed 
value in different target throughput.
   
   ### JMeter Version
   
   5.6.3
   
   ### Java Version
   
   _No response_
   
   ### OS Version
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@jmeter.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to