On 5/30/05, Sander Stevens <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I am using a response assertion for an html response.
> Response field to Test: text response
> Pattern Matching Rules: Contains
> Pattern to test: 1|0_12345678_1|999

This will match "1"

> 
> Html response:
> <html>
> <head>
> <link href="css/fakeispmessage.css" type="text/css" rel="stylesheet" />
> </head>
> <body>
> <table class="maintable">
>   <tr>
>     <td valign="top">
> <h1>Fake ISP Messages</h1>

This contains "1"

> <p>Er is een fout opgetreden!
> <br>
> <div class="error">Cannot forward after response has been committed</div>
> </p>
> <br>
> <br>
> <br>
> <a href="javascript:history.go(-1);">back</a>

This contains "1" as well.

> |
> <a href="message">main</a>
>     </td>
>   </tr>
> </table>
> </body>
> </html>
> 
> And as you can see: the pattern I am looking for is not available in this 
> response. But still my result is black. Should be red. Anybody know what I am 
> doing wrong?

See above.

> 
> 
> 
> Met Vriendelijke Groet,
> 
> Sander Stevens
> KPN Internet Solutions
> Internet Technologies Amersfoort
> Tel: 030-6588500 (ex. 88633)
> Fax: 033-4513101
> Mobiel: 06-46404673
> E-mail:[EMAIL PROTECTED]
> MSN: [EMAIL PROTECTED]
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 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