These conditional case types are
similar to the
Equals,
Contain and
Query verification
points in service tests.
- Use Equal Case to specify a response that
is returned by the stub when the entire incoming message content fully
matches the specified message content.
- Use Contains Case to specify a response
that is returned by the service stub when a portion of the incoming
message content matches the specified message content.
- Use Query Case to specify a response that
is returned by the service stub when an XPath query meets the specified
criteria.
You can add as many case elements as necessary to simulate the
behavior of the original service. Use the
Up and
Down buttons
to change the order in which the case conditions are evaluated. Only
the first matching condition is executed.
The default case cannot
be removed and is always the last case element in the operation.