Test duration : 59.906s
Failed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 58.603s |
2022-02-14 21:36:36 |
java.lang.AssertionError: User: admin@test-domain.com should have received message: yllwj00207 expected [true] but found [false]
2022-02-14 21:36:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-02-14 21:36:36 | ------------------------------------ 2022-02-14 21:36:36 | [Mutex] isItemNotified: node_ggsxx60203:exists :: false 2022-02-14 21:36:36 | [Mutex] waiting for: [node_ggsxx60203:create_node] 2022-02-14 21:36:36 | [Mutex] received everything. 2022-02-14 21:36:36 | [Mutex] isItemNotified: node_ggsxx60203:create_node:success :: true 2022-02-14 21:36:36 | [Mutex] waiting for: [node_ggsxx60203:subscribe_node] 2022-02-14 21:36:36 | [Mutex] waiting for: [node_ggsxx60203:subscribe_node] 2022-02-14 21:36:36 | [Mutex] received everything. 2022-02-14 21:36:36 | [Mutex] isItemNotified: node_ggsxx60203:subscribe_node:success :: true 2022-02-14 21:36:36 | ===== publishing normal message (to online) 2022-02-14 21:36:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-14 21:36:36 | command: <data><node>node_ggsxx60203</node><entry><content>content_sexqjs0204</content></entry></data> 2022-02-14 21:36:36 | target: http://localhost:8088 2022-02-14 21:36:36 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-14 21:36:36 | entity: <data><node>node_ggsxx60203</node><entry><content>content_sexqjs0204</content></entry></data> 2022-02-14 21:36:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Feb 2022 05:36:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-14 21:36:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>44b0ff6e-67ec-4d09-bb19-c8d6e9e5ba7e</value></item-id></result> 2022-02-14 21:36:36 | contains: true 2022-02-14 21:36:36 | [Mutex] received everything. 2022-02-14 21:36:36 | [Mutex] isItemNotified: user_regulare7g8ox0202@test-domain.com:message:received:content_sexqjs0204 :: true 2022-02-14 21:36:36 | ===== publishing already old message - expecting message being filtered out (to online) 2022-02-14 21:36:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-14 21:36:36 | command: <data><node>node_ggsxx60203</node><expire-at>2022-02-15T05:36:31Z</expire-at><entry><content>content_ljb2up0205</content></entry></data> 2022-02-14 21:36:36 | target: http://localhost:8088 2022-02-14 21:36:36 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-14 21:36:36 | entity: <data><node>node_ggsxx60203</node><expire-at>2022-02-15T05:36:31Z</expire-at><entry><content>content_ljb2up0205</content></entry></data> 2022-02-14 21:36:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Feb 2022 05:36:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-14 21:36:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>cde20d0e-25bc-4324-a52f-4b27131157cb</value></item-id></result> 2022-02-14 21:36:36 | contains: true 2022-02-14 21:36:36 | [Mutex] waiting for: [user_regulare7g8ox0202@test-domain.com:message:received:content_ljb2up0205] 2022-02-14 21:36:51 | [Mutex] timeout. Not received [user_regulare7g8ox0202@test-domain.com:message:received:content_ljb2up0205] 2022-02-14 21:36:51 | [Mutex] isItemNotified: user_regulare7g8ox0202@test-domain.com:message:received:content_ljb2up0205 :: false 2022-02-14 21:36:51 | ===== publishing normal message (to offline) 2022-02-14 21:36:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-14 21:36:51 | command: <data><node>node_ggsxx60203</node><entry><content>content_2ase160206</content></entry></data> 2022-02-14 21:36:51 | target: http://localhost:8088 2022-02-14 21:36:51 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-14 21:36:51 | entity: <data><node>node_ggsxx60203</node><entry><content>content_2ase160206</content></entry></data> 2022-02-14 21:36:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Feb 2022 05:36:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-14 21:36:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>54f21a25-831b-4bbd-af1c-8bae5d978fa0</value></item-id></result> 2022-02-14 21:36:51 | contains: true 2022-02-14 21:36:56 | [Mutex] waiting for: [user_regulare7g8ox0202@test-domain.com:message:received:content_2ase160206] 2022-02-14 21:36:56 | [Mutex] received everything. 2022-02-14 21:36:56 | [Mutex] isItemNotified: user_regulare7g8ox0202@test-domain.com:message:received:content_2ase160206 :: true 2022-02-14 21:36:56 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-02-14 21:36:56 | [Mutex] received everything. 2022-02-14 21:36:56 | [Mutex] isItemNotified: node_ggsxx60203:subscribe_node:success :: true 2022-02-14 21:36:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-14 21:36:56 | command: <data><node>node_ggsxx60203</node><expire-at>2022-02-15T05:37:01Z</expire-at><entry><content>content_yllwj00207</content></entry></data> 2022-02-14 21:36:56 | target: http://localhost:8088 2022-02-14 21:36:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-14 21:36:56 | entity: <data><node>node_ggsxx60203</node><expire-at>2022-02-15T05:37:01Z</expire-at><entry><content>content_yllwj00207</content></entry></data> 2022-02-14 21:36:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Feb 2022 05:36:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-14 21:36:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1b86bdc6-1c3e-43e7-aeb6-8f0d40d009ee</value></item-id></result> 2022-02-14 21:36:56 | contains: true 2022-02-14 21:37:04 | [Mutex] waiting for: [user_regulare7g8ox0202@test-domain.com:message:received:content_yllwj00207] 2022-02-14 21:37:04 | [Mutex] waiting for: [user_regulare7g8ox0202@test-domain.com:message:received:content_yllwj00207] 2022-02-14 21:37:19 | [Mutex] timeout. Not received [user_regulare7g8ox0202@test-domain.com:message:received:content_yllwj00207] 2022-02-14 21:37:19 | [Mutex] waiting for: [admin@test-domain.com:message:received:content_yllwj00207] 2022-02-14 21:37:34 | [Mutex] timeout. Not received [admin@test-domain.com:message:received:content_yllwj00207] 2022-02-14 21:37:34 | [Mutex] isItemNotified: user_regulare7g8ox0202@test-domain.com:message:received:content_yllwj00207 :: false 2022-02-14 21:37:34 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_yllwj00207 :: false
org.testng.Assert.fail(Assert.java:99)
org.testng.Assert.failNotEquals(Assert.java:1037) org.testng.Assert.assertTrue(Assert.java:45) tigase.tests.pubsub.TestRestApiWithMessageExpiration.testMessageExpiration(TestRestApiWithMessageExpiration.java:180) 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) |