Hi Amalka,
If there are more than one different ednpoints defined in synapse config,
you can add more placeholder variable to represent backend endpoints and map
those keys with synapse config and update the config accordingly.

It would be grate if you can share the additional configuration for keeping
backend information you wish to keep for this implementation in
automation.xml

Thanks
Nuwanw


On Fri, Aug 8, 2014 at 2:55 PM, Amalka Subasinghe <[email protected]> wrote:

> Hi Krishantha,
>
> if the test needs only 1 backend we can easily read the backend endpoint
> details from configuration and update the synapse config.
> but if the test needs more than 1 backend replacing endpoints in synapse
> config is problematic.
>
> Thanks
> Amalka
>
>
> On Wed, Aug 6, 2014 at 11:13 PM, Krishantha Samaraweera <
> [email protected]> wrote:
>
>> Hi Amalka,
>>
>> It's not a must to use AS as the backend for ESB tests when running on
>> platform mode. We can have placeholder variable to represent backend
>> endpoint in synapse config and replace that value in test run time by
>> reading the backend URL from automation configuration xml. Reading the
>> backend endpoints from configuration, will make it easy for configure tests
>> to use backends like tomcat, axis2, AS, jetty etc if necessary.
>>
>> Thanks,
>> Krishantha.
>>
>>
>>
>> On Wed, Aug 6, 2014 at 10:22 PM, Amalka Subasinghe <[email protected]>
>> wrote:
>>
>>> Hi,
>>>
>>> In current implementation of ESB test suite, when the execution mode is
>>> platform, it’s always required to use the AS as a backend.
>>> Can’t we use axis2Service?
>>>
>>> Thanks
>>> Amalka
>>>
>>>
>>
>>
>> --
>> Krishantha Samaraweera
>> Senior Technical Lead - Test Automation
>> Mobile: +94 77 7759918
>> WSO2, Inc.; http://wso2.com/
>> lean . enterprise . middlewear.
>>
>
>
>
> --
>
> Amalka Subasinghe
>
> Senior Software Engineer
> WSO2 Inc.
> Mobile: +94 77 9401267
>



-- 
Nuwan Wimalasekara
Senior Software Engineer - Test Automation
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

phone: +94 71 668 4620
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to