Hi,
I need to write a test case to get the first request to a deployed web app
after the web app went to ghost mode or unloaded. how should i enable ghost
mode, web app idle time in test environment?
Thank you.
--
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
Hi Shashika,
Small correction on CarbonTestServerManager and MultipleServersManager.
As it shows in the code block and reference links in [2] and [3] in my
previous mail, you have to create a instance of CarbonTestServerManager
with your required parameters and using MultipleServersManager you
Hi Saneth,
Thanks for the info, i will try with the steps you mentioned
On Wed, Mar 25, 2015 at 7:52 AM, Saneth Dharmakeerthi sane...@wso2.com
wrote:
Hi Shashika,
Small correction on CarbonTestServerManager and MultipleServersManager.
As it shows in the code block and reference links in
Hi Shashika,
- Only way to enable the Ghost mode in test environment is to changing
the repository/conf/carbon.xml.
You have to copy the edited carbon.xml at @BeforeClass method and
restore the carbon.xml at @AfterClasss method.
You can do this task by using applyConfiguration methods in
Hi Shashika,
You can enable Ghost mode deployment from setting the value 'true' in
repository/conf/carbon.xml
GhostDeployment
Enabled*true*/Enabled
PartialUpdatefalse/PartialUpdate
/GhostDeployment
And to set the webapp unloading time u can do following,
open wso2server.sh
Hi Mahesh,
AFAIK we cant enable ghost mode in test environment by editing carbon.xml.
On Tue, Mar 24, 2015 at 10:02 PM, Mahesh Chinthaka mahe...@wso2.com wrote:
Hi Shashika,
You can enable Ghost mode deployment from setting the value 'true' in
repository/conf/carbon.xml
GhostDeployment