synapse icon indicating copy to clipboard operation
synapse copied to clipboard

Add synapse unit testing framework

Open sajithaliyanage opened this issue 6 years ago • 4 comments

Provide a built-in way to execute a unit test against a given synapse configuration artifact such as sequence, proxy, api, local entry, endpoint.

Following tasks will be added from this PR,

  • Test Proxy services with test cases, input payloads and transport properties
  • Test APIs with test cases, input payloads and transport properties
  • Test Sequences with test cases, input payloads and synapse, axis2, transport properties
  • Undeploye all the deployed configurations
  • Customize the starting port of unit testing framework

sajithaliyanage avatar Sep 11 '19 15:09 sajithaliyanage

@isudana we should look into this feature

vanjikumaran avatar Apr 02 '20 16:04 vanjikumaran

@sajithaliyanage

it's great job bro, I think they should merge it. anyway I suggest you to provide more dynamic resolver for actual value to support the following form : $body/tagName/tgaName....etc it will help more for testing really actual values.

AnasAltarazi1998 avatar Mar 21 '22 14:03 AnasAltarazi1998

@sajithaliyanage Will you be able to resolve the conflicts and update the PR?

isudana avatar Mar 22 '22 03:03 isudana

@sajithaliyanage Will you be able to resolve the conflicts and update the PR?

@isudana I resolved the conflicts. please review and merge.

sajithaliyanage avatar Apr 06 '22 16:04 sajithaliyanage