From: sebb
> This is how it is supposed to work - Assertions are used to flag
> whether a sample result is as expected; i.e. has the sample succeeded
> or failed?
Gotcha.
> Rather than use an Assertion, why not use the Regex Extractor, and
> then change the while condition so that it checks the appropriate
> condition?
I tried using this first but I haven't been able to get it working the
same way.
> If you choose the RE default value to be "false", then you should just
> be able to use the following condition:
> ${REGEXVAR}
> where REGEXVAR is the variable you used for the RE.
So here's what I have. The while loop:
Condition: ${_redirection_host}
RE:
Reference name: _redirection_host
Regular Expression: REDIRECT:https://(.*)/g
Template: $1$
Match No: 1
Default Value: false
I know the RE works as I haven't changed it, but I don't know why the
loop doesn't exit. As an additional complication I've actually got two
possible exit conditions, one of them is the above redirection URL and
other one is a page that is displayed in certain conditions. So I could
add another RE for the other alternative and do OR - but I'd just like
to get this one working first... You're help is much appreciated.
Many thanks,
Milla
Notice - The information in this e-mail is confidential and may be legally
privileged. It is intended solely for the recipient(s) named above. If you
have received this message in error, or are not a named recipient, please
notify the sender immediately at + 1 (604) 685-7619 and please delete this
e-mail message from your computer. Thank you.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]