DT-587-Update-RI-Make-sure-API-Version-header-returned-for-EBL-is-3.0.0-Beta-1 #509
JUnit + Newman Tests ✅
✅ edocumentation-application/target/surefire-reports/TEST-org.dcsa.edocumentation.controller.BookingRequestControllerTest.xml
3 tests were completed in 608ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.dcsa.edocumentation.controller.BookingRequestControllerTest | 3✅ | 608ms |
✅ edocumentation-application/target/surefire-reports/TEST-org.dcsa.edocumentation.controller.BookingRequestSummaryControllerTest.xml
4 tests were completed in 4s with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.dcsa.edocumentation.controller.BookingRequestSummaryControllerTest | 4✅ | 4s |
✅ edocumentation-application/target/surefire-reports/TEST-org.dcsa.edocumentation.controller.ShippingInstructionSummaryControllerTest.xml
6 tests were completed in 727ms with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.dcsa.edocumentation.controller.ShippingInstructionSummaryControllerTest | 6✅ | 727ms |
✅ edocumentation-domain/target/surefire-reports/TEST-org.dcsa.edocumentation.domain.booking.BookingRequestStateMachineTest.xml
2 tests were completed in 138ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.dcsa.edocumentation.domain.booking.BookingRequestStateMachineTest | 2✅ | 138ms |
✅ edocumentation-domain/target/surefire-reports/TEST-org.dcsa.edocumentation.domain.ebl.EblStateMachineTest.xml
4 tests were completed in 21ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.dcsa.edocumentation.domain.ebl.EblStateMachineTest | 4✅ | 21ms |
✅ edocumentation-infra/target/surefire-reports/TEST-org.dcsa.edocumentation.infra.validation.StringEnumValidatorTest.xml
2 tests were completed in 592ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.dcsa.edocumentation.infra.validation.StringEnumValidatorTest | 2✅ | 592ms |
✅ edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.mapping.DisplayedAddressMapperTest.xml
4 tests were completed in 0ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.dcsa.edocumentation.mapping.DisplayedAddressMapperTest | 4✅ | 0ms |
✅ edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.ActiveReeferSettingsServiceTest.xml
1 tests were completed in 49ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.dcsa.edocumentation.service.ActiveReeferSettingsServiceTest | 1✅ | 49ms |
✅ edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.BookingRequestServiceTest.xml
5 tests were completed in 580ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.dcsa.edocumentation.service.BookingRequestServiceTest | 5✅ | 580ms |
✅ edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.BookingRequestSummaryServiceTest.xml
5 tests were completed in 45ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.dcsa.edocumentation.service.BookingRequestSummaryServiceTest | 5✅ | 45ms |
✅ edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.DocumentPartyServiceTest.xml
6 tests were completed in 184ms with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.dcsa.edocumentation.service.DocumentPartyServiceTest | 6✅ | 184ms |
✅ edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.EquipmentServiceTest.xml
6 tests were completed in 20ms with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.dcsa.edocumentation.service.EquipmentServiceTest | 6✅ | 20ms |
✅ edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.ReferenceServiceTest.xml
6 tests were completed in 32ms with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.dcsa.edocumentation.service.ReferenceServiceTest | 6✅ | 32ms |
✅ edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.ServiceServiceTest.xml
3 tests were completed in 43ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.dcsa.edocumentation.service.ServiceServiceTest | 3✅ | 43ms |
✅ edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.ShippingInstructionSummaryServiceTest.xml
6 tests were completed in 56ms with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.dcsa.edocumentation.service.ShippingInstructionSummaryServiceTest | 6✅ | 56ms |
✅ edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.TransportDocumentServiceTest.xml
1 tests were completed in 142ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.dcsa.edocumentation.service.TransportDocumentServiceTest | 1✅ | 142ms |
✅ edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.UtilizedTransportEquipmentTest.xml
6 tests were completed in 141ms with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.dcsa.edocumentation.service.UtilizedTransportEquipmentTest | 6✅ | 141ms |
✅ edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.VesselServiceTest.xml
3 tests were completed in 637ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.dcsa.edocumentation.service.VesselServiceTest | 3✅ | 637ms |
✅ edocumentation-service/target/surefire-reports/TEST-org.dcsa.edocumentation.service.VoyageServiceTest.xml
4 tests were completed in 70ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.dcsa.edocumentation.service.VoyageServiceTest | 4✅ | 70ms |
✅ edocumentation-transfer-obj/target/surefire-reports/TEST-org.dcsa.edocumentation.transferobjects.validation.UtilizedTransportEquipmentValidatorTest.xml
6 tests were completed in 512ms with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.dcsa.edocumentation.transferobjects.validation.UtilizedTransportEquipmentValidatorTest | 6✅ | 512ms |
✅ newman/TEST-newman-report.xml
303 tests were completed in 4s with 303 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Booking request summaries / Negative test cases / Booking request summaries Invalid bookingStatus | 6✅ | 28ms | ||
Booking request summaries / Positive test cases / Booking request status per bookingStatus | 7✅ | 26ms | ||
Booking request summaries / Positive test cases / Booking request summaries | 5✅ | 379ms | ||
Booking request summaries / Positive test cases / Booking request summaries COMPLETED | 5✅ | 45ms | ||
Booking request summaries / Positive test cases / Booking request summaries sort | 5✅ | 28ms | ||
Cancel booking request / Negative test cases / Cancel Booking Request invalid documentStatus | 3✅ | 10ms | ||
Cancel booking request / Negative test cases / Cancel booking request not found | 3✅ | 15ms | ||
Cancel booking request / Negative test cases / Test: Cancel twice should fail / Cancel booking request first time | 3✅ | 20ms | ||
Cancel booking request / Negative test cases / Test: Cancel twice should fail / Cancel booking request not found Copy | 3✅ | 30ms | ||
Cancel booking request / Negative test cases / Test: Cancel twice should fail / Create a booking request to be canceled | 2✅ | 26ms | ||
Cancel booking request / Positive test cases / Test: Decline confirmed booking request (shipper) / Create a booking request | 3✅ | 116ms | ||
Cancel booking request / Positive test cases / Test: Decline confirmed booking request (shipper) / Decline the new booking request | 3✅ | 19ms | ||
Cancel booking request / Positive test cases / Test: Decline confirmed booking request (shipper) / POST Shipment to confirm booking | 3✅ | 170ms | ||
Cancel booking request / Positive test cases / Test: Decline confirmed booking request (shipper) / Trigger validation | 2✅ | 126ms | ||
Cancel booking request / Positive test cases / Test: Reject newly created booking request (shipper) / Create a booking request to be rejected | 3✅ | 353ms | ||
Cancel booking request / Positive test cases / Test: Reject newly created booking request (shipper) / Reject the new booking request | 4✅ | 64ms | ||
Cancel booking request / Test: Cancel newly created booking request / Cancel the new booking request | 4✅ | 29ms | ||
Cancel booking request / Test: Cancel newly created booking request / Create a booking request to be canceled | 3✅ | 27ms | ||
E2E Tests / Positive Tests / Basic [Booking Request to TD] / Approve TransportDocument | 2✅ | 21ms | ||
E2E Tests / Positive Tests / Basic [Booking Request to TD] / Booking by carrierBookingRequestReference | 2✅ | 27ms | ||
E2E Tests / Positive Tests / Basic [Booking Request to TD] / Create a booking request | 2✅ | 43ms | ||
E2E Tests / Positive Tests / Basic [Booking Request to TD] / Create Shipping instruction | 2✅ | 54ms | ||
E2E Tests / Positive Tests / Basic [Booking Request to TD] / Issue draft TD | 3✅ | 104ms | ||
E2E Tests / Positive Tests / Basic [Booking Request to TD] / Issue TransportDocument | 2✅ | 19ms | ||
E2E Tests / Positive Tests / Basic [Booking Request to TD] / Issued TransportDocument by transportdocument reference | 2✅ | 51ms | ||
E2E Tests / Positive Tests / Basic [Booking Request to TD] / POST Confirmed Booking | 3✅ | 46ms | ||
E2E Tests / Positive Tests / Basic [Booking Request to TD] / Shipment by carrierBookingReference | 1✅ | 51ms | ||
E2E Tests / Positive Tests / Basic [Booking Request to TD] / TransportDocument by transportdocument reference | 2✅ | 32ms | ||
E2E Tests / Positive Tests / Basic [Booking Request to TD] / Trigger validation | 2✅ | 30ms | ||
E2E Tests / Positive Tests / Basic [Booking Request to TD] / Validate Shipping instruction | 2✅ | 57ms | ||
E2E Tests / Positive Tests / Basic [Booking Request to TD] / Verify saved shipping instruction | 2✅ | 29ms | ||
GET Booking request / Negative test cases / Booking by carrierBookingRequestRereference | 6✅ | 29ms | ||
GET Booking request / Negative test cases / Booking not found | 6✅ | 17ms | ||
GET Booking request / Positive test cases / Booking by carrierBookingRequestReference | 5✅ | 108ms | ||
Get Confirmed Booking / Negative test cases / Confirmed Booking by carrierBookingReference | 6✅ | 7ms | ||
Get Confirmed Booking / Negative test cases / Confirmed Booking not found | 6✅ | 15ms | ||
Get Confirmed Booking / Positive test cases / Confirmed Booking by carrierBookingReference | 5✅ | 76ms | ||
GET ShippingInstruction / Negative test cases / ShippingInstruction by shippingInstructionReference | 6✅ | 9ms | ||
GET ShippingInstruction / Negative test cases / ShippingInstruction not found | 6✅ | 15ms | ||
Get TransportDocument / Negative test cases / TransportDocument by transportdocument reference Not found | 6✅ | 10ms | ||
Get TransportDocument / Positive test cases / TransportDocument by transportdocument reference | 4✅ | 61ms | ||
Post booking request / Negative test cases / Test: Post booking request with dates in the past / Create a booking request | 2✅ | 32ms | ||
Post booking request / Negative test cases / Test: Post booking request with dates in the past / Trigger validation | 1✅ | 32ms | ||
Post booking request / Negative test cases / Test: Post booking request with dates in the past / Verify saved carrierBookingRequestReference | 3✅ | 28ms | ||
Post booking request / Negative test cases / Test: Post booking request with duplicate address / Create a booking request | 2✅ | 31ms | ||
Post booking request / Negative test cases / Test: Post booking request with duplicate address / Trigger validation | 2✅ | 31ms | ||
Post booking request / Negative test cases / Test: Post booking request with duplicate address / Verify saved carrierBookingRequestReference | 3✅ | 38ms | ||
Post booking request / Negative test cases / Test: Post booking request with duplicate UNLocationCodes / Create a booking request | 2✅ | 28ms | ||
Post booking request / Negative test cases / Test: Post booking request with duplicate UNLocationCodes / Trigger validation | 2✅ | 24ms | ||
Post booking request / Negative test cases / Test: Post booking request with duplicate UNLocationCodes / Verify saved carrierBookingRequestReference | 3✅ | 32ms | ||
Post booking request / Negative test cases / Test: Post booking request with invalid OuterPackaging imoPackageCode / Create a booking request | 3✅ | 11ms | ||
Post booking request / Negative test cases / Test: Post booking request with invalid OuterPackaging numberOfPackages / Create a booking request | 3✅ | 10ms | ||
Post booking request / Negative test cases / Test: Post booking request with invalid OuterPackaging packageCode / Create a booking request | 3✅ | 15ms | ||
Post booking request / Negative test cases / Test: Post booking request with invalid party contact details / Create a booking request | 3✅ | 13ms | ||
Post booking request / Negative test cases / Test: Post booking request with invalid party function code / Create a booking request | 2✅ | 36ms | ||
Post booking request / Negative test cases / Test: Post booking request with invalid party function code / Trigger validation | 2✅ | 21ms | ||
Post booking request / Negative test cases / Test: Post booking request with invalid party function code / Verify saved carrierBookingRequestReference | 3✅ | 36ms | ||
Post booking request / Negative test cases / Test: Post booking request with missing POD and PDE. / Create a booking request | 2✅ | 45ms | ||
Post booking request / Negative test cases / Test: Post booking request with missing POD and PDE. / Trigger validation | 2✅ | 28ms | ||
Post booking request / Negative test cases / Test: Post booking request with missing POD and PDE. / Verify saved carrierBookingRequestReference | 3✅ | 35ms | ||
Post booking request / Positive test cases / Test: Post a booking and validate / Create a booking request | 2✅ | 85ms | ||
Post booking request / Positive test cases / Test: Post a booking and validate / Trigger validation | 1✅ | 57ms | ||
Post booking request / Positive test cases / Test: Post a booking and validate / Verify saved carrierBookingRequestReference | 3✅ | 29ms | ||
POST Confirmed Booking / Negative test cases / Test: Post Confirmed Booking where all Shipment locations do not appear oin Transport Locations / Create a booking request | 2✅ | 32ms | ||
POST Confirmed Booking / Negative test cases / Test: Post Confirmed Booking where all Shipment locations do not appear oin Transport Locations / POST Confirmed Booking | 2✅ | 23ms | ||
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 | 2✅ | 28ms | ||
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 | 2✅ | 18ms | ||
POST Confirmed Booking / Negative test cases / Test: Post Confirmed Booking with NOT connected transport Plans / Create a booking request | 2✅ | 38ms | ||
POST Confirmed Booking / Negative test cases / Test: Post Confirmed Booking with NOT connected transport Plans / POST Confirmed Booking | 2✅ | 20ms | ||
Post Shipping instruction / Negative test cases / Create Shipping instruction invalid commoditySubreference | 4✅ | 11ms | ||
Post Shipping instruction / Negative test cases / Create Shipping instruction invalid no consignmentItems | 4✅ | 8ms | ||
Post Shipping instruction / Negative test cases / Create Shipping instruction invalid utilizedTransportEquipment | 4✅ | 30ms | ||
Post Shipping instruction / Positive test cases / Create Shipping instruction | 3✅ | 176ms | ||
Post Shipping instruction / Positive test cases / Verify saved shipping instruction | 3✅ | 77ms | ||
Put booking request / Negative test cases / Attempt PUT non-existing booking request | 4✅ | 14ms | ||
Put booking request / Negative test cases / Test: Invalid PUT of existing booking request / Attempt to abuse PUT to set bookingRequestCreatedDateTime | 4✅ | 7ms | ||
Put booking request / Negative test cases / Test: Invalid PUT of existing booking request / Attempt to abuse PUT to set bookingRequestUpdateDateTime | 4✅ | 16ms | ||
Put booking request / Negative test cases / Test: Invalid PUT of existing booking request / Attempt to abuse PUT to set bookingStatus | 4✅ | 8ms | ||
Put booking request / Negative test cases / Test: Invalid PUT of existing booking request / Create a booking request to be updated | 2✅ | 21ms | ||
Put booking request / Negative test cases / Test: Invalid PUT of existing booking request / Invalid carrierBookingRequestReference in PUT | 4✅ | 8ms | ||
Put booking request / Positive test cases / Test: Put a newly created booking request / Create a booking request to be updated | 2✅ | 21ms | ||
Put booking request / Positive test cases / Test: Put a newly created booking request / Use PUT to update the booking | 3✅ | 29ms | ||
Put booking request / Positive test cases / Test: Put a newly created booking request / Verify updated carrierBookingRequestReference | 3✅ | 40ms | ||
Shipping instruction summaries / Negative test cases / Shipping instruction summaries invalid document status | 6✅ | 7ms | ||
Shipping instruction summaries / Positive test cases / Shipping instruction for carrierBookingReference | 6✅ | 41ms | ||
Shipping instruction summaries / Positive test cases / Shipping instruction for multiple carrierBookingReferences | 6✅ | 29ms | ||
Shipping instruction summaries / Positive test cases / Shipping instruction for unknown carrierBookingReference | 5✅ | 13ms | ||
Shipping instruction summaries / Positive test cases / Shipping instruction summaries | 5✅ | 191ms | ||
Shipping instruction summaries / Positive test cases / Shipping instruction summaries per documentStatus | 8✅ | 35ms | ||
Shipping instruction summaries / Positive test cases / Shipping instructions summaries CMPL | 5✅ | 14ms |