[
https://issues.apache.org/jira/browse/SYNAPSE-1132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Weerakoon Thisara Rathnayaka updated SYNAPSE-1132:
--------------------------------------------------
Description:
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 proposal 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.
was:
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.
> 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 proposal 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]