Test duration : 1.240s
Failed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 0.265s |
2022-09-06 22:46:54 |
java.lang.AssertionError: Publishing was successful expected [true] but found [false]
2022-09-06 22:46:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-09-06 22:46:54 | ------------------------------------ 2022-09-06 22:46:54 | [Mutex] isItemNotified: node_35p7d10187:exists :: false 2022-09-06 22:46:54 | [Mutex] waiting for: [node_35p7d10187:create_node] 2022-09-06 22:46:54 | [Mutex] received everything. 2022-09-06 22:46:54 | [Mutex] isItemNotified: node_35p7d10187:create_node:success :: true 2022-09-06 22:46:54 | [Mutex] waiting for: [node_35p7d10187:subscribe_node] 2022-09-06 22:46:54 | [Mutex] received everything. 2022-09-06 22:46:54 | [Mutex] isItemNotified: node_35p7d10187:subscribe_node:success :: true 2022-09-06 22:46:54 | ===== publishing normal message (to online) 2022-09-06 22:46:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-06 22:46:54 | command: <data><node>node_35p7d10187</node><entry><content>content_uthw990188</content></entry></data> 2022-09-06 22:46:54 | target: http://localhost:8088 2022-09-06 22:46:54 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-09-06 22:46:54 | entity: <data><node>node_35p7d10187</node><entry><content>content_uthw990188</content></entry></data> 2022-09-06 22:46:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 07 Sep 2022 05:46:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-06 22:46:54 | response entity: <result><Script result type="text-multi"><value>Script finished with no errors but returned no results.</value></Script result></result> 2022-09-06 22:46:54 | contains: false
org.testng.Assert.fail(Assert.java:110)
org.testng.Assert.failNotEquals(Assert.java:1413) org.testng.Assert.assertTrue(Assert.java:56) tigase.tests.pubsub.TestRestApiWithMessageExpiration.publishToPubsub(TestRestApiWithMessageExpiration.java:327) tigase.tests.pubsub.TestRestApiWithMessageExpiration.testMessageExpiration(TestRestApiWithMessageExpiration.java:125) java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.base/java.lang.reflect.Method.invoke(Method.java:568) org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:135) org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:673) org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:220) org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50) org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:945) org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:193) org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146) org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128) java.base/java.util.ArrayList.forEach(ArrayList.java:1511) org.testng.TestRunner.privateRun(TestRunner.java:808) org.testng.TestRunner.run(TestRunner.java:603) org.testng.SuiteRunner.runTest(SuiteRunner.java:429) org.testng.SuiteRunner.runSequentially(SuiteRunner.java:423) org.testng.SuiteRunner.privateRun(SuiteRunner.java:383) org.testng.SuiteRunner.run(SuiteRunner.java:326) org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95) org.testng.TestNG.runSuitesSequentially(TestNG.java:1249) org.testng.TestNG.runSuitesLocally(TestNG.java:1169) org.testng.TestNG.runSuites(TestNG.java:1092) org.testng.TestNG.run(TestNG.java:1060) 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) |