While LAST works OK for me in the following test plan:
Test Plan
- Thread Group (forever)
- - While (LAST)
- - - COUNTER (1 by 1 to 100)
- - - JavaTest Sampler, returning: Javatest ${COUNTER}
- - - - Assertion Not Match "JavaTest 11"
- - View Results in Table
This exitted the loop after matching "JavaTest 11"
==
However, I did have problems with a While condition that contained a
function - the function only seemed to be evaluated once. Not sure why
that is. I thought I'd got that working.
There were also some errors reported to the console in the above test,
so there's obviously some kind of problem.
[It's just as well the While controller is still flagged in the
documentation as Alpha code!]
I can send you the above test plan if you want - and do send me your
test plan privately.
I'd like to fix these errors - if I can.
S.
On Mon, 07 Mar 2005 14:50:20 -0600, Craig S. Wilson <[EMAIL PROTECTED]> wrote:
>
> Hello. I am new to the list and fairly new to JMeter.
>
> I have been beating my head against the spot in the wall labelled "While
> Controller". I did see one message in the maillist archive which seems
> to confirm my experience: the While Controller evaluates the condition
> one time and never re-evaluates. This means you either get into the
> loop and never exit, or you never get in.
>
> I have been trying to construct a logical equivalent to the While from
> other controllers, but have not been able to get anything to work.
>
> Does anyone have a work-around? Or a fix for the While?
>
> In a nutshell, what I need to do is:
>
> upload a file for processing;
>
> while (processing not complete)
> wait a bit
>
> check the completion code of the processing;
>
> I would be more than happy to include my entire test plan, if that would
> help.
>
> And, is it just me, or do other people get these "Velocity 127 General
> Errors" when accessing most of the maillist archives?
>
> Thanks,
>
> --
>
> ---------------------------------------
> Craig S. Wilson [EMAIL PROTECTED]
> ===============================
> Note: If you send me HTML-mail, it will
> probably end up in my SPAM bucket.
> ---------------------------------------
>
> ---------------------------------------------------------------------
> 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]