Test duration : 59.909s
Failed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 58.657s |
2023-03-24 22:30:31 |
java.lang.AssertionError: User: admin@test-domain.com should have received message: 3qhf9y0212 expected [true] but found [false]
2023-03-24 22:30:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-03-24 22:30:31 | ------------------------------------ 2023-03-24 22:30:31 | [Mutex] isItemNotified: node_i45aq70208:exists :: false 2023-03-24 22:30:31 | [Mutex] waiting for: [node_i45aq70208:create_node] 2023-03-24 22:30:31 | [Mutex] waiting for: [node_i45aq70208:create_node] 2023-03-24 22:30:31 | [Mutex] received everything. 2023-03-24 22:30:31 | [Mutex] isItemNotified: node_i45aq70208:create_node:success :: true 2023-03-24 22:30:32 | [Mutex] waiting for: [node_i45aq70208:subscribe_node] 2023-03-24 22:30:32 | [Mutex] waiting for: [node_i45aq70208:subscribe_node] 2023-03-24 22:30:32 | [Mutex] received everything. 2023-03-24 22:30:32 | [Mutex] isItemNotified: node_i45aq70208:subscribe_node:success :: true 2023-03-24 22:30:32 | ===== publishing normal message (to online) 2023-03-24 22:30:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-24 22:30:32 | command: <data><node>node_i45aq70208</node><entry><content>content_ymeiwx0209</content></entry></data> 2023-03-24 22:30:32 | target: http://localhost:8088 2023-03-24 22:30:32 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-03-24 22:30:32 | entity: <data><node>node_i45aq70208</node><entry><content>content_ymeiwx0209</content></entry></data> 2023-03-24 22:30:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 25 Mar 2023 05:30:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-24 22:30:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7734d697-2bec-495b-814f-6bb1964e554f</value></item-id></result> 2023-03-24 22:30:32 | contains: true 2023-03-24 22:30:32 | [Mutex] waiting for: [user_regularys9e0k0207@test-domain.com:message:received:content_ymeiwx0209] 2023-03-24 22:30:32 | [Mutex] received everything. 2023-03-24 22:30:32 | [Mutex] isItemNotified: user_regularys9e0k0207@test-domain.com:message:received:content_ymeiwx0209 :: true 2023-03-24 22:30:32 | ===== publishing already old message - expecting message being filtered out (to online) 2023-03-24 22:30:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-24 22:30:32 | command: <data><node>node_i45aq70208</node><expire-at>2023-03-25T05:30:27Z</expire-at><entry><content>content_jned3p0210</content></entry></data> 2023-03-24 22:30:32 | target: http://localhost:8088 2023-03-24 22:30:32 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-03-24 22:30:32 | entity: <data><node>node_i45aq70208</node><expire-at>2023-03-25T05:30:27Z</expire-at><entry><content>content_jned3p0210</content></entry></data> 2023-03-24 22:30:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 25 Mar 2023 05:30:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-24 22:30:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>df6c4936-7c90-4075-81dc-6237ad9cbb18</value></item-id></result> 2023-03-24 22:30:32 | contains: true 2023-03-24 22:30:32 | [Mutex] waiting for: [user_regularys9e0k0207@test-domain.com:message:received:content_jned3p0210] 2023-03-24 22:30:47 | [Mutex] timeout. Not received [user_regularys9e0k0207@test-domain.com:message:received:content_jned3p0210] 2023-03-24 22:30:47 | [Mutex] isItemNotified: user_regularys9e0k0207@test-domain.com:message:received:content_jned3p0210 :: false 2023-03-24 22:30:47 | ===== publishing normal message (to offline) 2023-03-24 22:30:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-24 22:30:47 | command: <data><node>node_i45aq70208</node><entry><content>content_mfbsq10211</content></entry></data> 2023-03-24 22:30:47 | target: http://localhost:8088 2023-03-24 22:30:47 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-03-24 22:30:47 | entity: <data><node>node_i45aq70208</node><entry><content>content_mfbsq10211</content></entry></data> 2023-03-24 22:30:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 25 Mar 2023 05:30:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-24 22:30:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7d929788-c1c1-48a2-9611-3b739da95d1a</value></item-id></result> 2023-03-24 22:30:47 | contains: true 2023-03-24 22:30:52 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-03-24 22:30:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-03-24 22:30:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-03-24 22:30:52 | [Mutex] waiting for: [user_regularys9e0k0207@test-domain.com:message:received:content_mfbsq10211] 2023-03-24 22:30:52 | [Mutex] waiting for: [user_regularys9e0k0207@test-domain.com:message:received:content_mfbsq10211] 2023-03-24 22:30:52 | [Mutex] received everything. 2023-03-24 22:30:52 | [Mutex] isItemNotified: user_regularys9e0k0207@test-domain.com:message:received:content_mfbsq10211 :: true 2023-03-24 22:30:52 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-03-24 22:30:52 | [Mutex] received everything. 2023-03-24 22:30:52 | [Mutex] isItemNotified: node_i45aq70208:subscribe_node:success :: true 2023-03-24 22:30:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-24 22:30:52 | command: <data><node>node_i45aq70208</node><expire-at>2023-03-25T05:30:57Z</expire-at><entry><content>content_3qhf9y0212</content></entry></data> 2023-03-24 22:30:52 | target: http://localhost:8088 2023-03-24 22:30:52 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-03-24 22:30:52 | entity: <data><node>node_i45aq70208</node><expire-at>2023-03-25T05:30:57Z</expire-at><entry><content>content_3qhf9y0212</content></entry></data> 2023-03-24 22:30:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 25 Mar 2023 05:30:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-24 22:30:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a976de4d-e0df-4f56-a94f-076c32c6d0eb</value></item-id></result> 2023-03-24 22:30:52 | contains: true 2023-03-24 22:31:00 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-03-24 22:31:00 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-03-24 22:31:00 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-03-24 22:31:00 | [Mutex] waiting for: [user_regularys9e0k0207@test-domain.com:message:received:content_3qhf9y0212] 2023-03-24 22:31:15 | [Mutex] timeout. Not received [user_regularys9e0k0207@test-domain.com:message:received:content_3qhf9y0212] 2023-03-24 22:31:15 | [Mutex] waiting for: [admin@test-domain.com:message:received:content_3qhf9y0212] 2023-03-24 22:31:30 | [Mutex] timeout. Not received [admin@test-domain.com:message:received:content_3qhf9y0212] 2023-03-24 22:31:30 | [Mutex] isItemNotified: user_regularys9e0k0207@test-domain.com:message:received:content_3qhf9y0212 :: false 2023-03-24 22:31:30 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_3qhf9y0212 :: 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.testMessageExpiration(TestRestApiWithMessageExpiration.java:180) 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) |