Certification tests

Contents

Inventory Push Tests

Test
Requirement
Scenario
Expected Result
Notes

Receive multi-space, multi-rate availability push

Required

The channel manager returns { "success": true} and data is updated in the channel manager extranet.

Mapping bed and dorm space types is recommended, not required.

Receive multi-space, multi-rate gross rate push

Required

The channel manager returns { "success": true} and data is updated in the channel manager extranet.

Mapping bed and dorm space types is recommended, not required.

Receive multi-space, multi-rate net rate push

Required

The channel manager returns { "success": true} and data is updated in the channel manager extranet.

Mapping bed and dorm space types is recommended, not required.

Receive multi-space, multi-rate restriction push

Required

The channel manager returns { "success": true} and data is updated in the channel manager extranet.

Mapping bed and dorm space types is recommended, not required.

Receive product (package) rates

Required

The channel manager returns { "success": true} and data is updated in the channel manager extranet.

The per night or per person per night price of the product is added to the grossAmountor netAmount of each ratePrice collection in the push. Product prices are not itemized separately.

Receive a full inventory push from Mews

Required

The channel manager returns { "success": true} and data is updated in the channel manager extranet.

Being able to accept this data is required but push size or frequency can be decreased if necessary.

Reservation Tests

Test
Requirement
Scenario
Expected Result
Notes

Send a single gross priced reservation

Required

Modify the single gross priced reservation

Required

Cancel the single gross priced reservation

Required

Send a single net priced reservation

Required

Modify the single net priced reservation

Required

Cancel the single net priced reservation

Required

Send a gross priced reservation with 3 spaces on 2 rate plans and varied daily rates

Required

Multi-booking reservations must be sent as 1 reservation collection in all cases.

Add/remove a space and add/remove dates from the multi-room gross priced reservation

Required

Cancel the multi-room gross priced reservation

Required

Send a net priced reservation with 3 spaces on 2 rate plans and varied daily rates

Required

Multi-booking reservations must be sent as 1 reservation collection in all cases.

Add/remove a space and add/remove dates from the multi-room net priced reservation

Required

Cancel the multi-room net priced reservation

Required

Send a reservation with a product attached

Optional

These products must be manually mapped before certification. This test can be combined with the single reservation test. If supported, needs to be tested with gross and net prices.

Error Tests

All error messages from the channel manager to Mews must use the error codes listed in Synchronous error response and clearly state in the error message field a full description of the error. Ideally, advice on how to solve the error should also be included, because these messages are forwarded directly to the property via email.

Test
Requirement
Scenario
Expected Result
Notes

System errors

Required

A list of the error response codes and messages for all potential system errors, including timeout errors, maintenance errors, and general downtime errors.

Unknown reservation error

Required

Mews will push an invalid reservation and send a confirmation to the channel manager.

The channel manager returns { "success": false, "errors":[{ "code": 2, "message": "Reservation {mewsConfirmationNumber} is not recorded in the channel manager." }]}.

Unmapped Space code error

Required

Unmapped Rate code error

Required

Connection inactive or not set up error

Required

The channel manager integration for this property is deactivated on the channel manager side and then a full inventory push is sent from the test property to the channel manager's endpoints.

The channel manager returns { "success": false, "errors":[{ "code": 3, "message": "e.g. The property connection is missing or inactive." }]}

Invalid reservations

Required

The channel manager sends an invalid reservation, e.g. one that fails basic business rules such as having a start date later than the end date.

Mews returns an appropriate processing error (error code 7), which explains why the reservation cannot be created in Mews.

The channel manager logs the error and does not re-send the invalid reservation. If possible, the channel manager fixes the error on its own and re-sends a valid reservation.

Last updated