Jeremy_Lv

1 post
#How to run the dev test cases ================================ #Annotation: All of the test cases can't be ran on the windows platform because the firefox can't support the ajax and JSF based on the windows platform very well. If you want to ran the tests, please check out all of the codes to the linux, ubuntu or mac platform. #Steps: 1). Download the firefox and install it, On my platform, I have downloaded and installed the firefox version 19.0 2). Download the selenium IDE plugin and installed, On my platform, I have installed the selenium IDE 2.4.0 3). Checkout the the tests from the github(https://github.com/LvSongping/GLASSFISH_ADMIN_CONSOLE_DEVTESTS/tree/master/auto-test) or subversion url as "https://svn.java.net/svn/glassfish~svn/trunk/main/appserver/tests/admingui" to your hard disk. 4). Before ran the tests, you need to restart the glassfish domain and try to access admin console's page(http://localhost:4848/common/index.jsf) to make sure the GUI is available 5). Open a terminal window and access to the root directory of auto-tests, Then execute the command as "mvn test" to run all of the tests 6). If some of the test cases are failed, you can also rerun the error or failed test cases using the command as "mvn test -Dtest=[ClassName]#[MethodName]" to confirm related test cases.(if the failure test cases passed at the second time, we can regard the failure test case as a passed case) #The tests results should be as similar as follows: ------------------------------------------------------- T E S T S ------------------------------------------------------- Concurrency config is parallel='none', perCoreThreadCount=true, threadCount=2, useUnlimitedThreads=false Running org.glassfish.admingui.devtests.StandaloneTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 289.533 sec Running org.glassfish.admingui.devtests.AdminObjectTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 155.045 sec Running org.glassfish.admingui.devtests.JavaMailTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 121.833 sec Running org.glassfish.admingui.devtests.JdbcTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 183.541 sec Running org.glassfish.admingui.devtests.MonitoringTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1,986.826 sec Running org.glassfish.admingui.devtests.WebContainerTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 112.101 sec Running org.glassfish.admingui.devtests.ApplicationTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 48.749 sec Running org.glassfish.admingui.devtests.ConnectorsTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 166.592 sec Running org.glassfish.admingui.devtests.JvmSettingsTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 287.921 sec Running org.glassfish.admingui.devtests.IiopListenerTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 35.33 sec Running org.glassfish.admingui.devtests.AvailabilityServiceTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 71.37 sec Running org.glassfish.admingui.devtests.LifecycleModulesTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 37.97 sec Running org.glassfish.admingui.devtests.WorkSecurityMapTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.743 sec Running org.glassfish.admingui.devtests.ResourceAdapterConfigsTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 29.406 sec Running org.glassfish.admingui.devtests.SecurityTest Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 409.77 sec Running org.glassfish.admingui.devtests.EjbContainerTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 69.753 sec Running org.glassfish.admingui.devtests.ClusterTest Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 682.688 sec Running org.glassfish.admingui.devtests.JVMReportTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.918 sec Running org.glassfish.admingui.devtests.ThreadPoolsTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.128 sec Running org.glassfish.admingui.devtests.LogViewerTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.652 sec Running org.glassfish.admingui.devtests.NetworkConfigTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 290.336 sec Running org.glassfish.admingui.devtests.JavaMessageServiceTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 205.226 sec Running org.glassfish.admingui.devtests.HttpServiceTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.261 sec Running org.glassfish.admingui.devtests.MsgSecurityTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 207.506 sec Running org.glassfish.admingui.devtests.NodeTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 172.599 sec Running org.glassfish.admingui.devtests.JndiTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 237.862 sec Running org.glassfish.admingui.devtests.ConfigTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.896 sec Running org.glassfish.admingui.devtests.VirtualServerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.864 sec Running org.glassfish.admingui.devtests.LoggerSettingsTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 45.194 sec Running org.glassfish.admingui.devtests.AdminServiceTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.46 sec Running org.glassfish.admingui.devtests.GMSTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.883 sec Running org.glassfish.admingui.devtests.EnterpriseServerTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 171.996 sec Running org.glassfish.admingui.devtests.JmsResourcesTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 321.187 sec Running org.glassfish.admingui.devtests.AppScopedResourcesTest Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 179.081 sec Running org.glassfish.admingui.devtests.TransactionServiceTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.639 sec Running org.glassfish.admingui.devtests.ConnectorServiceTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.829 sec Results : Tests run: 110, Failures: 0, Errors: 0, Skipped: 0 Anyway, if you want to contribute to these tests and have some suggestions about these test sets, please fork the project in github or write the mail directly to me, my mail address is lvsongping@gmail.com  

Filter Blog

By date: