Test duration : 44.765s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.693s |
2023-07-05 23:04:11 |
2023-07-05 23:04:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-07-05 23:04:11 | ------------------------------------ 2023-07-05 23:04:11 | [Mutex] isItemNotified: node_hgkv4k0208:exists :: false 2023-07-05 23:04:11 | [Mutex] waiting for: [node_hgkv4k0208:create_node] 2023-07-05 23:04:11 | [Mutex] received everything. 2023-07-05 23:04:11 | [Mutex] isItemNotified: node_hgkv4k0208:create_node:success :: true 2023-07-05 23:04:11 | [Mutex] waiting for: [node_hgkv4k0208:subscribe_node] 2023-07-05 23:04:11 | [Mutex] waiting for: [node_hgkv4k0208:subscribe_node] 2023-07-05 23:04:11 | [Mutex] received everything. 2023-07-05 23:04:11 | [Mutex] isItemNotified: node_hgkv4k0208:subscribe_node:success :: true 2023-07-05 23:04:11 | ===== publishing normal message (to online) 2023-07-05 23:04:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-05 23:04:11 | command: <data><node>node_hgkv4k0208</node><entry><content>content_dz21990209</content></entry></data> 2023-07-05 23:04:11 | target: http://localhost:8088 2023-07-05 23:04:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-07-05 23:04:11 | entity: <data><node>node_hgkv4k0208</node><entry><content>content_dz21990209</content></entry></data> 2023-07-05 23:04:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 Jul 2023 06:04:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-05 23:04:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>69ae3430-f133-4314-9916-21f47cae91c3</value></item-id></result> 2023-07-05 23:04:11 | contains: true 2023-07-05 23:04:11 | [Mutex] received everything. 2023-07-05 23:04:11 | [Mutex] isItemNotified: user_regular5nzfv0207@test-domain.com:message:received:content_dz21990209 :: true 2023-07-05 23:04:11 | ===== publishing already old message - expecting message being filtered out (to online) 2023-07-05 23:04:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-05 23:04:11 | command: <data><node>node_hgkv4k0208</node><expire-at>2023-07-06T06:04:06Z</expire-at><entry><content>content_abcxlm0210</content></entry></data> 2023-07-05 23:04:11 | target: http://localhost:8088 2023-07-05 23:04:11 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-07-05 23:04:11 | entity: <data><node>node_hgkv4k0208</node><expire-at>2023-07-06T06:04:06Z</expire-at><entry><content>content_abcxlm0210</content></entry></data> 2023-07-05 23:04:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 Jul 2023 06:04:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-05 23:04:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3d0eef7b-63b3-4ecd-a87e-00c12b1336a9</value></item-id></result> 2023-07-05 23:04:11 | contains: true 2023-07-05 23:04:11 | [Mutex] waiting for: [user_regular5nzfv0207@test-domain.com:message:received:content_abcxlm0210] 2023-07-05 23:04:26 | [Mutex] timeout. Not received [user_regular5nzfv0207@test-domain.com:message:received:content_abcxlm0210] 2023-07-05 23:04:26 | [Mutex] isItemNotified: user_regular5nzfv0207@test-domain.com:message:received:content_abcxlm0210 :: false 2023-07-05 23:04:26 | ===== publishing normal message (to offline) 2023-07-05 23:04:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-05 23:04:26 | command: <data><node>node_hgkv4k0208</node><entry><content>content_n5iunf0211</content></entry></data> 2023-07-05 23:04:26 | target: http://localhost:8088 2023-07-05 23:04:26 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-07-05 23:04:26 | entity: <data><node>node_hgkv4k0208</node><entry><content>content_n5iunf0211</content></entry></data> 2023-07-05 23:04:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 Jul 2023 06:04:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-05 23:04:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>87bcbe21-bd4b-4fec-97b9-c6a531ed1900</value></item-id></result> 2023-07-05 23:04:26 | contains: true 2023-07-05 23:04:31 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-07-05 23:04:31 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-07-05 23:04:31 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-07-05 23:04:31 | [Mutex] waiting for: [user_regular5nzfv0207@test-domain.com:message:received:content_n5iunf0211] 2023-07-05 23:04:31 | [Mutex] waiting for: [user_regular5nzfv0207@test-domain.com:message:received:content_n5iunf0211] 2023-07-05 23:04:31 | [Mutex] received everything. 2023-07-05 23:04:31 | [Mutex] isItemNotified: user_regular5nzfv0207@test-domain.com:message:received:content_n5iunf0211 :: true 2023-07-05 23:04:31 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-07-05 23:04:31 | [Mutex] received everything. 2023-07-05 23:04:31 | [Mutex] isItemNotified: node_hgkv4k0208:subscribe_node:success :: true 2023-07-05 23:04:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-05 23:04:31 | command: <data><node>node_hgkv4k0208</node><expire-at>2023-07-06T06:04:36Z</expire-at><entry><content>content_h1kcaj0212</content></entry></data> 2023-07-05 23:04:31 | target: http://localhost:8088 2023-07-05 23:04:31 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-07-05 23:04:31 | entity: <data><node>node_hgkv4k0208</node><expire-at>2023-07-06T06:04:36Z</expire-at><entry><content>content_h1kcaj0212</content></entry></data> 2023-07-05 23:04:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 Jul 2023 06:04:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-05 23:04:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8911d9fa-72cb-492f-8c14-7640b7a5e319</value></item-id></result> 2023-07-05 23:04:31 | contains: true 2023-07-05 23:04:39 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-07-05 23:04:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-07-05 23:04:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-07-05 23:04:40 | [Mutex] waiting for: [user_regular5nzfv0207@test-domain.com:message:received:content_h1kcaj0212] 2023-07-05 23:04:40 | [Mutex] waiting for: [user_regular5nzfv0207@test-domain.com:message:received:content_h1kcaj0212] 2023-07-05 23:04:55 | [Mutex] timeout. Not received [user_regular5nzfv0207@test-domain.com:message:received:content_h1kcaj0212] 2023-07-05 23:04:55 | [Mutex] received everything. 2023-07-05 23:04:55 | [Mutex] isItemNotified: user_regular5nzfv0207@test-domain.com:message:received:content_h1kcaj0212 :: false 2023-07-05 23:04:55 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_h1kcaj0212 :: true |