W3C home > Mailing lists > Public > www-xkms@w3.org > October 2004

testing error cases

From: Jose Kahan <jose.kahan@w3.org>
Date: Tue, 19 Oct 2004 18:07:48 +0200
To: www-xkms@w3.org
Message-ID: <20041019160748.GA4247@inrialpes.fr>

Hi!

As part of the test suite, we should try to test not only the succesful
behaviour, but the errors too.

For example, what happens when you revoke a certificate that doesn't
exist, what happens when you use the wrong shared secret, what happens
when you use the status request and you don't get a sucess reply...

Guillermo pointed out to me today that it may be difficult to do those
tests, as in some cases the clients or the servers need to be able to send 
wrong messages. What we want to test in these cases is what happens 
when either the client or server receive an invalid message.

It seems that the SOAP people used fake clients or servers to test
the error cases. I have no idea how flexible are the current
implementations.

Any ideas on how to proceed here are welcome.

-jose
Received on Tuesday, 19 October 2004 16:08:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:39:23 GMT