Test duration : 47.468s
Failed Configuration | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
tearDownClass | 30.005s |
Method arguments:
org.testng.TestRunner@4ca970d5
2020-09-14 23:20:31 | [Mutex] waiting for: [deleted:node:Node 16dce7ea-8c00-4689-9e13-8db2262c14d3]
java.lang.AssertionError: Removal of node Node 16dce7ea-8c00-4689-9e13-8db2262c14d3 on localhost failed
2020-09-14 23:21:01 | [Mutex] timeout. Not received [deleted:node:Node 16dce7ea-8c00-4689-9e13-8db2262c14d3] 2020-09-14 23:21:01 | [Mutex] isItemNotified: deleted:node:Node 16dce7ea-8c00-4689-9e13-8db2262c14d3 :: false
org.testng.AssertJUnit.fail(AssertJUnit.java:65)
org.testng.AssertJUnit.assertTrue(AssertJUnit.java:23) tigase.tests.utils.PubSubManager.deleteNode(PubSubManager.java:88) tigase.tests.utils.PubSubManager.deleteNode(PubSubManager.java:64) tigase.tests.utils.PubSubManager.lambda$scopeFinished$2(PubSubManager.java:125) java.base/java.util.concurrent.CopyOnWriteArrayList.forEach(CopyOnWriteArrayList.java:807) java.base/java.util.concurrent.CopyOnWriteArraySet.forEach(CopyOnWriteArraySet.java:425) tigase.tests.utils.PubSubManager.scopeFinished(PubSubManager.java:123) tigase.tests.utils.AbstractManager.scopeFinished(AbstractManager.java:32) tigase.tests.AbstractTest.tearDownClass(AbstractTest.java:804) jdk.internal.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.base/java.lang.reflect.Method.invoke(Method.java:566) org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132) org.testng.internal.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:61) org.testng.internal.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:366) org.testng.internal.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:320) org.testng.internal.TestMethodWorker.invokeAfterClassMethods(TestMethodWorker.java:217) org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:130) java.base/java.util.ArrayList.forEach(ArrayList.java:1541) org.testng.TestRunner.privateRun(TestRunner.java:764) org.testng.TestRunner.run(TestRunner.java:585) org.testng.SuiteRunner.runTest(SuiteRunner.java:384) org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378) org.testng.SuiteRunner.privateRun(SuiteRunner.java:337) org.testng.SuiteRunner.run(SuiteRunner.java:286) org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53) org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96) org.testng.TestNG.runSuitesSequentially(TestNG.java:1218) org.testng.TestNG.runSuitesLocally(TestNG.java:1140) org.testng.TestNG.runSuites(TestNG.java:1069) org.testng.TestNG.run(TestNG.java:1037) org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:283) org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75) org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:120) org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) |
Failed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
createSubnodes | 15.020s |
2020-09-14 23:20:16 |
java.lang.AssertionError: Read timed out
2020-09-14 23:20:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-14 23:20:16 | ------------------------------------ 2020-09-14 23:20:16 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-e128817f-d41f-41fa-90ce-2023dac0daec", "pubsub#title": "Node e128817f-d41f-41fa-90ce-2023dac0daec" }
org.testng.Assert.fail(Assert.java:99)
tigase.tests.AbstractTest.fail(AbstractTest.java:120) tigase.tests.pubsub.TestRestApiAbstract.executeHttpApiRequest(TestRestApiAbstract.java:112) tigase.tests.pubsub.TestRestApiUsingJSON.executeHttpApiRequest(TestRestApiUsingJSON.java:221) tigase.tests.pubsub.TestRestApiUsingJSON.createNode(TestRestApiUsingJSON.java:88) tigase.tests.pubsub.TestPubSubAbstract.createSubnodes(TestPubSubAbstract.java:83) java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.base/java.lang.reflect.Method.invoke(Method.java:566) org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132) org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:599) org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:174) org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46) org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:822) org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:147) org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146) org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128) java.base/java.util.ArrayList.forEach(ArrayList.java:1541) org.testng.TestRunner.privateRun(TestRunner.java:764) org.testng.TestRunner.run(TestRunner.java:585) org.testng.SuiteRunner.runTest(SuiteRunner.java:384) org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378) org.testng.SuiteRunner.privateRun(SuiteRunner.java:337) org.testng.SuiteRunner.run(SuiteRunner.java:286) org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53) org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96) org.testng.TestNG.runSuitesSequentially(TestNG.java:1218) org.testng.TestNG.runSuitesLocally(TestNG.java:1140) org.testng.TestNG.runSuites(TestNG.java:1069) org.testng.TestNG.run(TestNG.java:1037) org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:283) org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75) org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:120) org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) |
Skipped Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 0.000s |
Depends on method(s)
tigase.tests.pubsub.TestPubSubAbstract.createSubnodes
2020-09-14 23:20:31 |
2020-09-14 23:20:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-14 23:20:31 | ------------------------------------ |
deleteNodes | 0.000s | Depends on method(s) tigase.tests.pubsub.TestPubSubAbstract.deleteSubnodes |
deleteSubnodes | 0.000s |
Depends on method(s)
tigase.tests.pubsub.TestPubSubAbstract.unsubscribeNodes
2020-09-14 23:20:31 |
2020-09-14 23:20:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-14 23:20:31 | ------------------------------------ |
publishItemsToNodes | 0.000s |
Depends on method(s)
tigase.tests.pubsub.TestPubSubAbstract.subscribeNodes
2020-09-14 23:20:31 |
2020-09-14 23:20:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-14 23:20:31 | ------------------------------------ |
retractItemsFromNodes | 0.000s |
Depends on method(s)
tigase.tests.pubsub.TestPubSubAbstract.retrieveItemsFromNodes
2020-09-14 23:20:31 |
2020-09-14 23:20:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-14 23:20:31 | ------------------------------------ |
retrieveItemsFromNodes | 0.000s |
Depends on method(s)
tigase.tests.pubsub.TestPubSubAbstract.publishItemsToNodes
2020-09-14 23:20:31 |
2020-09-14 23:20:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-14 23:20:31 | ------------------------------------ |
retrieveUserSubscriptions | 0.000s |
Depends on method(s)
tigase.tests.pubsub.TestPubSubAbstract.publishItemsToNodes
2020-09-14 23:20:31 |
2020-09-14 23:20:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-14 23:20:31 | ------------------------------------ |
retrieveUserSubscriptionsWithRegex | 0.000s |
Depends on method(s)
tigase.tests.pubsub.TestPubSubAbstract.publishItemsToNodes
2020-09-14 23:20:31 |
2020-09-14 23:20:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-14 23:20:31 | ------------------------------------ |
subscribeNodes | 0.000s |
Depends on method(s)
tigase.tests.pubsub.TestPubSubAbstract.configureNodes
2020-09-14 23:20:31 |
2020-09-14 23:20:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-14 23:20:31 | ------------------------------------ |
unsubscribeNodes | 0.000s |
Depends on method(s)
tigase.tests.pubsub.TestPubSubAbstract.retractItemsFromNodes
2020-09-14 23:20:31 |
2020-09-14 23:20:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-14 23:20:31 | ------------------------------------ |
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
createNodes | 1.716s |
2020-09-14 23:20:15 |
2020-09-14 23:20:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-14 23:20:15 | ------------------------------------ 2020-09-14 23:20:15 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-16dce7ea-8c00-4689-9e13-8db2262c14d3", "pubsub#title": "Node 16dce7ea-8c00-4689-9e13-8db2262c14d3" } 2020-09-14 23:20:15 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2020-09-14 23:20:16 | [Mutex] waiting for: [received:nodes:4dbc7676-3544-4339-8dcd-e0dca5a3747d:localhost] 2020-09-14 23:20:16 | [Mutex] received everything. 2020-09-14 23:20:16 | [Mutex] isItemNotified: received:node:4dbc7676-3544-4339-8dcd-e0dca5a3747d:localhost:node-16dce7ea-8c00-4689-9e13-8db2262c14d3:Node 16dce7ea-8c00-4689-9e13-8db2262c14d3 :: true |