Hi all,

I am setting up a testplan that executes reports by sending http requests. Some of these requests take a few minutes to execute so I've added a while loop and a cookie manager to continually access the state of a query within any one session. The while loop checks the html being returned - if the title is "Executing Query" (extracted from the server response) then it continues until the correct title is returned (the report has finished executing).

This is the basic setup:

Thread Group
HTTP Cookie Manager
Simple Controller
Http Request
Regular Expression (Reference name: Title; Regular Expression: <title>(.*)</title>)
While Controller ("${title}" == "Executing Query")
Http Request


The While loop seems to execute regardless however I've tried placing the same conditions in an If loop and it works fine. I've also tried placing "Executing Query" in a user defined variable (named Executing_Query) but the behaviour is still the same. Even when placing 2!=2 or "${Executing_Query}" != "${Executing_Query}", still the loop executes! The title is being extracted correctly so I've run out of ideas.

Am I going about this incorrectly? Any ideas would be much appreciated!

Kim



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



Reply via email to