XKISS-T7: Asynchronous Test

XKISS-T7 states that

"The resulting set of messages will consist of eight messages: An initial Locate Request and Locate Result; a first Status Request and the Status Result stating it's still pending; a second Status Request and the Status Result stating the Success; a Pending Request and a final Locate Result."

It calls for exactly two Status requests before a final pending request. Since the server doesn't "know" how quickly the client can make these calls and the client doesn't "know" how fast the server can execute the pending request. The test basically requires that the server and client be synchronized in a sense that the server must finish the processing after the first Status request and before the second Status request, which makes the test unrealistic. I propose that we revise the test to the following:


"The resulting set of messages will consist of at least six messages: An initial Locate Request and Locate Result; One or more Status requests and responses,  and the last Status Result stating the Success; a Pending Request and a final Locate Result."

A Status Request with Pending result will likely be exercised in the XKRSS tests where a client should call the Status method as many times as necessary to get the final result.

Comments, please?

Yunhao

Received on Tuesday, 30 November 2004 14:56:00 UTC