###### tags: `碩士` `TCSE2022` # CCTS TEST REPORT # Information: + Test result: Passed. + Test time: 2022-06-13 21:54:34 # Test Stage Instructions: 1. CCTS Document Verification Stage + Parse to CCTS data model + Each document's title should be unique + State name should be unique in whole document states + Required properties should not be null + NextState name should be found in Document's states set. 2. Path Construction and Verification Stage + Does CCTS Document contains isolated states。 + Should find at least one path in a Document. + Message delivery Connection validity. (last consumer should be next provider for orchestration microservice system ) 3. Contract Retrieval Stage + Message delivery testCaseId should be found in contract broker. 4. Service Verification Stage + Service has not passed contract test. 5. EventLog Verification Stage + No eventlog found between provider and consumer for the message delivery. 6. Path Verification Stage + At least a valid eventlog composition for performing route # Integration Test results: ## Integration Test Case Name:PDVPS saga pass CASE - CCTS-T-07 + Participant Service: + orchestrator + paymentService + pointService + loggingService + Number of Message Deliveries: 13 + Number of Potential Paths: 3 + payment -> Payment failed -> Payment reversed -> Top-up canceled + payment -> Payment processed -> point-update -> Point updated -> Logged -> Approved top-up + payment -> Payment processed -> point-update -> Point-update failed -> Point-update reverted -> Point-update done -> Payment reversed -> Top-up canceled ### Test result Details: #### CCTS Document Verification Stage + Test result: Passed. #### Path Construction and Verification Stage + Test result: Passed. #### Contract Retrieval Stage + Test result: Passed. ##### Pass + t-point-orc-03 + Provider: pointService + Consumer: orchestrator + t-orc-payment-02 + Provider: orchestrator + Consumer: paymentService + t-orc-logging-01 + Provider: orchestrator + Consumer: loggingService + t-payment-orc-03 + Provider: paymentService + Consumer: orchestrator + t-orc-payment-01 + Provider: orchestrator + Consumer: paymentService + t-payment-orc-01 + Provider: paymentService + Consumer: orchestrator + t-orc-payment-03 + Provider: orchestrator + Consumer: paymentService + t-logging-orc-01 + Provider: loggingService + Consumer: orchestrator + t-orc-point-01 + Provider: orchestrator + Consumer: pointService + t-orc-point-02 + Provider: orchestrator + Consumer: pointService + t-payment-orc-02 + Provider: paymentService + Consumer: orchestrator + t-point-orc-01 + Provider: pointService + Consumer: orchestrator + t-point-orc-02 + Provider: pointService + Consumer: orchestrator ##### Fail None #### Service Verification Stage + Test result: Passed. ##### Pass + loggingService + pointService + paymentService + orchestrator ##### Fail None #### EventLog Verification Stage + Test result: Passed. ##### Pass + t-point-orc-03 + Provider: pointService + Consumer: orchestrator + t-orc-payment-02 + Provider: orchestrator + Consumer: paymentService + t-orc-logging-01 + Provider: orchestrator + Consumer: loggingService + t-payment-orc-03 + Provider: paymentService + Consumer: orchestrator + t-orc-payment-01 + Provider: orchestrator + Consumer: paymentService + t-payment-orc-01 + Provider: paymentService + Consumer: orchestrator + t-orc-payment-03 + Provider: orchestrator + Consumer: paymentService + t-logging-orc-01 + Provider: loggingService + Consumer: orchestrator + t-orc-point-01 + Provider: orchestrator + Consumer: pointService + t-orc-point-02 + Provider: orchestrator + Consumer: pointService + t-payment-orc-02 + Provider: paymentService + Consumer: orchestrator + t-point-orc-01 + Provider: pointService + Consumer: orchestrator + t-point-orc-02 + Provider: pointService + Consumer: orchestrator ##### Fail None #### Path Verification Stage + Test result: Passed. ##### Pass + payment -> Payment failed -> Payment reversed -> Top-up canceled + payment -> Payment processed -> point-update -> Point updated -> Logged -> Approved top-up + payment -> Payment processed -> point-update -> Point-update failed -> Point-update reverted -> Point-update done -> Payment reversed -> Top-up canceled ##### Fail None