Test duration : 44.820s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.651s |
2022-07-24 22:32:46 |
2022-07-24 22:32:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-07-24 22:32:46 | ------------------------------------ 2022-07-24 22:32:46 | [Mutex] isItemNotified: node_5r00y70204:exists :: false 2022-07-24 22:32:46 | [Mutex] waiting for: [node_5r00y70204:create_node] 2022-07-24 22:32:46 | [Mutex] waiting for: [node_5r00y70204:create_node] 2022-07-24 22:32:46 | [Mutex] received everything. 2022-07-24 22:32:46 | [Mutex] isItemNotified: node_5r00y70204:create_node:success :: true 2022-07-24 22:32:46 | [Mutex] waiting for: [node_5r00y70204:subscribe_node] 2022-07-24 22:32:46 | [Mutex] waiting for: [node_5r00y70204:subscribe_node] 2022-07-24 22:32:46 | [Mutex] received everything. 2022-07-24 22:32:46 | [Mutex] isItemNotified: node_5r00y70204:subscribe_node:success :: true 2022-07-24 22:32:46 | ===== publishing normal message (to online) 2022-07-24 22:32:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-24 22:32:46 | command: <data><node>node_5r00y70204</node><entry><content>content_sh8ges0205</content></entry></data> 2022-07-24 22:32:46 | target: http://localhost:8088 2022-07-24 22:32:46 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-24 22:32:46 | entity: <data><node>node_5r00y70204</node><entry><content>content_sh8ges0205</content></entry></data> 2022-07-24 22:32:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 25 Jul 2022 05:32:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-24 22:32:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2f99ed7f-3e41-4dc6-8d09-46ce4b50bee4</value></item-id></result> 2022-07-24 22:32:46 | contains: true 2022-07-24 22:32:46 | [Mutex] received everything. 2022-07-24 22:32:46 | [Mutex] isItemNotified: user_regularedu0oq0203@test-domain.com:message:received:content_sh8ges0205 :: true 2022-07-24 22:32:46 | ===== publishing already old message - expecting message being filtered out (to online) 2022-07-24 22:32:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-24 22:32:46 | command: <data><node>node_5r00y70204</node><expire-at>2022-07-25T05:32:41Z</expire-at><entry><content>content_s1dujg0206</content></entry></data> 2022-07-24 22:32:46 | target: http://localhost:8088 2022-07-24 22:32:46 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-24 22:32:46 | entity: <data><node>node_5r00y70204</node><expire-at>2022-07-25T05:32:41Z</expire-at><entry><content>content_s1dujg0206</content></entry></data> 2022-07-24 22:32:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 25 Jul 2022 05:32:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-24 22:32:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f93bae51-a8ad-4e52-accd-32fea351f71f</value></item-id></result> 2022-07-24 22:32:46 | contains: true 2022-07-24 22:32:46 | [Mutex] waiting for: [user_regularedu0oq0203@test-domain.com:message:received:content_s1dujg0206] 2022-07-24 22:33:01 | [Mutex] timeout. Not received [user_regularedu0oq0203@test-domain.com:message:received:content_s1dujg0206] 2022-07-24 22:33:01 | [Mutex] isItemNotified: user_regularedu0oq0203@test-domain.com:message:received:content_s1dujg0206 :: false 2022-07-24 22:33:01 | ===== publishing normal message (to offline) 2022-07-24 22:33:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-24 22:33:02 | command: <data><node>node_5r00y70204</node><entry><content>content_tifk9s0207</content></entry></data> 2022-07-24 22:33:02 | target: http://localhost:8088 2022-07-24 22:33:02 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-24 22:33:02 | entity: <data><node>node_5r00y70204</node><entry><content>content_tifk9s0207</content></entry></data> 2022-07-24 22:33:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 25 Jul 2022 05:33:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-24 22:33:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1942e779-af11-46a8-9605-bef1015b265e</value></item-id></result> 2022-07-24 22:33:02 | contains: true 2022-07-24 22:33:07 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-24 22:33:07 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-07-24 22:33:07 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-24 22:33:07 | [Mutex] waiting for: [user_regularedu0oq0203@test-domain.com:message:received:content_tifk9s0207] 2022-07-24 22:33:07 | [Mutex] waiting for: [user_regularedu0oq0203@test-domain.com:message:received:content_tifk9s0207] 2022-07-24 22:33:07 | [Mutex] received everything. 2022-07-24 22:33:07 | [Mutex] isItemNotified: user_regularedu0oq0203@test-domain.com:message:received:content_tifk9s0207 :: true 2022-07-24 22:33:07 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-07-24 22:33:07 | [Mutex] received everything. 2022-07-24 22:33:07 | [Mutex] isItemNotified: node_5r00y70204:subscribe_node:success :: true 2022-07-24 22:33:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-24 22:33:07 | command: <data><node>node_5r00y70204</node><expire-at>2022-07-25T05:33:12Z</expire-at><entry><content>content_ljguqz0208</content></entry></data> 2022-07-24 22:33:07 | target: http://localhost:8088 2022-07-24 22:33:07 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-24 22:33:07 | entity: <data><node>node_5r00y70204</node><expire-at>2022-07-25T05:33:12Z</expire-at><entry><content>content_ljguqz0208</content></entry></data> 2022-07-24 22:33:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 25 Jul 2022 05:33:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-24 22:33:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>10d413d1-d8c3-4c69-a8ba-d139dd77b596</value></item-id></result> 2022-07-24 22:33:07 | contains: true 2022-07-24 22:33:15 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-24 22:33:15 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-07-24 22:33:15 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-24 22:33:15 | [Mutex] waiting for: [user_regularedu0oq0203@test-domain.com:message:received:content_ljguqz0208] 2022-07-24 22:33:30 | [Mutex] timeout. Not received [user_regularedu0oq0203@test-domain.com:message:received:content_ljguqz0208] 2022-07-24 22:33:30 | [Mutex] received everything. 2022-07-24 22:33:30 | [Mutex] isItemNotified: user_regularedu0oq0203@test-domain.com:message:received:content_ljguqz0208 :: false 2022-07-24 22:33:30 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ljguqz0208 :: true |