Test duration : 44.501s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.621s |
2023-08-06 22:45:34 |
2023-08-06 22:45:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-08-06 22:45:34 | ------------------------------------ 2023-08-06 22:45:34 | [Mutex] isItemNotified: node_shx1k10208:exists :: false 2023-08-06 22:45:34 | [Mutex] waiting for: [node_shx1k10208:create_node] 2023-08-06 22:45:34 | [Mutex] received everything. 2023-08-06 22:45:34 | [Mutex] isItemNotified: node_shx1k10208:create_node:success :: true 2023-08-06 22:45:34 | [Mutex] waiting for: [node_shx1k10208:subscribe_node] 2023-08-06 22:45:34 | [Mutex] waiting for: [node_shx1k10208:subscribe_node] 2023-08-06 22:45:34 | [Mutex] received everything. 2023-08-06 22:45:34 | [Mutex] isItemNotified: node_shx1k10208:subscribe_node:success :: true 2023-08-06 22:45:34 | ===== publishing normal message (to online) 2023-08-06 22:45:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-08-06 22:45:34 | command: <data><node>node_shx1k10208</node><entry><content>content_81a59w0209</content></entry></data> 2023-08-06 22:45:34 | target: http://localhost:8088 2023-08-06 22:45:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-08-06 22:45:34 | entity: <data><node>node_shx1k10208</node><entry><content>content_81a59w0209</content></entry></data> 2023-08-06 22:45:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 07 Aug 2023 05:45:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-08-06 22:45:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>575b7873-ccc1-46f6-af6f-714bc724a752</value></item-id></result> 2023-08-06 22:45:34 | contains: true 2023-08-06 22:45:34 | [Mutex] received everything. 2023-08-06 22:45:34 | [Mutex] isItemNotified: user_regularf326ig0207@test-domain.com:message:received:content_81a59w0209 :: true 2023-08-06 22:45:34 | ===== publishing already old message - expecting message being filtered out (to online) 2023-08-06 22:45:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-08-06 22:45:34 | command: <data><node>node_shx1k10208</node><expire-at>2023-08-07T05:45:29Z</expire-at><entry><content>content_5vap7c0210</content></entry></data> 2023-08-06 22:45:34 | target: http://localhost:8088 2023-08-06 22:45:34 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-08-06 22:45:34 | entity: <data><node>node_shx1k10208</node><expire-at>2023-08-07T05:45:29Z</expire-at><entry><content>content_5vap7c0210</content></entry></data> 2023-08-06 22:45:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 07 Aug 2023 05:45:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-08-06 22:45:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>57cb0a53-5c82-4151-8f10-a27d73871962</value></item-id></result> 2023-08-06 22:45:34 | contains: true 2023-08-06 22:45:34 | [Mutex] waiting for: [user_regularf326ig0207@test-domain.com:message:received:content_5vap7c0210] 2023-08-06 22:45:49 | [Mutex] timeout. Not received [user_regularf326ig0207@test-domain.com:message:received:content_5vap7c0210] 2023-08-06 22:45:49 | [Mutex] isItemNotified: user_regularf326ig0207@test-domain.com:message:received:content_5vap7c0210 :: false 2023-08-06 22:45:49 | ===== publishing normal message (to offline) 2023-08-06 22:45:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-08-06 22:45:49 | command: <data><node>node_shx1k10208</node><entry><content>content_4jel530211</content></entry></data> 2023-08-06 22:45:49 | target: http://localhost:8088 2023-08-06 22:45:49 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-08-06 22:45:49 | entity: <data><node>node_shx1k10208</node><entry><content>content_4jel530211</content></entry></data> 2023-08-06 22:45:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 07 Aug 2023 05:45:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-08-06 22:45:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d885161b-eadc-4c94-bd1b-115b1c3954ed</value></item-id></result> 2023-08-06 22:45:49 | contains: true 2023-08-06 22:45:54 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-08-06 22:45:54 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-08-06 22:45:54 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-08-06 22:45:54 | [Mutex] waiting for: [user_regularf326ig0207@test-domain.com:message:received:content_4jel530211] 2023-08-06 22:45:54 | [Mutex] waiting for: [user_regularf326ig0207@test-domain.com:message:received:content_4jel530211] 2023-08-06 22:45:54 | [Mutex] received everything. 2023-08-06 22:45:54 | [Mutex] isItemNotified: user_regularf326ig0207@test-domain.com:message:received:content_4jel530211 :: true 2023-08-06 22:45:54 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-08-06 22:45:54 | [Mutex] received everything. 2023-08-06 22:45:54 | [Mutex] isItemNotified: node_shx1k10208:subscribe_node:success :: true 2023-08-06 22:45:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-08-06 22:45:54 | command: <data><node>node_shx1k10208</node><expire-at>2023-08-07T05:45:59Z</expire-at><entry><content>content_9rrkmm0212</content></entry></data> 2023-08-06 22:45:54 | target: http://localhost:8088 2023-08-06 22:45:54 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-08-06 22:45:54 | entity: <data><node>node_shx1k10208</node><expire-at>2023-08-07T05:45:59Z</expire-at><entry><content>content_9rrkmm0212</content></entry></data> 2023-08-06 22:45:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 07 Aug 2023 05:45:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-08-06 22:45:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>65e15220-1b52-4098-ac13-f180aa2affba</value></item-id></result> 2023-08-06 22:45:54 | contains: true 2023-08-06 22:46:02 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-08-06 22:46:02 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-08-06 22:46:02 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-08-06 22:46:02 | [Mutex] waiting for: [user_regularf326ig0207@test-domain.com:message:received:content_9rrkmm0212] 2023-08-06 22:46:17 | [Mutex] timeout. Not received [user_regularf326ig0207@test-domain.com:message:received:content_9rrkmm0212] 2023-08-06 22:46:17 | [Mutex] received everything. 2023-08-06 22:46:17 | [Mutex] isItemNotified: user_regularf326ig0207@test-domain.com:message:received:content_9rrkmm0212 :: false 2023-08-06 22:46:17 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_9rrkmm0212 :: true |