Hi,

you want the test to fail if xmlvalidate fails? Is xmlvalidate's failonerror set to true? If it is the case and if the validation fails, then the webtest should fail too.

Btw, it probably works better with a post release 2.1 build of WebTest (for instance the last one) as the normal ant task are now handled just like WebTest steps.

Marc.


Caleandro wrote:
Hi all,

In a test-case  I have to validate a SOAP response message coming from a
web-service against his XML Schema.
I tried to do this with an <antWrapper> step by <xmlvalidate> task and all
goes fine but, how could I obtain the Canoo step failure when the validation
fails?
The wrapped step always return ok. Do Anyone knows a more suitable way to do
the same thing?
Tanks in advance for any suggestion.
Vito

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest


_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to