[JDEV] Server Validation Tool

Christian Ratliff ratlifc at lily.org
Sun Sep 19 07:12:56 CDT 1999


Anders,

  I was picturing a specialized client which would validate the various
token types:  login, logout, roster, message, and status. It does this
by sending the server a fragment, in the major styles <j
type='token'>...</j> and <token>...</token>. It then reads the reply
fragment and compares that to the expected result. The real value comes
from analyzing the reply. If the XML is misformatted, or not compliant
with the version of the protocol being tested, then you can report a
clear error. "roster fragment missing token 'x'". As it stands now you
have to assume the client is written correctly, and there is little or
no error handling.

  I am working on getting the Win98 client to read a roster listing. It
does not appear to be working, but the client is giving me no error to
work from. I just know I am sending out what I think is a valid roster
fragment, and nothing is occuring in the user interface.

thanks!
christian




More information about the JDev mailing list