Validation Tool
The tool below allows reservation/ticketing systems or suppliers with custom-built software, to test their OCTO API implementation to verify key implementation elements.
The tool will make a number of test API requests to your endpoints using the URL path and API key provided and will test the following 17 scenarios and provide feedback like sucess, warning, critical error, etc.:
Get Supplier. This test checks that returned supplier object has the correct fields.
Get Products. This test checks returned array of products if it has the correct fields and capabilities.
Get Product. This test checks that returned product object has the correct fields and capabilities.
Get Product Invalid Error. This test checks that the INVALID_PRODUCT_ID response is returned for invalid product ID in request body.
Availability Calendar Interval (OPENING_HOURS). This test checks returned an array of availabilities for 30 days from now
Availability Calendar Interval (START_TIME). This test checks returned an array of availabilities for 30 days from now.
Availability Calendar Invalid Product (400 INVALID_PRODUCT_ID). This test checks that the INVALID_PRODUCT_ID response is returned for an invalid product ID in the request body.
Availability Calendar Invalid Option (400 INVALID_OPTION_ID). This test checks that the INVALID_OPTION_ID response is returned for invalid Option ID in request body.
Availability Calendar BAD_REQUEST (400 BAD_REQUEST). This test checks that the BAD_REQUEST response is returned if there is the invalid or missing data in request body.
Availability Check Interval (OPENING_HOURS). This test checks returned an array of availabilities for 30 days from now.
Availability Check Interval (START_TIME). This test checks returned an array of availabilities for 30 days from now.
Availability Check Date (OPENING_HOURS). This test checks that correct availability is returned for specific date.
Availability Check Date (START_TIME). This test checks that correct availability is returned for specific date.
Availability Check AvailabilityId (OPENING_HOURS). This test checks that correct availability was returned with matching availabilityId as the request.
Availability Check AvailabilityId (START_TIME). This test checks that correct availability was returned with matching availabilityId as the request.
Availability Check Status START_TIME. This test checks if availability endpoint is working correctly and there are useable availabilities.
Availability Check Status OPENING_HOURS. This test checks if availability endpoint is working correctly and there are useable availabilities.
OCTO Validation Tool
Last updated