Remove all summaries endpoints #521
JUnit + Newman Tests ✅
✅ edocumentation-application/target/surefire-reports/TEST-org.dcsa.edocumentation.controller.BookingRequestControllerTest.xml
3 tests were completed in 4s with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.dcsa.edocumentation.controller.BookingRequestControllerTest | 3✅ | 4s |
✅ org.dcsa.edocumentation.controller.BookingRequestControllerTest
✅ testBookingController_getBookingSingleResult
✅ testBookingController_getBookingNotFound
✅ testBookingController_getBookingInvalidCarrierBookingRequestReference
✅ edocumentation-domain/target/surefire-reports/TEST-org.dcsa.edocumentation.domain.booking.BookingRequestStateMachineTest.xml
2 tests were completed in 69ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.dcsa.edocumentation.domain.booking.BookingRequestStateMachineTest | 2✅ | 69ms |
✅ org.dcsa.edocumentation.domain.booking.BookingRequestStateMachineTest
✅ testBasic
✅ loadInvalidStateTransitions
✅ edocumentation-domain/target/surefire-reports/TEST-org.dcsa.edocumentation.domain.ebl.EblStateMachineTest.xml
4 tests were completed in 118ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.dcsa.edocumentation.domain.ebl.EblStateMachineTest | 4✅ | 118ms |
✅ org.dcsa.edocumentation.domain.ebl.EblStateMachineTest
✅ testBasicDefaultFlow
✅ testBasicAmendmentFlow
✅ loadInvalidStateTransitions
✅ testBasicAmendmentFlowRestricted
✅ edocumentation-infra/target/surefire-reports/TEST-org.dcsa.edocumentation.infra.validation.StringEnumValidatorTest.xml
2 tests were completed in 444ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.dcsa.edocumentation.infra.validation.StringEnumValidatorTest | 2✅ | 444ms |
✅ org.dcsa.edocumentation.infra.validation.StringEnumValidatorTest
✅ givenTestRecord_whenBookingStatusStringInvalid_thenViolation
✅ givenTestRecord_whenBookingStatusStringNullOrValid_thenNoViolation
✅ edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.mapping.DisplayedAddressMapperTest.xml
4 tests were completed in 613ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.dcsa.edocumentation.mapping.DisplayedAddressMapperTest | 4✅ | 613ms |
✅ org.dcsa.edocumentation.mapping.DisplayedAddressMapperTest
✅ displayedAddressMapper_testToDAOOneLine
✅ displayedAddressMapper_testToDAOAllLines
✅ displayedAddressMapper_testToDAOTooManyLines
✅ displayAddressMapper_testToDTOManyLines
✅ edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.ActiveReeferSettingsServiceTest.xml
1 tests were completed in 48ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.dcsa.edocumentation.service.ActiveReeferSettingsServiceTest | 1✅ | 48ms |
✅ org.dcsa.edocumentation.service.ActiveReeferSettingsServiceTest
✅ activeReeferSettingsServiceTest_bkgFreezer
✅ edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.BookingRequestServiceTest.xml
5 tests were completed in 493ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.dcsa.edocumentation.service.BookingRequestServiceTest | 5✅ | 493ms |
✅ org.dcsa.edocumentation.service.BookingRequestServiceTest
org.dcsa.edocumentation.service.BookingRequestServiceTest$CreateBookingRequest
✅ testCreateFullBooking
org.dcsa.edocumentation.service.BookingRequestServiceTest$GetBookingRequest
✅ bookingServiceTest_testGetFullBooking
✅ bookingServiceTest_testNullCarrierBookingRequestReference
✅ bookingServiceTest_testGetMinimalBooking
✅ bookingServiceTest_testNoBookingFound
✅ edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.DocumentPartyServiceTest.xml
6 tests were completed in 205ms with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.dcsa.edocumentation.service.DocumentPartyServiceTest | 6✅ | 205ms |
✅ org.dcsa.edocumentation.service.DocumentPartyServiceTest
✅ documentPartyServiceTest_testCreateNullWithBooking
✅ documentPartyServiceTest_testCreateEmptyWithShippingInstruction
✅ documentPartyServiceTest_testCreateEmptyWithBooking
✅ documentPartyServiceTest_testCreateNullWithShippingInstruction
✅ documentPartyServiceTest_createFullDocumentPartyWithShippingInstruction
✅ documentPartyServiceTest_createFullDocumentPartyWithBooking
✅ edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.EquipmentServiceTest.xml
6 tests were completed in 105ms with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.dcsa.edocumentation.service.EquipmentServiceTest | 6✅ | 105ms |
✅ org.dcsa.edocumentation.service.EquipmentServiceTest
✅ testCreate_OverlappingReferences
✅ testCreate_NotFound
✅ testCreate_AllFound
✅ testEmpty
✅ testNull
✅ testCreate_CreateOne
✅ edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.ReferenceServiceTest.xml
6 tests were completed in 518ms with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.dcsa.edocumentation.service.ReferenceServiceTest | 6✅ | 518ms |
✅ org.dcsa.edocumentation.service.ReferenceServiceTest
✅ referenceServiceTest_testCreateWithNullBooking
✅ referenceServiceTest_testCreateWithBooking
✅ referenceServiceTest_testCreateWithEmptyBooking
✅ referenceServiceTest_testCreateWithShippingInstruction
✅ referenceServiceTest_testCreateWithEmptyShippingInstruction
✅ referenceServiceTest_testCreateWithNullShippingInstruction
✅ edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.ServiceServiceTest.xml
3 tests were completed in 139ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.dcsa.edocumentation.service.ServiceServiceTest | 3✅ | 139ms |
✅ org.dcsa.edocumentation.service.ServiceServiceTest
✅ resolveService_Known
✅ resolveService_Unknown
✅ resolveService_null
✅ edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.TransportDocumentServiceTest.xml
1 tests were completed in 168ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.dcsa.edocumentation.service.TransportDocumentServiceTest | 1✅ | 168ms |
✅ org.dcsa.edocumentation.service.TransportDocumentServiceTest
✅ transportDocumentServiceTest_testGetTransportDocument
✅ edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.UtilizedTransportEquipmentTest.xml
6 tests were completed in 276ms with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.dcsa.edocumentation.service.UtilizedTransportEquipmentTest | 6✅ | 276ms |
✅ org.dcsa.edocumentation.service.UtilizedTransportEquipmentTest
✅ utilizedTransportEquipmentTest_twoShipperOwnedEquipments
✅ utilizedTransportEquipmentTest_twoCarrierOwnedEquipment
✅ utilizedTransportEquipmentTest_oneCarrierOwnedEquipmentWithSeal
✅ utilizedTransportEquipmentTest_oneCarrierOwnedEquipment
✅ utilizedTransportEquipmentTest_oneShipperOwnedEquipment
✅ utilizedTransportEquipmentTest_bothCarrierOwnedAndShipperEquipment
✅ edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.VesselServiceTest.xml
3 tests were completed in 77ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.dcsa.edocumentation.service.VesselServiceTest | 3✅ | 77ms |
✅ org.dcsa.edocumentation.service.VesselServiceTest
✅ resolveVessel_unknown
✅ resolveVessel_known
✅ resolveVessel_null
✅ edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.VoyageServiceTest.xml
4 tests were completed in 101ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.dcsa.edocumentation.service.VoyageServiceTest | 4✅ | 101ms |
✅ org.dcsa.edocumentation.service.VoyageServiceTest
✅ resolveVoyage_Unknown
✅ resolveVoyage_null
✅ resolveVoyage_Known
✅ resolveVoyage_nullWithServiceArgs
✅ edocumentation-transfer-obj/target/surefire-reports/TEST-org.dcsa.edocumentation.transferobjects.validation.UtilizedTransportEquipmentValidatorTest.xml
6 tests were completed in 583ms with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.dcsa.edocumentation.transferobjects.validation.UtilizedTransportEquipmentValidatorTest | 6✅ | 583ms |
✅ org.dcsa.edocumentation.transferobjects.validation.UtilizedTransportEquipmentValidatorTest
✅ UtilizedTransportEquipmentValidatorTest_testInvalidMissingTareWeight
✅ UtilizedTransportEquipmentValidatorTest_testInvalidMissingWeightUnit
✅ UtilizedTransportEquipmentValidatorTest_testInvalidMissingWeightUnitAndTareWeight
✅ UtilizedTransportEquipmentValidatorTest_testValidIsShipperOwned
✅ UtilizedTransportEquipmentValidatorTest_testValidIsNotShipperOwned
✅ UtilizedTransportEquipmentValidatorTest_testValidIsNotShipperOwnedWithTareWeightAndWeightUnit
✅ newman/TEST-newman-report.xml
240 tests were completed in 4s with 240 passed, 0 failed and 0 skipped.
✅ Cancel booking request / Negative test cases / Cancel Booking Request invalid documentStatus
DcsaEDocumentation
✅ Status code is 400
✅ Error reason is documentStatus
✅ Error message is as expected
✅ Cancel booking request / Negative test cases / Cancel booking request not found
DcsaEDocumentation
✅ Status code is 404
✅ Error reason is notFound
✅ Error message is as expected
✅ Cancel booking request / Negative test cases / Test: Cancel twice should fail / Cancel booking request first time
DcsaEDocumentation
✅ Status code is 200
✅ bookingStatus must be CANCELLED
✅ carrierBookingRequestReference must be as expected
✅ Cancel booking request / Negative test cases / Test: Cancel twice should fail / Cancel booking request not found Copy
DcsaEDocumentation
✅ Status code is 409
✅ Error reason is conflict
✅ Error message is as expected
✅ Cancel booking request / Negative test cases / Test: Cancel twice should fail / Create a booking request to be canceled
DcsaEDocumentation
✅ Status code is 201
✅ bookingStatus is RECEIVED
✅ Cancel booking request / Positive test cases / Test: Decline confirmed booking request (shipper) / Create a booking request
DcsaEDocumentation
✅ Schema is valid
✅ Status code is 201
✅ bookingStatus is RECEIVED
✅ Cancel booking request / Positive test cases / Test: Decline confirmed booking request (shipper) / Decline the new booking request
DcsaEDocumentation
✅ Schema is valid
✅ Status code is 200
✅ bookingStatus must be DECLINED
✅ Cancel booking request / Positive test cases / Test: Decline confirmed booking request (shipper) / POST Shipment to confirm booking
DcsaEDocumentation
✅ HTTP code is correct
✅ Booking status is correct
✅ Has CBR
✅ Cancel booking request / Positive test cases / Test: Decline confirmed booking request (shipper) / Trigger validation
DcsaEDocumentation
✅ Status code is 200
✅ Booking status is correct
✅ Cancel booking request / Positive test cases / Test: Reject newly created booking request (shipper) / Create a booking request to be rejected
DcsaEDocumentation
✅ Schema is valid
✅ Status code is 201
✅ bookingStatus is RECEIVED
✅ Cancel booking request / Positive test cases / Test: Reject newly created booking request (shipper) / Reject the new booking request
DcsaEDocumentation
✅ Schema is valid
✅ Status code is 200
✅ bookingStatus must be REJECTED
✅ carrierBookingRequestReference must be as expected
✅ Cancel booking request / Test: Cancel newly created booking request / Cancel the new booking request
DcsaEDocumentation
✅ Schema is valid
✅ Status code is 200
✅ bookingStatus must be CANCELLED
✅ carrierBookingRequestReference must be as expected
✅ Cancel booking request / Test: Cancel newly created booking request / Create a booking request to be canceled
DcsaEDocumentation
✅ Schema is valid
✅ Status code is 201
✅ bookingStatus is RECEIVED
✅ E2E Tests / Positive Tests / Basic [Booking Request to TD] / Approve TransportDocument
DcsaEDocumentation
✅ Document status is correct
✅ Status code is 200
✅ E2E Tests / Positive Tests / Basic [Booking Request to TD] / Booking by carrierBookingRequestReference
DcsaEDocumentation
✅ Schema is valid
✅ Status code is 200
✅ E2E Tests / Positive Tests / Basic [Booking Request to TD] / Create a booking request
DcsaEDocumentation
✅ Status code is 201
✅ bookingStatus is RECEIVED
✅ E2E Tests / Positive Tests / Basic [Booking Request to TD] / Create Shipping instruction
DcsaEDocumentation
✅ Status code is 201
✅ documentStatus is RECEIVED
✅ E2E Tests / Positive Tests / Basic [Booking Request to TD] / Issue draft TD
DcsaEDocumentation
✅ HTTP code is correct
✅ Document status is correct
✅ Has CBR
✅ E2E Tests / Positive Tests / Basic [Booking Request to TD] / Issue TransportDocument
DcsaEDocumentation
✅ Document status is correct
✅ Status code is 200
✅ E2E Tests / Positive Tests / Basic [Booking Request to TD] / Issued TransportDocument by transportdocument reference
DcsaEDocumentation
✅ Schema is valid
✅ Status code is 200
✅ E2E Tests / Positive Tests / Basic [Booking Request to TD] / POST Confirmed Booking
DcsaEDocumentation
✅ HTTP code is correct
✅ Booking status is correct
✅ Has CBR
✅ E2E Tests / Positive Tests / Basic [Booking Request to TD] / Shipment by carrierBookingReference
DcsaEDocumentation
✅ Response contains mandatory parent fields
✅ E2E Tests / Positive Tests / Basic [Booking Request to TD] / TransportDocument by transportdocument reference
DcsaEDocumentation
✅ Schema is valid
✅ Status code is 200
✅ E2E Tests / Positive Tests / Basic [Booking Request to TD] / Trigger validation
DcsaEDocumentation
✅ Status code is 200
✅ Booking status is correct
✅ E2E Tests / Positive Tests / Basic [Booking Request to TD] / Validate Shipping instruction
DcsaEDocumentation
✅ Status code is correct
✅ documentStatus is RECEIVED
✅ E2E Tests / Positive Tests / Basic [Booking Request to TD] / Verify saved shipping instruction
DcsaEDocumentation
✅ Status code is 200
✅ Response contains updated values
✅ GET Booking request / Negative test cases / Booking by carrierBookingRequestRereference
DcsaEDocumentation
✅ API-Version is present
✅ API-Version header is set correctly
✅ Schema is valid
✅ Status code is 400
✅ Error reason is invalidInput
✅ carrierBookingRequestReference must contain a valid value
✅ GET Booking request / Negative test cases / Booking not found
DcsaEDocumentation
✅ API-Version is present
✅ API-Version header is set correctly
✅ Schema is valid
✅ Status code is 404
✅ Error reason is notFound
✅ DocumentStatus must contain a valid value
✅ GET Booking request / Positive test cases / Booking by carrierBookingRequestReference
DcsaEDocumentation
✅ API-Version is present
✅ API-Version header is set correctly
✅ Schema is valid
✅ Status code is 200
✅ Response contains carrier provided fields
✅ Get Confirmed Booking / Negative test cases / Confirmed Booking by carrierBookingReference
DcsaEDocumentation
✅ API-Version is present
✅ API-Version header is set correctly
✅ Schema is valid
✅ Status code is 400
✅ Error reason is invalidInput
✅ carrierBookingReference size must be between 0 and 35
✅ Get Confirmed Booking / Negative test cases / Confirmed Booking not found
DcsaEDocumentation
✅ API-Version is present
✅ API-Version header is set correctly
✅ Schema is valid
✅ Status code is 404
✅ Error reason is notFound
✅ No Shipment found
✅ Get Confirmed Booking / Positive test cases / Confirmed Booking by carrierBookingReference
DcsaEDocumentation
✅ API-Version is present
✅ API-Version header is set correctly
✅ Schema is valid
✅ Status code is 200
✅ Response contains mandatory parent fields
✅ GET ShippingInstruction / Negative test cases / ShippingInstruction by shippingInstructionReference
DcsaEDocumentation
✅ API-Version is present
✅ API-Version header is set correctly
✅ Schema is valid
✅ Status code is 400
✅ Error reason is invalidInput
✅ DocumentStatus must contain a valid value
✅ GET ShippingInstruction / Negative test cases / ShippingInstruction not found
DcsaEDocumentation
✅ API-Version is present
✅ API-Version header is set correctly
✅ Schema is valid
✅ Status code is 404
✅ Error reason is notFound
✅ DocumentStatus must contain a valid value
✅ Get TransportDocument / Negative test cases / TransportDocument by transportdocument reference Not found
DcsaEDocumentation
✅ API-Version is present
✅ API-Version header is set correctly
✅ Schema is valid
✅ Status code is 404
✅ Error reason is notFound
✅ DocumentStatus must contain a valid value
✅ Get TransportDocument / Positive test cases / TransportDocument by transportdocument reference
DcsaEDocumentation
✅ API-Version is present
✅ API-Version header is set correctly
✅ Schema is valid
✅ Status code is 200
✅ Post booking request / Negative test cases / Test: Post booking request with dates in the past / Create a booking request
DcsaEDocumentation
✅ Status code is 201
✅ bookingStatus is RECEIVED
✅ Post booking request / Negative test cases / Test: Post booking request with dates in the past / Trigger validation
DcsaEDocumentation
✅ Status code is 200
✅ Post booking request / Negative test cases / Test: Post booking request with dates in the past / Verify saved carrierBookingRequestReference
DcsaEDocumentation
✅ Schema is valid
✅ Status code is 200
✅ Response contains updated values
✅ Post booking request / Negative test cases / Test: Post booking request with duplicate address / Create a booking request
DcsaEDocumentation
✅ Status code is 201
✅ bookingStatus is RECEIVED
✅ Post booking request / Negative test cases / Test: Post booking request with duplicate address / Trigger validation
DcsaEDocumentation
✅ Status code is 200
✅ Reason: Duplicate addresses in shipment locations
✅ Post booking request / Negative test cases / Test: Post booking request with duplicate address / Verify saved carrierBookingRequestReference
DcsaEDocumentation
✅ Schema is valid
✅ Status code is 200
✅ Response contains updated values
✅ Post booking request / Negative test cases / Test: Post booking request with duplicate UNLocationCodes / Create a booking request
DcsaEDocumentation
✅ Status code is 201
✅ bookingStatus is RECEIVED
✅ Post booking request / Negative test cases / Test: Post booking request with duplicate UNLocationCodes / Trigger validation
DcsaEDocumentation
✅ Status code is 200
✅ Reason: Duplicate UNLocationCodes in shipment locations
✅ Post booking request / Negative test cases / Test: Post booking request with duplicate UNLocationCodes / Verify saved carrierBookingRequestReference
DcsaEDocumentation
✅ Schema is valid
✅ Status code is 200
✅ Response contains updated values
✅ Post booking request / Negative test cases / Test: Post booking request with invalid OuterPackaging imoPackageCode / Create a booking request
DcsaEDocumentation
✅ Status code is 400
✅ Error reason is invalid packageCode
✅ must match regex pattern
✅ Post booking request / Negative test cases / Test: Post booking request with invalid OuterPackaging numberOfPackages / Create a booking request
DcsaEDocumentation
✅ Status code is 400
✅ Error reason is invalid packageCode
✅ must be greater than 0
✅ Post booking request / Negative test cases / Test: Post booking request with invalid OuterPackaging packageCode / Create a booking request
DcsaEDocumentation
✅ Status code is 400
✅ Error reason is invalid packageCode
✅ must match regex pattern
✅ Post booking request / Negative test cases / Test: Post booking request with invalid party contact details / Create a booking request
DcsaEDocumentation
✅ Status code is 400
✅ Error reason is invalid PartyContactDetails
✅ PartyContactDetails must contain either phone or email
✅ Post booking request / Negative test cases / Test: Post booking request with invalid party function code / Create a booking request
DcsaEDocumentation
✅ Status code is 201
✅ bookingStatus is RECEIVED
✅ Post booking request / Negative test cases / Test: Post booking request with invalid party function code / Trigger validation
DcsaEDocumentation
✅ Status code is 200
✅ requestedChanges should contain partyFunction as problem
✅ Post booking request / Negative test cases / Test: Post booking request with invalid party function code / Verify saved carrierBookingRequestReference
DcsaEDocumentation
✅ Schema is valid
✅ Status code is 200
✅ Response contains updated values
✅ Post booking request / Negative test cases / Test: Post booking request with missing POD and PDE. / Create a booking request
DcsaEDocumentation
✅ Status code is 201
✅ bookingStatus is RECEIVED
✅ Post booking request / Negative test cases / Test: Post booking request with missing POD and PDE. / Trigger validation
DcsaEDocumentation
✅ Status code is 200
✅ Reason: POD or PED not found in shipment locations
✅ Post booking request / Negative test cases / Test: Post booking request with missing POD and PDE. / Verify saved carrierBookingRequestReference
DcsaEDocumentation
✅ Schema is valid
✅ Status code is 200
✅ Response contains updated values
✅ Post booking request / Positive test cases / Test: Post a booking and validate / Create a booking request
DcsaEDocumentation
✅ Status code is 201
✅ bookingStatus is RECEIVED
✅ Post booking request / Positive test cases / Test: Post a booking and validate / Trigger validation
DcsaEDocumentation
✅ Status code is 200
✅ Post booking request / Positive test cases / Test: Post a booking and validate / Verify saved carrierBookingRequestReference
DcsaEDocumentation
✅ Schema is valid
✅ Status code is 200
✅ Response contains updated values
✅ POST Confirmed Booking / Negative test cases / Test: Post Confirmed Booking where all Shipment locations do not appear oin Transport Locations / Create a booking request
DcsaEDocumentation
✅ Status code is 201
✅ bookingStatus is RECEIVED
✅ POST Confirmed Booking / Negative test cases / Test: Post Confirmed Booking where all Shipment locations do not appear oin Transport Locations / POST Confirmed Booking
DcsaEDocumentation
✅ Status code is 400
✅ Reason: All Shipment locations with codes: PRE, POL, POD, PDE. Must appear in Transport locations
✅ POST Confirmed Booking / Negative test cases / Test: Post Confirmed Booking where POD is NOT the last location and PDE is not provided / Create a booking request
DcsaEDocumentation
✅ Status code is 201
✅ bookingStatus is RECEIVED
✅ POST Confirmed Booking / Negative test cases / Test: Post Confirmed Booking where POD is NOT the last location and PDE is not provided / POST Confirmed Booking
DcsaEDocumentation
✅ Status code is 400
✅ Reason: POD must be the last location if PDE is not provided
✅ POST Confirmed Booking / Negative test cases / Test: Post Confirmed Booking with NOT connected transport Plans / Create a booking request
DcsaEDocumentation
✅ Status code is 201
✅ bookingStatus is RECEIVED
✅ POST Confirmed Booking / Negative test cases / Test: Post Confirmed Booking with NOT connected transport Plans / POST Confirmed Booking
DcsaEDocumentation
✅ Status code is 400
✅ Reason: TransportPlan is not connected
✅ Post Shipping instruction / Negative test cases / Create Shipping instruction invalid commoditySubreference
DcsaEDocumentation
✅ Status code is 400
✅ Error reason is invalidInput
✅ DocumentStatus must contain a valid value
✅ Post Shipping instruction / Negative test cases / Create Shipping instruction invalid no consignmentItems
DcsaEDocumentation
✅ Schema is valid
✅ Status code is 400
✅ Error reason is invalidInput
✅ DocumentStatus must contain a valid value
✅ Post Shipping instruction / Negative test cases / Create Shipping instruction invalid utilizedTransportEquipment
DcsaEDocumentation
✅ Schema is valid
✅ Status code is 400
✅ Error reason is invalidInput
✅ DocumentStatus must contain a valid value
✅ Post Shipping instruction / Negative test cases / Test: Unknown carrier booking reference / Create Shipping instruction with unknown CBR
DcsaEDocumentation
✅ Status code is 201
✅ documentStatus is RECEIVED
✅ Post Shipping instruction / Negative test cases / Test: Unknown carrier booking reference / Validate Shipping instruction
DcsaEDocumentation
✅ Status code is correct
✅ documentStatus is correct
✅ error-message is correct
✅ Post Shipping instruction / Negative test cases / Test: Unknown carrier booking reference / Verify saved shipping instruction
DcsaEDocumentation
✅ Status code is 200
✅ Response contains updated values
✅ Post Shipping instruction / Positive test cases / Create Shipping instruction
DcsaEDocumentation
✅ Schema is valid
✅ Status code is 201
✅ documentStatus is RECEIVED
✅ Post Shipping instruction / Positive test cases / Verify saved shipping instruction
DcsaEDocumentation
✅ Schema is valid
✅ Status code is 200
✅ Response contains updated values
✅ Put booking request / Negative test cases / Attempt PUT non-existing booking request
DcsaEDocumentation
✅ Status code is 404
✅ Schema is valid
✅ Error reason is notFound
✅ Error message mentions carrierBookingRequestReference as an issue
✅ Put booking request / Negative test cases / Test: Invalid PUT of existing booking request / Attempt to abuse PUT to set bookingRequestCreatedDateTime
DcsaEDocumentation
✅ Status code is 400
✅ Schema is valid
✅ Error reason is invalidInput
✅ Error message mentions bookingRequestCreatedDateTime as an issue
✅ Put booking request / Negative test cases / Test: Invalid PUT of existing booking request / Attempt to abuse PUT to set bookingRequestUpdateDateTime
DcsaEDocumentation
✅ Status code is 400
✅ Schema is valid
✅ Error reason is invalidInput
✅ Error message mentions bookingRequestUpdateDateTime as an issue
✅ Put booking request / Negative test cases / Test: Invalid PUT of existing booking request / Attempt to abuse PUT to set bookingStatus
DcsaEDocumentation
✅ Status code is 400
✅ Schema is valid
✅ Error reason is invalidInput
✅ Error message mentions bookingStatus as an issue
✅ Put booking request / Negative test cases / Test: Invalid PUT of existing booking request / Create a booking request to be updated
DcsaEDocumentation
✅ Status code is 201
✅ bookingStatus is RECEIVED
✅ Put booking request / Negative test cases / Test: Invalid PUT of existing booking request / Invalid carrierBookingRequestReference in PUT
DcsaEDocumentation
✅ Status code is 400
✅ Schema is valid
✅ Error reason is invalidInput
✅ Error message mentions carrierBookingRequestReference as an issue
✅ Put booking request / Positive test cases / Test: Put a newly created booking request / Create a booking request to be updated
DcsaEDocumentation
✅ Status code is 201
✅ bookingStatus is RECEIVED
✅ Put booking request / Positive test cases / Test: Put a newly created booking request / Use PUT to update the booking
DcsaEDocumentation
✅ Status code is 200
✅ bookingStatus must be PENDING UPDATES CONFIRMATION
✅ carrierBookingRequestReference must be as expected
✅ Put booking request / Positive test cases / Test: Put a newly created booking request / Verify updated carrierBookingRequestReference
DcsaEDocumentation
✅ Schema is valid
✅ Status code is 200
✅ Response contains updated values