Datascape Experience API

(0 reviews)

Testing

Testing

The following provides details of testing Mulesoft Datascape Experience API. These should be used to validate the results

Environment

NameUseAddresses / Apps
PostmanThis environment is available for integration to test, to ensure that calls to the API’s are technically correct and that the responses received are handled as expected. This environment is available for system, integration and user acceptance testing.Postman Mulesoft Collection API: mdc-datascape
MDC DEVThis environment is to test that, what is returned in POSTMAN GET is accurate in the DEV Environmenthttps://mdc-datascape-dev.au-s1.cloudhub.io/api
MDC QAThis environment is to test that, what is returned in POSTMAN GETS is accurate in the QA Environmenthttps://mdc-datascape-qa.au-s1.cloudhub.io/api

Datascape/Cemetery API Test Case

Positive Cases

Suggested Test CasesExpected Result
/api/datascape/engagement/v1/cemeteriesReturns list of all cemeteries (success - 200)
/api/datascape/engagement/v1/interments?filterByCemetery=Havelock&filterByFirstName=Richard Gilhespie&filterByYearOfBurialFrom=2018&filterByYearOfBurialTo=2018&filterByLastName=SkentelberyReturns matching interments - all parameters (success - 200)
/api/datascape/engagement/v1/interments?filterByFirstName=louisa maryReturns matching interments - firstname (success - 200)
/api/datascape/engagement/v1/interments/2560582?filterByLastName=CampbelReturns matching interments - lastname (success - 200)
/api/datascape/engagement/v1/interments?filterByFirstName=Louisa Mary&filterByCemetery=PictonReturns matching interments - firstname & cemetery (success - 200)
/api/datascape/engagement/v1/interments?filterByYearOfBurialFrom=2017&filterByYearOfBurialTo=2018Returns matching interments - year of burial from & year of burial to (success - 200)
/api/datascape/engagement/v1/interments?filterByCemetery=Havelock&filterByYearOfBurialFrom=2017&filterByYearOfBurialTo=2017Returns matching interments - cemtery & year of burial from & year of burial to (success - 200)
/api/datascape/engagement/v1/interments?filterByCemetery=HavelockReturns matching cemetery interments (success - 200)
/api/datascape/engagement/v1/interments/2560582Returns list of matching interments, multiple results (success - 200)

Negative Cases

Suggested Test CasesExpected Result
/api/datascape/engagement/v1/cemeteries (without correlationId)No correlationId (error - 400)
/api/datascape/engagement/v1/interments?filterByCemetery=HavelockNotExisting&filterByFirstName=Richard Gilhespie&filterByYearOfBurialFrom=2018&filterByYearOfBurialTo=2018&filterByLastName=SkentelberyNot Found (error - 404)
/api/datascape/engagement/v1/interments?filterByYearOfBurialFrom=2018=2017Bad Request (error - 400)
/api/datascape/engagement/v1/interments/999999Not Found (error - 404)

Datascape/Rates API Test Case

Positive Cases

Suggested Test CasesExpected Result
/api/datascape/engagement/v1/streetsReturns list of all streets (success - 200)
/datascape/engagement/v1/properties/addresses?filterByHouseNo=1568&filterByStreetName=Tumbledown BayReturns matching properties - all parameters (success - 200)
/api/datascape/engagement/v1/properties/addresses?filterByStreetName=Tumbledown BayReturns matching properties - street name (success - 200)
/api/datascape/engagement/v1/properties/valuation-refs?filterByAssessmentNo=20700 26300 AADetails matching property - assessment no (success - 200)
/api/datascape/engagement/v1/properties/132003Details matching property - property no (success - 200)

Negative Cases

Suggested Test CasesExpected Result
/api/datascape/engagement/v1/streets (without correlationId)No correlationId (error - 400)
/api/datascape/engagement/v1/properties/addresses?filterByHouseNo=9999&filterByStreetName=Tumbledown BayNot Found (error - 404)
/api/datascape/engagement/v1/properties/valuation-refs?filterByAssessmentNo=20700 26300 AYNot Found (error - 404)
/api/datascape/engagement/v1/properties/999999Not Found (error - 404)

Datascape/Property-files API Test Case

Positive Cases

Suggested Test CasesExpected Result
/api/datascape/engagement/v1/property-files/container/PN174860?private=false&searchBy=propertyno&onlyCurrent=false&application=propertyfiles&company=datacom-mulesoftReturns matching container information (success - 200)
/api/datascape/engagement/v1/property-files/file/12260216?company=MDC&application=muleApp&searchBy=propertyno&onlyCurrent=false&private=falseReturns matching record file (success - 200)

Negative Cases

Suggested Test CasesExpected Result
/api/datascape/engagement/v1/property-files/container/PN174860 (without correlationId)No correlationId (error - 400)
/api/datascape/engagement/v1/property-files/container/AA174860?private=false&searchBy=propertyno&onlyCurrent=false&application=propertyfiles&company=datacom-mulesoftBad request (error - 400)
/api/datascape/engagement/v1/property-files/container/PN999999?private=false&searchBy=propertyno&onlyCurrent=false&application=propertyfiles&company=datacom-mulesoftNot Found (error - 404)
/api/datascape/engagement/v1/property-files/file/99999999?company=MDC&application=muleApp&searchBy=propertyno&onlyCurrent=false&private=falseNot Found (error - 404)

Reviews