Hello,

I am trying to use a while controller, but it seems to execute infinitely regardless of the condition I specify. I have a user variable called testStatus to which I assign a default value of "foo". I extract a value from an HTTP response within the While Controller and want to continue to execute the requests withiin the while controller until the extracted value changes to "finished". I have verified that the value of the variable indeed starts out as "foo" and changes to "finished", but the while controller never exits. Here are some of the conditions I've tried:

${testStatus}!=finished
!${testStatus}==finished
"${testStatus}"!="finished"
!"${testStatus}"=="finished"
${__javaScript("${testStatus}"!="finished")}

I've even tried to keep the while controller from executing at all, but it just happily executes forever:

${testStatus}==finished
1==2

I've tried this with 2.0.3 and the 20050704 nightly build.

What am I missing? Could someone please throw me a bone, and tell me what I'm doing wrong?

Kevin

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to