On 21/08/07, vdanu <[EMAIL PROTECTED]> wrote:
>
> > The file is only opened once, but each thread will use a different
> > line from the file.
>
> That is interesting! I thought that each thread will read and repeat to use
> the lines from the file one by one from the beginning.
> Which line is being picked next? Is it randomized? or sequential?
Sequential.
> If I have a file with 1000 lines, running 10 threads, does it mean that each
> thread will use only 100 lines?
On average, yes, but if one thread runs faster or slower it may use
more or fewer lines.
> Is this scheme documented anywhere?
>
Not yet.
>
> sebb-2 wrote:
> >
> > On 21/08/07, vdanu <[EMAIL PROTECTED]> wrote:
> >>
> >> Thanks for the prompt response!
> >> Using the CSV dataset looks quite simple to do.
> >>
> >> Now, if I define multiple users (threads), will that mean that each user
> >> will use the same set of data? So the set of requests from different
> >> users
> >> will be coming from a single CSV dataset? Is there any way or possibility
> >> for different users to use different CSV files? We want each request to
> >> be
> >> unique, i.e. to target a different row in the database every time.
> >
> > The file is only opened once, but each thread will use a different
> > line from the file.
> >
> >> Thanks for the suggestion to use the counter, but I am not sure if it is
> >> suitable to use, since the values of the variables are not sequential,
> >> and
> >> there is no guarantee that a certain value exists in the database.
> >> We are thinking to extract values randomly from the database (of up to 50
> >> million rows), get rid of the no hits, and put them into the CSV
> >> dataset(s).
> >>
> >> Thanks and regards,
> >> Val
> >>
> >>
> >> sebb-2 wrote:
> >> >
> >> > On 21/08/07, vdanu <[EMAIL PROTECTED]> wrote:
> >> >>
> >> >> I am testing a Web Service, and want to perform a load test with
> >> unique
> >> >> variables for each request. Having three variables to substitute, I am
> >> >> thinking of having my variables in a file, where each line has three
> >> >> fields:
> >> >> accountNumber, startDate, and endDate, delimited by commas. These
> >> should
> >> >> substitute <accountNumber>, <startDate>, and <endDate> elements in the
> >> >> SOAP
> >> >> request.
> >> >>
> >> >> How do I substitute multiple fields into the SOAP request?
> >> >
> >> > Use the CSV DataSet with the variables AC, SD, ED (for example).
> >> >
> >> > Then use ${AC} ${SD} and ${ED} as appropriate in the SOAP request.
> >> >
> >> > The request must be on the screen, not in a file, as JMeter does not
> >> > do file substitutions.
> >> >
> >> >> If I have thousands of lines in the file, how will it affect the
> >> >> overhead?
> >> >
> >> > No, CSV DataSet reads a line at a time.
> >> >
> >> >> Is there a better way to achieve what I want to do?
> >> >
> >> > Instead of reading from a file, you might be able to use Counters to
> >> > generate the numbers in conjunction with some fixed text. Depends on
> >> > what restrictions need to be placed on the values of the variables.
> >> >
> >> >> Regards,
> >> >> Val
> >> >> --
> >> >> View this message in context:
> >> >>
> >> http://www.nabble.com/Inserting-multiple-fields-from-file-tf4306982.html#a12260520
> >> >> Sent from the JMeter - User mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >> ---------------------------------------------------------------------
> >> >> 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]
> >> >
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >> http://www.nabble.com/Inserting-multiple-fields-from-file-tf4306982.html#a12261320
> >> Sent from the JMeter - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> 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]
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Inserting-multiple-fields-from-file-tf4306982.html#a12264302
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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]