jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Random extraction in csv dataset
Date Tue, 03 Sep 2013 09:22:22 GMT
On 3 September 2013 07:45, Philippe Mouawad <philippe.mouawad@gmail.com> wrote:
> Hello,
> I think it would be useful to implement a mechanism to extract a line
> randomly from csv,
> I often meet this case

What is the use case?

> and it's annoying to handle, it would be nice to
> have it oob.
>
> One problem is how to ensure uniquness if it's another requirement.

That's easy. Just randomise the CSV file before starting the test run.

That's how String From File came about.
We had a long-running test that used millions of PINs that could only
be used once, so we randomised them and split them into separate files
which could be used once.

> Work with a modulo per thread or something like it ?
> compute at start chunks of values ?
>
>
>
>
> --
> Cordialement.
> Philippe Mouawad.

Mime
View raw message