Hi,

As Nuwan mentioned, you can restart the server with the following code.

ServerConfigurationManager serverManager = new
ServerConfigurationManager(automationContext);
serverManager.restartGracefully();

Regards,
Hemika

Hemika Kodikara
Software Engineer
WSO2 Inc.
lean . enterprise . middleware
http://wso2.com

Mobile : +94777688882

On Sat, Mar 21, 2015 at 12:01 AM, Nuwan Wimalasekara <[email protected]>
wrote:

> Hi
> You have a UI to restart the server. So you can can restart the server by
> navigating to the restart page in test. Otherwise you can use
> ServerConfigurationManager class to restart the server directly calling to
> the backend service.
>
> Thanks,
> Nuwanw
>
> On Fri, Mar 20, 2015 at 8:52 AM, Lakshman Udayakantha <[email protected]>
> wrote:
>
>> Hi folks,
>>
>> Any clue on how to do $subject.
>>
>> Thanks
>>
>> --
>> Lakshman Udayakantha
>> WSO2 Inc. www.wso2.com
>> lean.enterprise.middleware
>> Mobile: *0711241005*
>>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> 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
>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to