Test duration : 44.790s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.612s |
2022-07-06 23:05:23 |
2022-07-06 23:05:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-07-06 23:05:23 | ------------------------------------ 2022-07-06 23:05:23 | [Mutex] isItemNotified: node_b76dfj0204:exists :: false 2022-07-06 23:05:23 | [Mutex] waiting for: [node_b76dfj0204:create_node] 2022-07-06 23:05:23 | [Mutex] waiting for: [node_b76dfj0204:create_node] 2022-07-06 23:05:23 | [Mutex] received everything. 2022-07-06 23:05:23 | [Mutex] isItemNotified: node_b76dfj0204:create_node:success :: true 2022-07-06 23:05:23 | [Mutex] waiting for: [node_b76dfj0204:subscribe_node] 2022-07-06 23:05:23 | [Mutex] waiting for: [node_b76dfj0204:subscribe_node] 2022-07-06 23:05:23 | [Mutex] received everything. 2022-07-06 23:05:23 | [Mutex] isItemNotified: node_b76dfj0204:subscribe_node:success :: true 2022-07-06 23:05:23 | ===== publishing normal message (to online) 2022-07-06 23:05:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-06 23:05:23 | command: <data><node>node_b76dfj0204</node><entry><content>content_90poa70205</content></entry></data> 2022-07-06 23:05:23 | target: http://localhost:8088 2022-07-06 23:05:23 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-06 23:05:23 | entity: <data><node>node_b76dfj0204</node><entry><content>content_90poa70205</content></entry></data> 2022-07-06 23:05:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 07 Jul 2022 06:05:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-06 23:05:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>974968e2-55b6-4508-a50c-4622c14f8072</value></item-id></result> 2022-07-06 23:05:23 | contains: true 2022-07-06 23:05:23 | [Mutex] waiting for: [user_regular9mndyu0203@test-domain.com:message:received:content_90poa70205] 2022-07-06 23:05:23 | [Mutex] received everything. 2022-07-06 23:05:23 | [Mutex] isItemNotified: user_regular9mndyu0203@test-domain.com:message:received:content_90poa70205 :: true 2022-07-06 23:05:23 | ===== publishing already old message - expecting message being filtered out (to online) 2022-07-06 23:05:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-06 23:05:23 | command: <data><node>node_b76dfj0204</node><expire-at>2022-07-07T06:05:18Z</expire-at><entry><content>content_g26s6a0206</content></entry></data> 2022-07-06 23:05:23 | target: http://localhost:8088 2022-07-06 23:05:23 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-06 23:05:23 | entity: <data><node>node_b76dfj0204</node><expire-at>2022-07-07T06:05:18Z</expire-at><entry><content>content_g26s6a0206</content></entry></data> 2022-07-06 23:05:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 07 Jul 2022 06:05:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-06 23:05:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ba0a5eba-966c-44d8-bd1d-e6c0f6035fa8</value></item-id></result> 2022-07-06 23:05:23 | contains: true 2022-07-06 23:05:23 | [Mutex] waiting for: [user_regular9mndyu0203@test-domain.com:message:received:content_g26s6a0206] 2022-07-06 23:05:38 | [Mutex] timeout. Not received [user_regular9mndyu0203@test-domain.com:message:received:content_g26s6a0206] 2022-07-06 23:05:38 | [Mutex] isItemNotified: user_regular9mndyu0203@test-domain.com:message:received:content_g26s6a0206 :: false 2022-07-06 23:05:38 | ===== publishing normal message (to offline) 2022-07-06 23:05:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-06 23:05:38 | command: <data><node>node_b76dfj0204</node><entry><content>content_1uo3x20207</content></entry></data> 2022-07-06 23:05:38 | target: http://localhost:8088 2022-07-06 23:05:38 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-06 23:05:38 | entity: <data><node>node_b76dfj0204</node><entry><content>content_1uo3x20207</content></entry></data> 2022-07-06 23:05:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 07 Jul 2022 06:05:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-06 23:05:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5ee8f8b5-5186-4f42-81a3-a9fac44eacc9</value></item-id></result> 2022-07-06 23:05:38 | contains: true 2022-07-06 23:05:43 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-06 23:05:43 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-07-06 23:05:43 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-06 23:05:44 | [Mutex] waiting for: [user_regular9mndyu0203@test-domain.com:message:received:content_1uo3x20207] 2022-07-06 23:05:44 | [Mutex] waiting for: [user_regular9mndyu0203@test-domain.com:message:received:content_1uo3x20207] 2022-07-06 23:05:44 | [Mutex] received everything. 2022-07-06 23:05:44 | [Mutex] isItemNotified: user_regular9mndyu0203@test-domain.com:message:received:content_1uo3x20207 :: true 2022-07-06 23:05:44 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-07-06 23:05:44 | [Mutex] received everything. 2022-07-06 23:05:44 | [Mutex] isItemNotified: node_b76dfj0204:subscribe_node:success :: true 2022-07-06 23:05:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-06 23:05:44 | command: <data><node>node_b76dfj0204</node><expire-at>2022-07-07T06:05:49Z</expire-at><entry><content>content_nmkk1t0208</content></entry></data> 2022-07-06 23:05:44 | target: http://localhost:8088 2022-07-06 23:05:44 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-06 23:05:44 | entity: <data><node>node_b76dfj0204</node><expire-at>2022-07-07T06:05:49Z</expire-at><entry><content>content_nmkk1t0208</content></entry></data> 2022-07-06 23:05:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 07 Jul 2022 06:05:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-06 23:05:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9bff7c0c-9bfe-4f06-89f9-f766b7a03935</value></item-id></result> 2022-07-06 23:05:44 | contains: true 2022-07-06 23:05:52 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-06 23:05:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-07-06 23:05:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-06 23:05:52 | [Mutex] waiting for: [user_regular9mndyu0203@test-domain.com:message:received:content_nmkk1t0208] 2022-07-06 23:05:52 | [Mutex] waiting for: [user_regular9mndyu0203@test-domain.com:message:received:content_nmkk1t0208] 2022-07-06 23:06:07 | [Mutex] timeout. Not received [user_regular9mndyu0203@test-domain.com:message:received:content_nmkk1t0208] 2022-07-06 23:06:07 | [Mutex] received everything. 2022-07-06 23:06:07 | [Mutex] isItemNotified: user_regular9mndyu0203@test-domain.com:message:received:content_nmkk1t0208 :: false 2022-07-06 23:06:07 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_nmkk1t0208 :: true |