Weerakoon Thisara Rathnayaka created SYNAPSE-1132:
-----------------------------------------------------

             Summary: Add Comprehensive Testing Suite for Synapse Go Project
                 Key: SYNAPSE-1132
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-1132
             Project: Synapse
          Issue Type: Test
            Reporter: Weerakoon Thisara Rathnayaka
            Assignee: Isuru Udana


The Synapse-Go implementation currently relies solely on basic unit tests, 
lacking integration and end-to-end (E2E) testing for critical features like the 
File Inbound adapter and Call Mediator, as well as the overall Synapse server. 
This creates risks in robustness, reliability, concurrency, error handling, and 
lifecycle management.

To resolve this, this issue introduces:
1) {*}Call Mediator integration tests{*}: Covering HTTP method validation 
(GET/POST/PUT/DELETE), concurrent requests, error scenarios with real 
responses, timeouts, and performance.
2) {*}File Inbound integration tests{*}: Focusing on JSON/XML file processing 
with actual operations, concurrent handling, malformed data errors, and message 
context integration.
3) {*}Shared test utilities{*}: Reusable components including mock HTTP 
servers, test data generators, performance timers, JSON validators, and context 
builders.
4) {*}Synapse application E2E tests{*}: Simulating startup/shutdown, 
configuration validation, concurrent operations, and graceful shutdowns.

These additions enhance test coverage and maintainability without breaking 
existing functionality.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to