Test duration : 44.652s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.564s |
2023-07-05 23:33:35 |
2023-07-05 23:33:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-07-05 23:33:35 | ------------------------------------ 2023-07-05 23:33:35 | [Mutex] isItemNotified: node_qfphyl0208:exists :: false 2023-07-05 23:33:35 | [Mutex] waiting for: [node_qfphyl0208:create_node] 2023-07-05 23:33:35 | [Mutex] received everything. 2023-07-05 23:33:35 | [Mutex] isItemNotified: node_qfphyl0208:create_node:success :: true 2023-07-05 23:33:35 | [Mutex] waiting for: [node_qfphyl0208:subscribe_node] 2023-07-05 23:33:35 | [Mutex] waiting for: [node_qfphyl0208:subscribe_node] 2023-07-05 23:33:35 | [Mutex] received everything. 2023-07-05 23:33:35 | [Mutex] isItemNotified: node_qfphyl0208:subscribe_node:success :: true 2023-07-05 23:33:35 | ===== publishing normal message (to online) 2023-07-05 23:33:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-05 23:33:35 | command: <data><node>node_qfphyl0208</node><entry><content>content_smvf6l0209</content></entry></data> 2023-07-05 23:33:35 | target: http://localhost:8088 2023-07-05 23:33:35 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-07-05 23:33:35 | entity: <data><node>node_qfphyl0208</node><entry><content>content_smvf6l0209</content></entry></data> 2023-07-05 23:33:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 Jul 2023 06:33:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-05 23:33:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>02031d73-8fa7-445a-b8ba-9f3d4a7c68ef</value></item-id></result> 2023-07-05 23:33:35 | contains: true 2023-07-05 23:33:35 | [Mutex] received everything. 2023-07-05 23:33:35 | [Mutex] isItemNotified: user_regularp3zmb70207@test-domain.com:message:received:content_smvf6l0209 :: true 2023-07-05 23:33:35 | ===== publishing already old message - expecting message being filtered out (to online) 2023-07-05 23:33:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-05 23:33:35 | command: <data><node>node_qfphyl0208</node><expire-at>2023-07-06T06:33:30Z</expire-at><entry><content>content_hoa0rj0210</content></entry></data> 2023-07-05 23:33:35 | target: http://localhost:8088 2023-07-05 23:33:35 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-07-05 23:33:35 | entity: <data><node>node_qfphyl0208</node><expire-at>2023-07-06T06:33:30Z</expire-at><entry><content>content_hoa0rj0210</content></entry></data> 2023-07-05 23:33:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 Jul 2023 06:33:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-05 23:33:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c35cca6a-81b0-45ea-a78e-8d580d1468a9</value></item-id></result> 2023-07-05 23:33:35 | contains: true 2023-07-05 23:33:35 | [Mutex] waiting for: [user_regularp3zmb70207@test-domain.com:message:received:content_hoa0rj0210] 2023-07-05 23:33:50 | [Mutex] timeout. Not received [user_regularp3zmb70207@test-domain.com:message:received:content_hoa0rj0210] 2023-07-05 23:33:50 | [Mutex] isItemNotified: user_regularp3zmb70207@test-domain.com:message:received:content_hoa0rj0210 :: false 2023-07-05 23:33:50 | ===== publishing normal message (to offline) 2023-07-05 23:33:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-05 23:33:50 | command: <data><node>node_qfphyl0208</node><entry><content>content_p4zc1b0211</content></entry></data> 2023-07-05 23:33:50 | target: http://localhost:8088 2023-07-05 23:33:50 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-07-05 23:33:50 | entity: <data><node>node_qfphyl0208</node><entry><content>content_p4zc1b0211</content></entry></data> 2023-07-05 23:33:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 Jul 2023 06:33:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-05 23:33:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>334f5500-c3d7-4f62-8ca4-332343ee796f</value></item-id></result> 2023-07-05 23:33:50 | contains: true 2023-07-05 23:33:55 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-07-05 23:33:55 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-07-05 23:33:55 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-07-05 23:33:55 | [Mutex] waiting for: [user_regularp3zmb70207@test-domain.com:message:received:content_p4zc1b0211] 2023-07-05 23:33:55 | [Mutex] received everything. 2023-07-05 23:33:55 | [Mutex] isItemNotified: user_regularp3zmb70207@test-domain.com:message:received:content_p4zc1b0211 :: true 2023-07-05 23:33:55 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-07-05 23:33:55 | [Mutex] received everything. 2023-07-05 23:33:55 | [Mutex] isItemNotified: node_qfphyl0208:subscribe_node:success :: true 2023-07-05 23:33:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-05 23:33:55 | command: <data><node>node_qfphyl0208</node><expire-at>2023-07-06T06:34:00Z</expire-at><entry><content>content_nkm3rj0212</content></entry></data> 2023-07-05 23:33:55 | target: http://localhost:8088 2023-07-05 23:33:55 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-07-05 23:33:55 | entity: <data><node>node_qfphyl0208</node><expire-at>2023-07-06T06:34:00Z</expire-at><entry><content>content_nkm3rj0212</content></entry></data> 2023-07-05 23:33:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 Jul 2023 06:33:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-05 23:33:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c790bf59-2164-4377-a994-0f01654d5c5a</value></item-id></result> 2023-07-05 23:33:55 | contains: true 2023-07-05 23:34:03 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-07-05 23:34:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-07-05 23:34:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-07-05 23:34:03 | [Mutex] waiting for: [user_regularp3zmb70207@test-domain.com:message:received:content_nkm3rj0212] 2023-07-05 23:34:18 | [Mutex] timeout. Not received [user_regularp3zmb70207@test-domain.com:message:received:content_nkm3rj0212] 2023-07-05 23:34:18 | [Mutex] received everything. 2023-07-05 23:34:18 | [Mutex] isItemNotified: user_regularp3zmb70207@test-domain.com:message:received:content_nkm3rj0212 :: false 2023-07-05 23:34:18 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_nkm3rj0212 :: true |