Try using a Regex Post-Processor instead of an Assertion.

If you set the default value to false, and negate the RE, you should
be able to use the variable as the while condition.

i.e. if the RE uses the variable MATCH, then use ${MATCH} as the while
condition.


On 05/11/2007, FenixStrife <[EMAIL PROTECTED]> wrote:
>
> Hi everybody!
> I have a little problem using a while controller in JMeter.
> In a few words: I would like to prove that a web page shows some text (a
> value of a list of values), but this information is shown in some pages, so
> I don't now the page this text will be shown.
>
> In order to do that I'm using a while controller, using the LAST atributte
> it works: I do a request to the page and I test the page doesn't contain the
> text. This way when I find the page in what the value is listed it will exit
> from the while loop. But this has a problem, when I use a listener to see
> the results of the test it shows a "fail" (the fail that we have use to exit
> from the loop), but my test is correct. Is there any way of config JMeter to
> not show this final Loop assert??? I have to make reports of the test and
> this way it seems it hasn't passed the test...
>
> Another solution I thougth was not to use a LAST assertion, but I don't know
> how to prove a page has or hasn't some text without using a Response
> Assertion...
>
> Please I need help!!!!! This is driving me crazy!!!!!
> If you have any example I would be very pleased!!!!
>
> --
> View this message in context: 
> http://www.nabble.com/While-Controller-Problem-tf4752493.html#a13589573
> 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]

Reply via email to