You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Ravindra Gupta <ra...@gmail.com> on 2011/01/24 23:21:37 UTC
CSV Random data selection
Hi
I have gone through several blogs in this forum on the same issue. Has
anyone figured out how to do it.
Kindly let me know your thoughts how it could be done.
My csv file has 10K+ values. There are two columns from which values needs
to be piced up randomly.
I am sending SOAP/xml rpc sampler as a request where these values needs to
be supplied. It should be done randomly and efficiently.
File looks like
test11, a.com
test22. b.com
test33, c.com
.........
.test1000, z.com
......
.
These values need to be read ramdomly from file
Any suggestions how it could be done.
Thanks in Advance.
Ravindra
Re: CSV Random data selection
Posted by zillakilla <zi...@sogetthis.com>.
You could save the data as many csv files
eg
test1.csv would contain the value a.com
...
test999.csv would contain the value y.com
Then you could read the csv using the RANDOM function (I do this with the
beanshell preprocessor)
Not very elegant as you would have many csv files, but it works!
Zilla
--
View this message in context: http://jmeter.512774.n5.nabble.com/CSV-Random-data-selection-tp3355391p4344757.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: CSV Random data selection
Posted by sebb <se...@gmail.com>.
The JMeter Wiki can be updated by anyone
On 24 January 2011 22:34, Duc Chau <ch...@gmail.com> wrote:
> Preparing data offline will save JMeter performance a lot. This should be
> our first practice. Should we consolidate these kinds of experience/practice
> and put in one place so people can come and learn instead of searching
> around?
>
> On Tue, Jan 25, 2011 at 9:26 AM, Deepak Shetty <sh...@gmail.com> wrote:
>
>> generate the random file in advance.
>>
>>
>> On Mon, Jan 24, 2011 at 2:21 PM, Ravindra Gupta <ra...@gmail.com>
>> wrote:
>>
>> > Hi
>> >
>> > I have gone through several blogs in this forum on the same issue. Has
>> > anyone figured out how to do it.
>> > Kindly let me know your thoughts how it could be done.
>> > My csv file has 10K+ values. There are two columns from which values
>> needs
>> > to be piced up randomly.
>> >
>> > I am sending SOAP/xml rpc sampler as a request where these values needs
>> to
>> > be supplied. It should be done randomly and efficiently.
>> > File looks like
>> >
>> > test11, a.com
>> > test22. b.com
>> > test33, c.com
>> > .........
>> > .test1000, z.com
>> > ......
>> >
>> > .
>> > These values need to be read ramdomly from file
>> > Any suggestions how it could be done.
>> >
>> > Thanks in Advance.
>> > Ravindra
>> >
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: CSV Random data selection
Posted by Duc Chau <ch...@gmail.com>.
Preparing data offline will save JMeter performance a lot. This should be
our first practice. Should we consolidate these kinds of experience/practice
and put in one place so people can come and learn instead of searching
around?
On Tue, Jan 25, 2011 at 9:26 AM, Deepak Shetty <sh...@gmail.com> wrote:
> generate the random file in advance.
>
>
> On Mon, Jan 24, 2011 at 2:21 PM, Ravindra Gupta <ra...@gmail.com>
> wrote:
>
> > Hi
> >
> > I have gone through several blogs in this forum on the same issue. Has
> > anyone figured out how to do it.
> > Kindly let me know your thoughts how it could be done.
> > My csv file has 10K+ values. There are two columns from which values
> needs
> > to be piced up randomly.
> >
> > I am sending SOAP/xml rpc sampler as a request where these values needs
> to
> > be supplied. It should be done randomly and efficiently.
> > File looks like
> >
> > test11, a.com
> > test22. b.com
> > test33, c.com
> > .........
> > .test1000, z.com
> > ......
> >
> > .
> > These values need to be read ramdomly from file
> > Any suggestions how it could be done.
> >
> > Thanks in Advance.
> > Ravindra
> >
>
Re: CSV Random data selection
Posted by Deepak Shetty <sh...@gmail.com>.
generate the random file in advance.
On Mon, Jan 24, 2011 at 2:21 PM, Ravindra Gupta <ra...@gmail.com> wrote:
> Hi
>
> I have gone through several blogs in this forum on the same issue. Has
> anyone figured out how to do it.
> Kindly let me know your thoughts how it could be done.
> My csv file has 10K+ values. There are two columns from which values needs
> to be piced up randomly.
>
> I am sending SOAP/xml rpc sampler as a request where these values needs to
> be supplied. It should be done randomly and efficiently.
> File looks like
>
> test11, a.com
> test22. b.com
> test33, c.com
> .........
> .test1000, z.com
> ......
>
> .
> These values need to be read ramdomly from file
> Any suggestions how it could be done.
>
> Thanks in Advance.
> Ravindra
>