Test duration : 44.571s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.644s |
2023-08-27 23:01:36 |
2023-08-27 23:01:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-08-27 23:01:36 | ------------------------------------ 2023-08-27 23:01:36 | [Mutex] isItemNotified: node_vg1j3k0208:exists :: false 2023-08-27 23:01:36 | [Mutex] waiting for: [node_vg1j3k0208:create_node] 2023-08-27 23:01:36 | [Mutex] waiting for: [node_vg1j3k0208:create_node] 2023-08-27 23:01:36 | [Mutex] received everything. 2023-08-27 23:01:36 | [Mutex] isItemNotified: node_vg1j3k0208:create_node:success :: true 2023-08-27 23:01:36 | [Mutex] waiting for: [node_vg1j3k0208:subscribe_node] 2023-08-27 23:01:36 | [Mutex] waiting for: [node_vg1j3k0208:subscribe_node] 2023-08-27 23:01:36 | [Mutex] received everything. 2023-08-27 23:01:36 | [Mutex] isItemNotified: node_vg1j3k0208:subscribe_node:success :: true 2023-08-27 23:01:36 | ===== publishing normal message (to online) 2023-08-27 23:01:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-08-27 23:01:36 | command: <data><node>node_vg1j3k0208</node><entry><content>content_km1y5q0209</content></entry></data> 2023-08-27 23:01:36 | target: http://localhost:8088 2023-08-27 23:01:36 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-08-27 23:01:36 | entity: <data><node>node_vg1j3k0208</node><entry><content>content_km1y5q0209</content></entry></data> 2023-08-27 23:01:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 28 Aug 2023 06:01:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-08-27 23:01:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d4f0c21b-f55d-463f-ae04-e7f5de283085</value></item-id></result> 2023-08-27 23:01:36 | contains: true 2023-08-27 23:01:36 | [Mutex] waiting for: [user_regularnq12p00207@test-domain.com:message:received:content_km1y5q0209] 2023-08-27 23:01:36 | [Mutex] received everything. 2023-08-27 23:01:36 | [Mutex] isItemNotified: user_regularnq12p00207@test-domain.com:message:received:content_km1y5q0209 :: true 2023-08-27 23:01:36 | ===== publishing already old message - expecting message being filtered out (to online) 2023-08-27 23:01:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-08-27 23:01:36 | command: <data><node>node_vg1j3k0208</node><expire-at>2023-08-28T06:01:31Z</expire-at><entry><content>content_4p5jde0210</content></entry></data> 2023-08-27 23:01:36 | target: http://localhost:8088 2023-08-27 23:01:36 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-08-27 23:01:36 | entity: <data><node>node_vg1j3k0208</node><expire-at>2023-08-28T06:01:31Z</expire-at><entry><content>content_4p5jde0210</content></entry></data> 2023-08-27 23:01:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 28 Aug 2023 06:01:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-08-27 23:01:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>46343ace-b152-4a26-a9ec-20b972cc486e</value></item-id></result> 2023-08-27 23:01:37 | contains: true 2023-08-27 23:01:37 | [Mutex] waiting for: [user_regularnq12p00207@test-domain.com:message:received:content_4p5jde0210] 2023-08-27 23:01:52 | [Mutex] timeout. Not received [user_regularnq12p00207@test-domain.com:message:received:content_4p5jde0210] 2023-08-27 23:01:52 | [Mutex] isItemNotified: user_regularnq12p00207@test-domain.com:message:received:content_4p5jde0210 :: false 2023-08-27 23:01:52 | ===== publishing normal message (to offline) 2023-08-27 23:01:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-08-27 23:01:52 | command: <data><node>node_vg1j3k0208</node><entry><content>content_z0qbih0211</content></entry></data> 2023-08-27 23:01:52 | target: http://localhost:8088 2023-08-27 23:01:52 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-08-27 23:01:52 | entity: <data><node>node_vg1j3k0208</node><entry><content>content_z0qbih0211</content></entry></data> 2023-08-27 23:01:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 28 Aug 2023 06:01:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-08-27 23:01:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>025d3f8c-f7c6-4f74-9cc3-2303aa440826</value></item-id></result> 2023-08-27 23:01:52 | contains: true 2023-08-27 23:01:57 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-08-27 23:01:57 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-08-27 23:01:57 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-08-27 23:01:57 | [Mutex] waiting for: [user_regularnq12p00207@test-domain.com:message:received:content_z0qbih0211] 2023-08-27 23:01:57 | [Mutex] waiting for: [user_regularnq12p00207@test-domain.com:message:received:content_z0qbih0211] 2023-08-27 23:01:57 | [Mutex] received everything. 2023-08-27 23:01:57 | [Mutex] isItemNotified: user_regularnq12p00207@test-domain.com:message:received:content_z0qbih0211 :: true 2023-08-27 23:01:57 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-08-27 23:01:57 | [Mutex] received everything. 2023-08-27 23:01:57 | [Mutex] isItemNotified: node_vg1j3k0208:subscribe_node:success :: true 2023-08-27 23:01:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-08-27 23:01:57 | command: <data><node>node_vg1j3k0208</node><expire-at>2023-08-28T06:02:02Z</expire-at><entry><content>content_1wts3w0212</content></entry></data> 2023-08-27 23:01:57 | target: http://localhost:8088 2023-08-27 23:01:57 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-08-27 23:01:57 | entity: <data><node>node_vg1j3k0208</node><expire-at>2023-08-28T06:02:02Z</expire-at><entry><content>content_1wts3w0212</content></entry></data> 2023-08-27 23:01:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 28 Aug 2023 06:01:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-08-27 23:01:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d26ca568-7d9b-43bf-a77e-35482d9131e3</value></item-id></result> 2023-08-27 23:01:57 | contains: true 2023-08-27 23:02:05 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-08-27 23:02:05 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-08-27 23:02:05 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-08-27 23:02:05 | [Mutex] waiting for: [user_regularnq12p00207@test-domain.com:message:received:content_1wts3w0212] 2023-08-27 23:02:20 | [Mutex] timeout. Not received [user_regularnq12p00207@test-domain.com:message:received:content_1wts3w0212] 2023-08-27 23:02:20 | [Mutex] received everything. 2023-08-27 23:02:20 | [Mutex] isItemNotified: user_regularnq12p00207@test-domain.com:message:received:content_1wts3w0212 :: false 2023-08-27 23:02:20 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_1wts3w0212 :: true |