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

It seems that the TestPlan does not fails even if the response assertions are 
not verified...
The log result shows this:
  <assertionResult>
    <failure>true</failure>
    <error>false</error>
    <failureMessage>Test failed, code expected to contain /200/</failureMessage>
  </assertionResult>

Could you help me?

thanks in advance, 
    Revenge
                
---------------------------------
Yahoo! Mail: gratis 1GB per i messaggi, antispam, antivirus, POP3

Reply via email to