Re: How to fail a test?

2006-03-02 Thread Antonio Zippo
The user manual says: "The HTML Assertion allows the user to check the HTML syntax of the response data using JTidy" so it checks only if the result is a correct HTML (or XML, or XHTML). i tried it, but the problem is the same :-( I think that i must set something to say jmeter to consider

How to fail a test?

2006-03-02 Thread Antonio Zippo
Hi all, i'm using jmeter from ant with ant-jmeter.jar task i created from the gui a testplan based on an http request. I need the test fails when the Response Assertion fails (for example on a response code 404) I tried using the forceBuildFailure attribute in the ant task, but without success...