WS-Enumeration scenarios and test coverage

Here is a note from Nathan Burkhart on WS-Enumeration scenarios and test coverage:

I analyzed the WS-Enumeration scenario tests and the coverage looks good.  All normative statements in the spec are covered.  However, based on changes made and new issues opened during the F2F meeting I think we need to update just one of the tests at http://www.w3.org/2002/ws/ra/test/scenario.html (updates in red below).  Luckily, the changes proposed for issue 12112 are in sync with the test as written.
7.5 MaxTime Test
This test verifies the ability of a data consumer to limit the amount of time it takes for the data source to assemble an EnumerateResponse using the wsen:MaxTime element. The initial Enumerate request has the following salient features:

  *   NewContext element
The second Enumerate request has the following salient features:

  *   EnumerationContext element that was provided by the data source
  *   MaxTime element with a very low value. If a data source is designed such that the MaxTime value will have no impact, for the purposes of testing a data source is to return a wsen:TimesOut fault if the MaxTime value is present with a value less than 5 seconds.
The subsequent Enumerate requests have the following salient features:

  *   EnumerationContext element that was provided by the data source
7.5.1 Sequence

The messaging sequence for this test is identical to that of the Basic Test.
 7.5.2 Success Criteria

  *   Receipt of valid Enumerate message with NewContext element by the data source
  *   Receipt of a valid EnumerateResponse message with EnumerationContext element and with one item by the data consumer
  *   Receipt of one valid Enumerate message with EnumerationContext element and MaxTime element by the data source
  *   Receipt of valid EnumerateResponse message with zero items and with Items/@Reason equal to http://www.w3.org/2002/ws/ra/edcopies/ws-enu/TimedOut by the data consumer

*       Receipt of one or more valid Enumerate messages with EnumerationContext element by the data source

*       Receipt of one or more valid EnumerateResponse messages with one item by the data consumer

*       Receipt of a valid Enumerate message with EnumerationContext element by the data source

*       Receipt of a valid EnumerateResponse message with EndOfSequence element by the data consumer
7.5.3 Conformance
A conforming data consumer MAY NOT be capable of implementing this test due to its inability to support the optional wsen:MaxTime element.
Because this test involves only operations and elements that are required to be supported by the data source, there are no allowable failure cases.

Received on Friday, 11 March 2011 01:17:46 UTC