Thanks for the suggestions.  I did create the Java sampler and it will
display false and then display null when the actual RE is displayed.  

Any ideas?

-----Original Message-----
From: sebb [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 14, 2005 6:17 PM
To: JMeter Users List
Subject: Re: Regular Expression Text

On Fri, 14 Jan 2005 14:19:32 -0500, Hoffman, Matthew <[EMAIL PROTECTED]>
wrote:
> I am just trying to extract text from the html code.
> 
> I want to get (Search Results Complete) from the text, so I have:
> 
> Reference name:  results
> 
> Regular Expression: (Search Results Complete)
> 
> Template:  $1$
> 
> Match: 1
> 
> Default Value:  false
> 
> Do you see any issues with this?

Add something to display the contents of the variable, e.g. add a
JavaTest sampler and put the variable in one of the fields.

> 
> The script I am running is:
> 
> While Controller
> 
> -         !${results}

value looks wrong, see:

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Whi
le_Controller

Try using LAST instead; possibly negate the assertion.

> 
> o        Request
> 
> o        Regular Expression Extractor from above
> 
> o        Assertion
> 
> I want the request to keep looping until it finds {results}. This
> doesn't seem to work.
> 
> Any help would be greatly appreciated.
> 
> Thanks
> 
>

---------------------------------------------------------------------
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