Hi Dimuthu,Iqbal,

I tried this  two codes given by both of you . But that codes does not
consist giving seperate configurations to the individual servers.

*Test Case Scenario To do*

1. Run 4 servers with different api-manager configurations and different
port offsets.
2. During the test cases have to stop servers individually. and do the
tests.

Since This have to do as a UI test Is there any workaround to do this ?

Thanks and Regards

Tharindu


On Wed, Feb 4, 2015 at 5:12 PM, Tharindu Dharmarathna <[email protected]>
wrote:

> Hi dimuthu,iqbal,
>
> Thanks for examples I'll look into this.
>
> Regards
> On Feb 4, 2015 4:20 PM, "Irham Iqbal" <[email protected]> wrote:
>
>> Hi Tharindu,
>>
>> You can use MultipleServersManager to start multiple servers and 
>> ServerConfigurationManager
>> to load configurations using test framework as shown in example[1]
>>
>> [1]
>> https://github.com/wso2/product-as/blob/master/modules/integration/tests-integration/tests/src/test/java/org/wso2/appserver/integration/tests/ciphertool/H2DBPasswordEncryptionTestCase.java
>>
>> Thanks,
>> Iqbal
>>
>> On Wed, Feb 4, 2015 at 3:54 PM, Dimuthu De Lanerolle <[email protected]>
>> wrote:
>>
>>> Hi Tharindu,
>>>
>>> You can follow [1] as a guide.
>>>
>>> [1]
>>> https://github.com/wso2/product-apim/blob/master/modules/integration/tests-integration/tests-scenario/src/test/java/org/wso2/carbon/am/tests/sample/RefreshTokenTestCase.java
>>>
>>> Regards
>>>
>>> On Wed, Feb 4, 2015 at 12:30 PM, Tharindu Dharmarathna <
>>> [email protected]> wrote:
>>>
>>>> Hi all,
>>>> I have to do $subject with  different port-offsets and different
>>>> api-manager configurations. I have read [1] to get reference . Is there any
>>>> way to load api-manager.xml file into servers except port offseting ? .
>>>>
>>>> [1]. https://docs.wso2.com/display/TA430/Starting+Multiple+Servers
>>>>
>>>>
>>>>
>>>> *Thanks and Regards*
>>>>
>>>>
>>>> *Tharindu Dharmarathna*Associate Software Engineer
>>>> WSO2 Inc.; http://wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>> mobile: *+94779109091 <%2B94779109091>*
>>>>
>>>
>>>
>>>
>>> --
>>> Dimuthu De Lanerolle
>>> Software Engineer
>>> WSO2 Inc.
>>> lean . enterprise . middlewear.
>>> http://wso2.com/
>>> Tel. : +94 11 2145345  Fax : +94 11 2145300  email : [email protected]
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Irham Iqbal
>> Software Engineer - Test Automation
>>  WSO2, Inc.: http://wso2.com
>> lean. enterprise. middleware
>> phone: +94 777888452
>>
>


-- 

*Tharindu Dharmarathna*Associate Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94779109091*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to