On 23/11/05, Bryn Evans <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm using CSV Data Set Config Element to read in data from my CSV data file.
> I'm using SOAP/XML-RPC Request Sampler to send data to the application under
> test. I want the test plan to read in the data, send a request, verify
> response, and continue to do so until there is no more data in the file. I
> thought that a sensible way of doing this would be to add a dummy line to the
> end of the file (ie value of first field is "END") and added a While
> controller that stops the loop when the value of the variable representing
> the first column of the data file is equal to "END". But this does not seem
> to have worked, the loop goes on indefinitely.
>
> Test plan
> |_Thread Group
> |_While controller (with condition ${Test Case Name} <> "END")
> |_CSV Data Set Config (with variable names Test Case Name,Date time
> sent,.......)
> |_SOAP/XML Request Sampler (using the variables names)
> |_Assertion Results Listener
>
> Can anyone help please.
The While Controller:
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#While_Controller
does not assume Javascript.
You need to change the condition to some that evaluates to "FALSE" at some point
The easiest might therefore be to replace END with FALSE and set the
condition to:
${Test Case Name}
S.
> Thanks,
>
> Bryn
>
> > Bryn Evans
> >
> > PA
> Information Systems Implementation Practice
> 123 Buckingham Palace Road
> London, SW1W 9SR
>
> Tel: (+44) 20 7333 5196 (direct)
> Tel: (+44) 20 7730 9000 (switchboard)
> Mobile: (+44) 7729 108 706
> 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]