[
https://issues.apache.org/jira/browse/SYNAPSE-1132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18029465#comment-18029465
]
Weerakoon Thisara Rathnayaka commented on SYNAPSE-1132:
-------------------------------------------------------
PR [https://github.com/apache/synapse-go/pull/16] contains the feature
improvement
> 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
> Priority: Minor
> Labels: pull-request-available
>
> 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]