Test duration : 44.795s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.516s |
2022-06-27 23:01:49 |
2022-06-27 23:01:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-06-27 23:01:49 | ------------------------------------ 2022-06-27 23:01:49 | [Mutex] isItemNotified: node_451kmn0204:exists :: false 2022-06-27 23:01:49 | [Mutex] waiting for: [node_451kmn0204:create_node] 2022-06-27 23:01:49 | [Mutex] received everything. 2022-06-27 23:01:49 | [Mutex] isItemNotified: node_451kmn0204:create_node:success :: true 2022-06-27 23:01:49 | [Mutex] waiting for: [node_451kmn0204:subscribe_node] 2022-06-27 23:01:49 | [Mutex] waiting for: [node_451kmn0204:subscribe_node] 2022-06-27 23:01:49 | [Mutex] received everything. 2022-06-27 23:01:49 | [Mutex] isItemNotified: node_451kmn0204:subscribe_node:success :: true 2022-06-27 23:01:49 | ===== publishing normal message (to online) 2022-06-27 23:01:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-27 23:01:49 | command: <data><node>node_451kmn0204</node><entry><content>content_u9qumx0205</content></entry></data> 2022-06-27 23:01:49 | target: http://localhost:8088 2022-06-27 23:01:49 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-27 23:01:49 | entity: <data><node>node_451kmn0204</node><entry><content>content_u9qumx0205</content></entry></data> 2022-06-27 23:01:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Jun 2022 06:01:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-27 23:01:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c4838cad-ea23-4d57-8c9d-2ddd37c29a90</value></item-id></result> 2022-06-27 23:01:49 | contains: true 2022-06-27 23:01:49 | [Mutex] waiting for: [user_regularcjrb340203@test-domain.com:message:received:content_u9qumx0205] 2022-06-27 23:01:49 | [Mutex] received everything. 2022-06-27 23:01:49 | [Mutex] isItemNotified: user_regularcjrb340203@test-domain.com:message:received:content_u9qumx0205 :: true 2022-06-27 23:01:49 | ===== publishing already old message - expecting message being filtered out (to online) 2022-06-27 23:01:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-27 23:01:49 | command: <data><node>node_451kmn0204</node><expire-at>2022-06-28T06:01:44Z</expire-at><entry><content>content_qpusyy0206</content></entry></data> 2022-06-27 23:01:49 | target: http://localhost:8088 2022-06-27 23:01:49 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-27 23:01:49 | entity: <data><node>node_451kmn0204</node><expire-at>2022-06-28T06:01:44Z</expire-at><entry><content>content_qpusyy0206</content></entry></data> 2022-06-27 23:01:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Jun 2022 06:01:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-27 23:01:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b4096a55-7b68-4ec0-a30b-fdfb784c4cc0</value></item-id></result> 2022-06-27 23:01:49 | contains: true 2022-06-27 23:01:49 | [Mutex] waiting for: [user_regularcjrb340203@test-domain.com:message:received:content_qpusyy0206] 2022-06-27 23:02:04 | [Mutex] timeout. Not received [user_regularcjrb340203@test-domain.com:message:received:content_qpusyy0206] 2022-06-27 23:02:04 | [Mutex] isItemNotified: user_regularcjrb340203@test-domain.com:message:received:content_qpusyy0206 :: false 2022-06-27 23:02:04 | ===== publishing normal message (to offline) 2022-06-27 23:02:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-27 23:02:04 | command: <data><node>node_451kmn0204</node><entry><content>content_aq7hbo0207</content></entry></data> 2022-06-27 23:02:04 | target: http://localhost:8088 2022-06-27 23:02:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-27 23:02:04 | entity: <data><node>node_451kmn0204</node><entry><content>content_aq7hbo0207</content></entry></data> 2022-06-27 23:02:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Jun 2022 06:02:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-27 23:02:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>56c22e6b-b742-4b89-b857-e31689743c6b</value></item-id></result> 2022-06-27 23:02:04 | contains: true 2022-06-27 23:02:09 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-27 23:02:09 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-06-27 23:02:09 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-27 23:02:09 | [Mutex] waiting for: [user_regularcjrb340203@test-domain.com:message:received:content_aq7hbo0207] 2022-06-27 23:02:09 | [Mutex] received everything. 2022-06-27 23:02:09 | [Mutex] isItemNotified: user_regularcjrb340203@test-domain.com:message:received:content_aq7hbo0207 :: true 2022-06-27 23:02:09 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-06-27 23:02:09 | [Mutex] received everything. 2022-06-27 23:02:09 | [Mutex] isItemNotified: node_451kmn0204:subscribe_node:success :: true 2022-06-27 23:02:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-27 23:02:09 | command: <data><node>node_451kmn0204</node><expire-at>2022-06-28T06:02:14Z</expire-at><entry><content>content_9lw9fo0208</content></entry></data> 2022-06-27 23:02:09 | target: http://localhost:8088 2022-06-27 23:02:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-27 23:02:09 | entity: <data><node>node_451kmn0204</node><expire-at>2022-06-28T06:02:14Z</expire-at><entry><content>content_9lw9fo0208</content></entry></data> 2022-06-27 23:02:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Jun 2022 06:02:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-27 23:02:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1cb4acc6-dc79-4e47-aa30-fcc3c0ba2e8e</value></item-id></result> 2022-06-27 23:02:09 | contains: true 2022-06-27 23:02:17 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-27 23:02:17 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-06-27 23:02:17 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-27 23:02:17 | [Mutex] waiting for: [user_regularcjrb340203@test-domain.com:message:received:content_9lw9fo0208] 2022-06-27 23:02:32 | [Mutex] timeout. Not received [user_regularcjrb340203@test-domain.com:message:received:content_9lw9fo0208] 2022-06-27 23:02:32 | [Mutex] received everything. 2022-06-27 23:02:32 | [Mutex] isItemNotified: user_regularcjrb340203@test-domain.com:message:received:content_9lw9fo0208 :: false 2022-06-27 23:02:32 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_9lw9fo0208 :: true |