vlsi commented on issue #6609:
URL: https://github.com/apache/jmeter/issues/6609#issuecomment-3552701526

   I think it makes sense mirroring Java behavior: `Random#nextInt(min, max)` 
has inclusive `min`.
   
   At the same time, `__Random` uses `min, max+1`: 
https://github.com/apache/jmeter/blob/47bd32e0aa2d804a196570c05b52e88aabdc7e4f/src/functions/src/main/java/org/apache/jmeter/functions/Random.java#L69
   
   Frankly I would like to align `__RandomDate` and `__Random`.
   At the same time, I do not quite like to have different semantics for `max` 
in JMeter and in Java


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to