Test duration : 44.733s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.616s |
2023-02-17 21:30:22 |
2023-02-17 21:30:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-02-17 21:30:22 | ------------------------------------ 2023-02-17 21:30:22 | [Mutex] isItemNotified: node_9b3r820204:exists :: false 2023-02-17 21:30:22 | [Mutex] waiting for: [node_9b3r820204:create_node] 2023-02-17 21:30:22 | [Mutex] received everything. 2023-02-17 21:30:22 | [Mutex] isItemNotified: node_9b3r820204:create_node:success :: true 2023-02-17 21:30:22 | [Mutex] waiting for: [node_9b3r820204:subscribe_node] 2023-02-17 21:30:22 | [Mutex] received everything. 2023-02-17 21:30:22 | [Mutex] isItemNotified: node_9b3r820204:subscribe_node:success :: true 2023-02-17 21:30:22 | ===== publishing normal message (to online) 2023-02-17 21:30:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-02-17 21:30:22 | command: <data><node>node_9b3r820204</node><entry><content>content_oz42uv0205</content></entry></data> 2023-02-17 21:30:22 | target: http://localhost:8088 2023-02-17 21:30:22 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-02-17 21:30:22 | entity: <data><node>node_9b3r820204</node><entry><content>content_oz42uv0205</content></entry></data> 2023-02-17 21:30:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 18 Feb 2023 05:30:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-02-17 21:30:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>efc2b1f0-15dc-44c5-9e02-bcea80f2e501</value></item-id></result> 2023-02-17 21:30:22 | contains: true 2023-02-17 21:30:22 | [Mutex] received everything. 2023-02-17 21:30:22 | [Mutex] isItemNotified: user_regularx6j8640203@test-domain.com:message:received:content_oz42uv0205 :: true 2023-02-17 21:30:22 | ===== publishing already old message - expecting message being filtered out (to online) 2023-02-17 21:30:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-02-17 21:30:22 | command: <data><node>node_9b3r820204</node><expire-at>2023-02-18T05:30:17Z</expire-at><entry><content>content_mh4yxa0206</content></entry></data> 2023-02-17 21:30:22 | target: http://localhost:8088 2023-02-17 21:30:22 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-02-17 21:30:22 | entity: <data><node>node_9b3r820204</node><expire-at>2023-02-18T05:30:17Z</expire-at><entry><content>content_mh4yxa0206</content></entry></data> 2023-02-17 21:30:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 18 Feb 2023 05:30:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-02-17 21:30:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>bf497700-76ea-49c6-9675-e0ba05d6be79</value></item-id></result> 2023-02-17 21:30:22 | contains: true 2023-02-17 21:30:22 | [Mutex] waiting for: [user_regularx6j8640203@test-domain.com:message:received:content_mh4yxa0206] 2023-02-17 21:30:37 | [Mutex] timeout. Not received [user_regularx6j8640203@test-domain.com:message:received:content_mh4yxa0206] 2023-02-17 21:30:37 | [Mutex] isItemNotified: user_regularx6j8640203@test-domain.com:message:received:content_mh4yxa0206 :: false 2023-02-17 21:30:37 | ===== publishing normal message (to offline) 2023-02-17 21:30:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-02-17 21:30:37 | command: <data><node>node_9b3r820204</node><entry><content>content_2bjqkp0207</content></entry></data> 2023-02-17 21:30:37 | target: http://localhost:8088 2023-02-17 21:30:37 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-02-17 21:30:37 | entity: <data><node>node_9b3r820204</node><entry><content>content_2bjqkp0207</content></entry></data> 2023-02-17 21:30:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 18 Feb 2023 05:30:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-02-17 21:30:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0b251f69-4afb-426d-ba69-045f59b7cb1d</value></item-id></result> 2023-02-17 21:30:37 | contains: true 2023-02-17 21:30:42 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-02-17 21:30:42 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2023-02-17 21:30:42 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-02-17 21:30:43 | [Mutex] waiting for: [user_regularx6j8640203@test-domain.com:message:received:content_2bjqkp0207] 2023-02-17 21:30:43 | [Mutex] received everything. 2023-02-17 21:30:43 | [Mutex] isItemNotified: user_regularx6j8640203@test-domain.com:message:received:content_2bjqkp0207 :: true 2023-02-17 21:30:43 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-02-17 21:30:43 | [Mutex] received everything. 2023-02-17 21:30:43 | [Mutex] isItemNotified: node_9b3r820204:subscribe_node:success :: true 2023-02-17 21:30:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-02-17 21:30:43 | command: <data><node>node_9b3r820204</node><expire-at>2023-02-18T05:30:48Z</expire-at><entry><content>content_qy85s80208</content></entry></data> 2023-02-17 21:30:43 | target: http://localhost:8088 2023-02-17 21:30:43 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-02-17 21:30:43 | entity: <data><node>node_9b3r820204</node><expire-at>2023-02-18T05:30:48Z</expire-at><entry><content>content_qy85s80208</content></entry></data> 2023-02-17 21:30:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 18 Feb 2023 05:30:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-02-17 21:30:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8734c61d-2ac5-4814-be47-e2b6f6a78b37</value></item-id></result> 2023-02-17 21:30:43 | contains: true 2023-02-17 21:30:51 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-02-17 21:30:51 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2023-02-17 21:30:51 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-02-17 21:30:51 | [Mutex] waiting for: [user_regularx6j8640203@test-domain.com:message:received:content_qy85s80208] 2023-02-17 21:30:51 | [Mutex] waiting for: [user_regularx6j8640203@test-domain.com:message:received:content_qy85s80208] 2023-02-17 21:31:06 | [Mutex] timeout. Not received [user_regularx6j8640203@test-domain.com:message:received:content_qy85s80208] 2023-02-17 21:31:06 | [Mutex] received everything. 2023-02-17 21:31:06 | [Mutex] isItemNotified: user_regularx6j8640203@test-domain.com:message:received:content_qy85s80208 :: false 2023-02-17 21:31:06 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_qy85s80208 :: true |