On 12/08/2009, hoffm11 <[email protected]> wrote: > > Um, I am confused why this isn't valid? I thought you can just specify the > variable in the condition?
Of course, but the condition has to evaluate to "false" in order to exit the loop. See the documentation. > I expect it to exit the while loop once the text "Total Number Returned" is > return and then continue on with the rest of the script. The application > uses a lot of ajax stuff and this is the only why I can get this to work. > > Can you give me an example on how this can be done and what I am doing > incorrect? > > > > > sebb-2-2 wrote: > > > > On 12/08/2009, hoffm11 <[email protected]> wrote: > >> > >> Alright here is what I have. > >> > >> While Controller (Condition.. ${match} > > > > That is not a valid condition, see: > > > > > http://jakarta.apache.org/jmeter/usermanual/component_reference.html#While_Controller > > > >> - Regex Expression > >> - Ref Name: match > >> - Reg Ex: Total Number Returned > >> - Template: $1$ > >> - Match No. 1 > >> - Default value: NO VALUE > >> > >> - HTTP Request (this page will have a hourglass and then post "Total > >> Number > >> Returned" when done) > >> - show.page > >> > >> This does not work for me. > >> > > > > In what way does it not work? > > What happens? > > What did you expect to happen? > > > >> > >> sebb-2-2 wrote: > >> > > >> > On 12/08/2009, hoffm11 <[email protected]> wrote: > >> >> > >> >> Is there a way in jmeter to say.. > >> >> > >> >> Wait for Assertion X to display on the screen before moving to the > >> next > >> >> request in the script? > >> > > >> > How does a browser do this? > >> > > >> > You need to create a While loop with the appropriate sampler and > >> > Post-Processor. > >> > > >> >> -- > >> >> View this message in context: > >> >> > >> > http://www.nabble.com/Wait-for-Text-to-show-up-before-moving-on-tp24935961p24935961.html > >> >> 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/Wait-for-Text-to-show-up-before-moving-on-tp24935961p24938085.html > >> > >> 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/Wait-for-Text-to-show-up-before-moving-on-tp24935961p24939302.html > > 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]

