2008/5/3 <[EMAIL PROTECTED]>:
> sebb schrieb:
>
>
> > 2008/5/3 <[EMAIL PROTECTED]>:
> >
> > > Hi *,
> > >
> > > after reading
> > >
> > >
> http://www.mail-archive.com/[email protected]/msg09521.html
> > >
> > > I was under the impression that any thread would get a new line of
> input at
> > > the beginning of every new loop, or am I misreading the following:
> > >
> > > "The CSV Data Set element will read the next line from the file at the
> > > start of each loop; different threads will automatically get different
> > > lines from the file."
> > >
> > >
> >
> > You need to tell CSVRead when it has finished with reading columns
> > from the line.
> >
> > Add a call of the form:
> >
> > ${__CSVRead(file,next)}
> >
> > to any variable definition (it returns the empty string).
> >
>
> Thanks for your super quick response!
Sorry, that was rubbish. I was confusing CSVRead function with CSV Dataset.
You don't need to do anything to make CSV Dataset move to the next line.
> And forgive me my stupidity but I don't get it to work.
Because the advice was wrong, sorry.
> In my CVS Data Set Config the filename is set to order.csv. As soon as I
> add
>
> ${__CSVRead(order.cvs,next)}
>
> or
>
> ${__CSVRead("order.cvs",next)}
>
> I get this
>
> 2008/05/03 20:45:35 INFO - jmeter.services.FileServer: Stored: order.csv
> 2008/05/03 20:45:35 WARN - jmeter.functions.FileWrapper: endRow(): no
> entry for order.csv
Yes, because that was an incorrect solution...
>
>
> >
> > > But it seems I can't get it right. My setup looks like this
> > >
> > > Thread Group: x threads with y loops
> > > + CSV Data Set: var1;var2;..;varN
OK
> > > + JavaSamplerClient:
What is the Java Sampler Client?
I'm not sure I know this one.
> > > Parameter configuration for the sampler class
> > > var of class1 var1
> > > var of class1 var2
> > > ...
> > > var of classN varN
> > > + Save response to file
> > > + Summary report
> > > + View results in tables
> > >
> >
>
> The next part of my question is where I have to put the line(s) exactly.
> You meant in the "Send Parameters With the Request" section of Java Request?
> I tried the following
>
>
> + CSV Data Set: var1;var2;..;varN
> + JavaSamplerClient:
> Parameter configuration for the sampler class
> var of class1 ${var1}
> var of class2 ${var2}
> ...
> var of classN ${varN} ${__CSVRead(order.cvs,next)}
>
> and
>
>
> + CSV Data Set: var1;var2;..;varN
> + JavaSamplerClient:
> Parameter configuration for the sampler class
> var of class1 ${var1} ${__CSVRead(order.cvs,next)}
> var of class2 ${var2} ${__CSVRead(order.cvs,next)}
> ...
> var of classN ${varN} ${__CSVRead(order.cvs,next)}
>
> As I'm not sure which variable definition you were referring, I tried also
>
> + CSV Data Set: var1;var2;..;varN;${__CSVRead(order.cvs,next)}
>
> + JavaSamplerClient:
> Parameter configuration for the sampler class
> var of class1 ${var1}
> var of class2 ${var2}
> ...
> var of classN ${varN}
>
> But nothing changed besides the WARN log entry.
> Sorry for bugging you with such stupid questions - but please, save my
> day:-)
>
> Thanks again
> Michael
>
>
>
>
> >
> > > What I see in this scenario is that all of the x threads initially read
> a
> > > single line which is reused for all of the y loops. The csv file
> contains
> > > more than x*y line of valid input so no problem on this part and as
> expected
> > > when using z = x*y threads with 1 loop it works fine. Unfortunately the
> > > number of requests planned for this test is > 100.000 which most
> probably
> > > can't be approached with a 1 loop/thread configuration.
> > >
> > > Any idea what is going wrong?
> > >
> > > Thanks
> > > Michael
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]