I think you could accomplish this with a while controller and a variable.
The while condition would be something like:
${__javaScript("${isComplete}"!="true")}
Add a regular expression extractor on your sampler with these parms:
Ref name = isComplete
Reg ex = completed in \d+ minutes
Template = true
Match No. = 1
Default Val = false
Regards,
Matt C.
-----Original Message-----
From: Hoffman, Matthew [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 22, 2007 2:50 PM
To: JMeter Users List
Subject: Repeat until text displays
I have a web page that runs a query and when it is done, it displays
"completed in # minutes". How do I emulate this in a script so the test
runs until that text is displayed?
Thanks
------------------------------------------------------------
This message and any files transmitted within are intended
solely for the addressee or its representative and may
contain company sensitive information. If you are
not the intended recipient, notify the sender immediately
and delete this message. Publication, reproduction,
forwarding, or content disclosure is prohibited without the
consent of the original sender and may be unlawful.
Concurrent Technologies Corporation and its Affiliates.
www.ctc.com 1-800-282-4392
------------------------------------------------------------
---------------------------------------------------------------------
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]