https://issues.apache.org/bugzilla/show_bug.cgi?id=56961

--- Comment #4 from Sebb <[email protected]> ---
(In reply to Flavio Cysne from comment #3)
> 
> The randomness is a condition that makes JMeter reads a random number of
> times before really assigning the values to variables.

The user would have to provide the maximum random number or the code would have
to read the file once to determine how many lines there were. Unless you just
mean it should skip a random number of lines from current position, though
there is still the issue of the maximum possible skip value.

Though I suppose it might be possible to seek to the random byte offset in the
file and then find the next line boundary (not 100% sure that's always possible
with multi-byte characters). If the records varied much in length this would
not give a very even distribution; it would favour the next record after long
records.

I don't see a use case for this that cannot be solved much more simply by
randomising the input before the test starts.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to