DMTF / Redfish-Protocol-Validator

The Redfish Protocol Validator tests the HTTP protocol behavior of a Redfish service to validate that it conforms to the Redfish specification.
Other
14 stars 12 forks source link

Some PATCH tests fail if the request is rejected completely #33

Closed mraineri closed 3 years ago

mraineri commented 3 years ago

Some of the negative testing done by the tool for PATCH don't allow for the fact that a service might completely reject a request rather than perform a partial success. This is the clause that allows for the request to be rejected completely:

The implementation may reject the update on certain properties based on its own policies and, in this case, not make the requested update.

For example, REQ_PATCH_MIXED_PROPS is expecting the service returns a 200 OK with messages showing the properties not updated, but doesn't accommodate services that want to reject the operation entirely. There may be other tests that need to be checked.