Test duration : 44.826s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.604s |
2022-12-30 09:41:02 |
2022-12-30 09:41:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-12-30 09:41:02 | ------------------------------------ 2022-12-30 09:41:02 | [Mutex] isItemNotified: node_h6iqge0204:exists :: false 2022-12-30 09:41:02 | [Mutex] waiting for: [node_h6iqge0204:create_node] 2022-12-30 09:41:02 | [Mutex] received everything. 2022-12-30 09:41:02 | [Mutex] isItemNotified: node_h6iqge0204:create_node:success :: true 2022-12-30 09:41:02 | [Mutex] waiting for: [node_h6iqge0204:subscribe_node] 2022-12-30 09:41:02 | [Mutex] waiting for: [node_h6iqge0204:subscribe_node] 2022-12-30 09:41:02 | [Mutex] received everything. 2022-12-30 09:41:02 | [Mutex] isItemNotified: node_h6iqge0204:subscribe_node:success :: true 2022-12-30 09:41:02 | ===== publishing normal message (to online) 2022-12-30 09:41:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-30 09:41:02 | command: <data><node>node_h6iqge0204</node><entry><content>content_c47gh10205</content></entry></data> 2022-12-30 09:41:02 | target: http://localhost:8088 2022-12-30 09:41:02 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-12-30 09:41:02 | entity: <data><node>node_h6iqge0204</node><entry><content>content_c47gh10205</content></entry></data> 2022-12-30 09:41:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Dec 2022 17:41:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-30 09:41:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>01608432-fa9f-49f7-a1ca-cf78b726ae52</value></item-id></result> 2022-12-30 09:41:02 | contains: true 2022-12-30 09:41:02 | [Mutex] received everything. 2022-12-30 09:41:02 | [Mutex] isItemNotified: user_regularlqo3hk0203@test-domain.com:message:received:content_c47gh10205 :: true 2022-12-30 09:41:02 | ===== publishing already old message - expecting message being filtered out (to online) 2022-12-30 09:41:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-30 09:41:02 | command: <data><node>node_h6iqge0204</node><expire-at>2022-12-30T17:40:57Z</expire-at><entry><content>content_xc4l1j0206</content></entry></data> 2022-12-30 09:41:02 | target: http://localhost:8088 2022-12-30 09:41:02 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-12-30 09:41:02 | entity: <data><node>node_h6iqge0204</node><expire-at>2022-12-30T17:40:57Z</expire-at><entry><content>content_xc4l1j0206</content></entry></data> 2022-12-30 09:41:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Dec 2022 17:41:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-30 09:41:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>77618adf-f95f-4362-bbdb-bca5dd732461</value></item-id></result> 2022-12-30 09:41:02 | contains: true 2022-12-30 09:41:02 | [Mutex] waiting for: [user_regularlqo3hk0203@test-domain.com:message:received:content_xc4l1j0206] 2022-12-30 09:41:17 | [Mutex] timeout. Not received [user_regularlqo3hk0203@test-domain.com:message:received:content_xc4l1j0206] 2022-12-30 09:41:17 | [Mutex] isItemNotified: user_regularlqo3hk0203@test-domain.com:message:received:content_xc4l1j0206 :: false 2022-12-30 09:41:17 | ===== publishing normal message (to offline) 2022-12-30 09:41:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-30 09:41:17 | command: <data><node>node_h6iqge0204</node><entry><content>content_nrjw2t0207</content></entry></data> 2022-12-30 09:41:17 | target: http://localhost:8088 2022-12-30 09:41:17 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-12-30 09:41:17 | entity: <data><node>node_h6iqge0204</node><entry><content>content_nrjw2t0207</content></entry></data> 2022-12-30 09:41:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Dec 2022 17:41:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-30 09:41:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>59edb8ae-55b0-4fec-8d5e-8214ddd95002</value></item-id></result> 2022-12-30 09:41:17 | contains: true 2022-12-30 09:41:22 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-12-30 09:41:22 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-12-30 09:41:22 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-12-30 09:41:22 | [Mutex] received everything. 2022-12-30 09:41:22 | [Mutex] isItemNotified: user_regularlqo3hk0203@test-domain.com:message:received:content_nrjw2t0207 :: true 2022-12-30 09:41:22 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-12-30 09:41:22 | [Mutex] received everything. 2022-12-30 09:41:22 | [Mutex] isItemNotified: node_h6iqge0204:subscribe_node:success :: true 2022-12-30 09:41:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-30 09:41:22 | command: <data><node>node_h6iqge0204</node><expire-at>2022-12-30T17:41:27Z</expire-at><entry><content>content_u8ni6o0208</content></entry></data> 2022-12-30 09:41:22 | target: http://localhost:8088 2022-12-30 09:41:22 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-12-30 09:41:22 | entity: <data><node>node_h6iqge0204</node><expire-at>2022-12-30T17:41:27Z</expire-at><entry><content>content_u8ni6o0208</content></entry></data> 2022-12-30 09:41:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Dec 2022 17:41:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-30 09:41:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>260105a0-70ba-4535-a3d5-dfd4ab4ae31a</value></item-id></result> 2022-12-30 09:41:22 | contains: true 2022-12-30 09:41:30 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-12-30 09:41:30 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-12-30 09:41:30 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-12-30 09:41:30 | [Mutex] waiting for: [user_regularlqo3hk0203@test-domain.com:message:received:content_u8ni6o0208] 2022-12-30 09:41:45 | [Mutex] timeout. Not received [user_regularlqo3hk0203@test-domain.com:message:received:content_u8ni6o0208] 2022-12-30 09:41:45 | [Mutex] received everything. 2022-12-30 09:41:45 | [Mutex] isItemNotified: user_regularlqo3hk0203@test-domain.com:message:received:content_u8ni6o0208 :: false 2022-12-30 09:41:45 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_u8ni6o0208 :: true |