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.

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]

Reply via email to