You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Jake Jacobson <ja...@gmail.com> on 2007/01/11 20:56:33 UTC
Read random lines from CVS file
Is there a way to read a random line from a CVS file with JMeter? I
have a file with about 10,000 query terms and I want to select 50 of
them from the list in a random order.
One possible solution would be to make a Perl script that would
generate the list I need and then run JMeter using this generated
list.
Thanks for a great tool and your help.
Jake
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Read random lines from CVS file
Posted by sebb <se...@gmail.com>.
On 11/01/07, Jake Jacobson <ja...@gmail.com> wrote:
> Is there a way to read a random line from a CVS file with JMeter? I
No.
> have a file with about 10,000 query terms and I want to select 50 of
> them from the list in a random order.
>
> One possible solution would be to make a Perl script that would
> generate the list I need and then run JMeter using this generated
> list.
Yes, the best would be to generate the random lines first.
There are some good Perl modules for generating random numbers.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org