Test duration : 44.827s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.577s |
2022-08-02 22:34:16 |
2022-08-02 22:34:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-08-02 22:34:16 | ------------------------------------ 2022-08-02 22:34:16 | [Mutex] isItemNotified: node_s5262g0200:exists :: false 2022-08-02 22:34:16 | [Mutex] waiting for: [node_s5262g0200:create_node] 2022-08-02 22:34:16 | [Mutex] received everything. 2022-08-02 22:34:16 | [Mutex] isItemNotified: node_s5262g0200:create_node:success :: true 2022-08-02 22:34:16 | [Mutex] waiting for: [node_s5262g0200:subscribe_node] 2022-08-02 22:34:16 | [Mutex] waiting for: [node_s5262g0200:subscribe_node] 2022-08-02 22:34:16 | [Mutex] received everything. 2022-08-02 22:34:16 | [Mutex] isItemNotified: node_s5262g0200:subscribe_node:success :: true 2022-08-02 22:34:16 | ===== publishing normal message (to online) 2022-08-02 22:34:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-02 22:34:16 | command: <data><node>node_s5262g0200</node><entry><content>content_8ikow60201</content></entry></data> 2022-08-02 22:34:16 | target: http://localhost:8088 2022-08-02 22:34:16 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-02 22:34:16 | entity: <data><node>node_s5262g0200</node><entry><content>content_8ikow60201</content></entry></data> 2022-08-02 22:34:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 03 Aug 2022 05:34:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-02 22:34:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>65ef46bc-b72c-458f-ae1a-d48927001f3e</value></item-id></result> 2022-08-02 22:34:16 | contains: true 2022-08-02 22:34:16 | [Mutex] received everything. 2022-08-02 22:34:16 | [Mutex] isItemNotified: user_regular1b3nci0199@test-domain.com:message:received:content_8ikow60201 :: true 2022-08-02 22:34:16 | ===== publishing already old message - expecting message being filtered out (to online) 2022-08-02 22:34:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-02 22:34:16 | command: <data><node>node_s5262g0200</node><expire-at>2022-08-03T05:34:11Z</expire-at><entry><content>content_y0tlpu0202</content></entry></data> 2022-08-02 22:34:16 | target: http://localhost:8088 2022-08-02 22:34:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-02 22:34:16 | entity: <data><node>node_s5262g0200</node><expire-at>2022-08-03T05:34:11Z</expire-at><entry><content>content_y0tlpu0202</content></entry></data> 2022-08-02 22:34:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 03 Aug 2022 05:34:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-02 22:34:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>32507977-f7d3-4e39-925c-7642f397a2aa</value></item-id></result> 2022-08-02 22:34:16 | contains: true 2022-08-02 22:34:16 | [Mutex] waiting for: [user_regular1b3nci0199@test-domain.com:message:received:content_y0tlpu0202] 2022-08-02 22:34:31 | [Mutex] timeout. Not received [user_regular1b3nci0199@test-domain.com:message:received:content_y0tlpu0202] 2022-08-02 22:34:31 | [Mutex] isItemNotified: user_regular1b3nci0199@test-domain.com:message:received:content_y0tlpu0202 :: false 2022-08-02 22:34:31 | ===== publishing normal message (to offline) 2022-08-02 22:34:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-02 22:34:31 | command: <data><node>node_s5262g0200</node><entry><content>content_6bbppj0203</content></entry></data> 2022-08-02 22:34:31 | target: http://localhost:8088 2022-08-02 22:34:31 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-02 22:34:31 | entity: <data><node>node_s5262g0200</node><entry><content>content_6bbppj0203</content></entry></data> 2022-08-02 22:34:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 03 Aug 2022 05:34:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-02 22:34:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0dd348d9-f9c7-4015-bbd6-557788800a2c</value></item-id></result> 2022-08-02 22:34:31 | contains: true 2022-08-02 22:34:36 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-02 22:34:36 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=471 thread=1] DNS entry stored in session object: localhost:5222 2022-08-02 22:34:36 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=471 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-02 22:34:36 | [Mutex] waiting for: [user_regular1b3nci0199@test-domain.com:message:received:content_6bbppj0203] 2022-08-02 22:34:36 | [Mutex] received everything. 2022-08-02 22:34:36 | [Mutex] isItemNotified: user_regular1b3nci0199@test-domain.com:message:received:content_6bbppj0203 :: true 2022-08-02 22:34:36 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-08-02 22:34:36 | [Mutex] received everything. 2022-08-02 22:34:36 | [Mutex] isItemNotified: node_s5262g0200:subscribe_node:success :: true 2022-08-02 22:34:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-02 22:34:36 | command: <data><node>node_s5262g0200</node><expire-at>2022-08-03T05:34:41Z</expire-at><entry><content>content_46v5260204</content></entry></data> 2022-08-02 22:34:36 | target: http://localhost:8088 2022-08-02 22:34:36 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-02 22:34:36 | entity: <data><node>node_s5262g0200</node><expire-at>2022-08-03T05:34:41Z</expire-at><entry><content>content_46v5260204</content></entry></data> 2022-08-02 22:34:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 03 Aug 2022 05:34:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-02 22:34:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>178e2089-e127-424d-a8e9-f4a85572758d</value></item-id></result> 2022-08-02 22:34:36 | contains: true 2022-08-02 22:34:44 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-02 22:34:44 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=472 thread=1] DNS entry stored in session object: localhost:5222 2022-08-02 22:34:44 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=472 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-02 22:34:45 | [Mutex] waiting for: [user_regular1b3nci0199@test-domain.com:message:received:content_46v5260204] 2022-08-02 22:34:45 | [Mutex] waiting for: [user_regular1b3nci0199@test-domain.com:message:received:content_46v5260204] 2022-08-02 22:34:45 | [Mutex] waiting for: [user_regular1b3nci0199@test-domain.com:message:received:content_46v5260204] 2022-08-02 22:35:00 | [Mutex] timeout. Not received [user_regular1b3nci0199@test-domain.com:message:received:content_46v5260204] 2022-08-02 22:35:00 | [Mutex] received everything. 2022-08-02 22:35:00 | [Mutex] isItemNotified: user_regular1b3nci0199@test-domain.com:message:received:content_46v5260204 :: false 2022-08-02 22:35:00 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_46v5260204 :: true |