Currently, the Response Assertion only supports a yes/no response 
to whether the text includes the regex.  Supporting match counts 
would be useful too, I think.

-Mike

On 30 Sep 2003 at 15:39, Dan Yuen wrote:

> I've started looking at JMeter for testing some html
> pages on a web app.  I was wondering how much
> flexibility i might have with the regular expressions
> in the Response Assertion.
> 
> I've seen how an Assertion Results can report back
> whether or not it finds an occurrence of a certain
> pattern in a line.  But can I use this feature to, for
> example, verify that my response is an html page with
> exactly eight occurrences of the word "sample" within
> a
> <pre></pre> tag somewhere in the body of the page?
> 
> Am I limited to testing for only patterns contained in
> a single line?
> 
> Thanks very much.
> 
> Dan Yuen
> 
> 
> 
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search
> http://shopping.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-
[EMAIL PROTECTED]
> For additional commands, e-mail: jmeter-user-
[EMAIL PROTECTED]
> 




--
Michael Stover
[EMAIL PROTECTED]
Yahoo IM: mstover_ya
ICQ: 152975688
AIM: mstover777

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

Reply via email to