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]

Reply via email to