Test duration : 60.361s
Failed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 58.734s |
2020-08-27 11:42:25 |
java.lang.AssertionError: User: admin@test-domain.com should have received message: khiipc0207 expected [true] but found [false]
2020-08-27 11:42:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-08-27 11:42:25 | ------------------------------------ 2020-08-27 11:42:25 | [Mutex] isItemNotified: node_bigsmu0203:exists :: false 2020-08-27 11:42:25 | [Mutex] waiting for: [node_bigsmu0203:create_node] 2020-08-27 11:42:25 | [Mutex] received everything. 2020-08-27 11:42:25 | [Mutex] isItemNotified: node_bigsmu0203:create_node:success :: true 2020-08-27 11:42:25 | [Mutex] waiting for: [node_bigsmu0203:subscribe_node] 2020-08-27 11:42:25 | [Mutex] received everything. 2020-08-27 11:42:25 | [Mutex] isItemNotified: node_bigsmu0203:subscribe_node:success :: true 2020-08-27 11:42:25 | ===== publishing normal message (to online) 2020-08-27 11:42:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-27 11:42:25 | command: <data><node>node_bigsmu0203</node><entry><content>content_q0k1kk0204</content></entry></data> 2020-08-27 11:42:25 | target: http://localhost:8088 2020-08-27 11:42:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-08-27 11:42:25 | entity: <data><node>node_bigsmu0203</node><entry><content>content_q0k1kk0204</content></entry></data> 2020-08-27 11:42:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 Aug 2020 18:42:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-27 11:42:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>adf7c0de-b689-481f-9f7b-418e1ea6fbda</value></item-id></result> 2020-08-27 11:42:25 | contains: true 2020-08-27 11:42:25 | [Mutex] received everything. 2020-08-27 11:42:25 | [Mutex] isItemNotified: user_regularjiitwf0202@test-domain.com:message:received:content_q0k1kk0204 :: true 2020-08-27 11:42:25 | ===== publishing already old message - expecting message being filtered out (to online) 2020-08-27 11:42:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-27 11:42:25 | command: <data><node>node_bigsmu0203</node><expire-at>2020-08-27T18:42:20Z</expire-at><entry><content>content_vvrwpd0205</content></entry></data> 2020-08-27 11:42:25 | target: http://localhost:8088 2020-08-27 11:42:25 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-08-27 11:42:25 | entity: <data><node>node_bigsmu0203</node><expire-at>2020-08-27T18:42:20Z</expire-at><entry><content>content_vvrwpd0205</content></entry></data> 2020-08-27 11:42:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 Aug 2020 18:42:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-27 11:42:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fb118bae-c578-45b2-8985-0e5ae3e17a62</value></item-id></result> 2020-08-27 11:42:25 | contains: true 2020-08-27 11:42:25 | [Mutex] waiting for: [user_regularjiitwf0202@test-domain.com:message:received:content_vvrwpd0205] 2020-08-27 11:42:40 | [Mutex] timeout. Not received [user_regularjiitwf0202@test-domain.com:message:received:content_vvrwpd0205] 2020-08-27 11:42:40 | [Mutex] isItemNotified: user_regularjiitwf0202@test-domain.com:message:received:content_vvrwpd0205 :: false 2020-08-27 11:42:40 | ===== publishing normal message (to offline) 2020-08-27 11:42:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-27 11:42:40 | command: <data><node>node_bigsmu0203</node><entry><content>content_whazvk0206</content></entry></data> 2020-08-27 11:42:40 | target: http://localhost:8088 2020-08-27 11:42:40 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-08-27 11:42:40 | entity: <data><node>node_bigsmu0203</node><entry><content>content_whazvk0206</content></entry></data> 2020-08-27 11:42:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 Aug 2020 18:42:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-27 11:42:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fa009a10-3a1b-4e9f-9681-893a73f2c031</value></item-id></result> 2020-08-27 11:42:40 | contains: true 2020-08-27 11:42:46 | [Mutex] waiting for: [user_regularjiitwf0202@test-domain.com:message:received:content_whazvk0206] 2020-08-27 11:42:46 | [Mutex] waiting for: [user_regularjiitwf0202@test-domain.com:message:received:content_whazvk0206] 2020-08-27 11:42:46 | [Mutex] received everything. 2020-08-27 11:42:46 | [Mutex] isItemNotified: user_regularjiitwf0202@test-domain.com:message:received:content_whazvk0206 :: true 2020-08-27 11:42:46 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-08-27 11:42:46 | [Mutex] received everything. 2020-08-27 11:42:46 | [Mutex] isItemNotified: node_bigsmu0203:subscribe_node:success :: true 2020-08-27 11:42:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-27 11:42:46 | command: <data><node>node_bigsmu0203</node><expire-at>2020-08-27T18:42:51Z</expire-at><entry><content>content_khiipc0207</content></entry></data> 2020-08-27 11:42:46 | target: http://localhost:8088 2020-08-27 11:42:46 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-08-27 11:42:46 | entity: <data><node>node_bigsmu0203</node><expire-at>2020-08-27T18:42:51Z</expire-at><entry><content>content_khiipc0207</content></entry></data> 2020-08-27 11:42:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 Aug 2020 18:42:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-27 11:42:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>36fe6ace-1bb8-4676-8d5a-8cd7462eaded</value></item-id></result> 2020-08-27 11:42:46 | contains: true 2020-08-27 11:42:54 | [Mutex] waiting for: [user_regularjiitwf0202@test-domain.com:message:received:content_khiipc0207] 2020-08-27 11:43:09 | [Mutex] timeout. Not received [user_regularjiitwf0202@test-domain.com:message:received:content_khiipc0207] 2020-08-27 11:43:09 | [Mutex] waiting for: [admin@test-domain.com:message:received:content_khiipc0207] 2020-08-27 11:43:24 | [Mutex] timeout. Not received [admin@test-domain.com:message:received:content_khiipc0207] 2020-08-27 11:43:24 | [Mutex] isItemNotified: user_regularjiitwf0202@test-domain.com:message:received:content_khiipc0207 :: false 2020-08-27 11:43:24 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_khiipc0207 :: 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) |