On Thu, Feb 2, 2012 at 9:55 AM, Krishantha Samaraweera <[email protected]>wrote:
> Hi, > > Can you explain how you are running the framework. It seems that > App-server is not running at the moment. > > You need to edit framework.properties file appropriately before start test > execution. > oh.. I see! Is there any documentation on how to run these tests? > Thanks, > Krishantha. > > On Wed, Feb 1, 2012 at 9:13 AM, Nirmal Fernando <[email protected]> wrote: > >> Hi, >> >> $Subject! >> >> here's the stack trace. >> >> T E S T S >> ------------------------------------------------------- >> Running org.wso2.stratos.automation.test.esb.StratosCustomProxyTest >> Starting all servers >> [2012-02-01 08:52:47,588] INFO - UserPopulator:57 Populate user to AS >> server >> [2012-02-01 08:52:47,954] ERROR - AdminServiceAuthentication:72 >> https://localhost:9444/services/AuthenticationAdmin Login failed due to >> RemoteException :Connection refused >> org.apache.maven.surefire.util.SurefireReflectionException: >> java.lang.reflect.InvocationTargetException; nested exception is >> java.lang.reflect.InvocationTargetException: null >> java.lang.reflect.InvocationTargetException >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:597) >> at >> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188) >> at >> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166) >> at >> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86) >> at >> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101) >> at >> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74) >> Caused by: junit.framework.AssertionFailedError: >> https://localhost:9444/services/AuthenticationAdmin Login failed due to >> RemoteException :Connection refused >> at junit.framework.Assert.fail(Assert.java:47) >> at >> org.wso2.carbon.admin.service.AdminServiceAuthentication.login(AdminServiceAuthentication.java:73) >> at >> org.wso2.platform.test.core.UserPopulator.login(UserPopulator.java:115) >> at >> org.wso2.platform.test.core.UserPopulator.createProductUsers(UserPopulator.java:68) >> at >> org.wso2.platform.test.core.UserPopulator.populateUsers(UserPopulator.java:58) >> at >> org.wso2.platform.test.core.PlatformSuiteManager.startMulitpleServers(PlatformSuiteManager.java:69) >> at >> org.wso2.platform.test.core.PlatformSuiteManager.onStart(PlatformSuiteManager.java:20) >> at org.testng.SuiteRunner.invokeListeners(SuiteRunner.java:196) >> at org.testng.SuiteRunner.run(SuiteRunner.java:238) >> at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) >> at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) >> at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158) >> at org.testng.TestNG.runSuitesLocally(TestNG.java:1083) >> at org.testng.TestNG.run(TestNG.java:999) >> at >> org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:70) >> at >> org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:111) >> at >> org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:115) >> ... 9 more >> >> [ERROR] Failed to execute goal >> org.apache.maven.plugins:maven-surefire-plugin:2.11:test (default-test) on >> project system-stratos-test-auto: Error occured in starting fork, check >> output in log >> >> -- >> >> Thanks & regards, >> Nirmal >> >> Software Engineer- Platform, WSO2 Inc. >> Mobile: +94715779733 >> Blog: http://nirmalfdo.blogspot.com/ >> >> _______________________________________________ >> Carbon-dev mailing list >> [email protected] >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> >> > > _______________________________________________ > Carbon-dev mailing list > [email protected] > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > -- Thanks & regards, Nirmal Software Engineer- Platform, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
