Test duration : 44.930s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.560s |
2022-07-03 22:32:09 |
2022-07-03 22:32:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-07-03 22:32:09 | ------------------------------------ 2022-07-03 22:32:09 | [Mutex] isItemNotified: node_t479ip0204:exists :: false 2022-07-03 22:32:09 | [Mutex] waiting for: [node_t479ip0204:create_node] 2022-07-03 22:32:09 | [Mutex] received everything. 2022-07-03 22:32:09 | [Mutex] isItemNotified: node_t479ip0204:create_node:success :: true 2022-07-03 22:32:09 | [Mutex] waiting for: [node_t479ip0204:subscribe_node] 2022-07-03 22:32:09 | [Mutex] waiting for: [node_t479ip0204:subscribe_node] 2022-07-03 22:32:09 | [Mutex] received everything. 2022-07-03 22:32:09 | [Mutex] isItemNotified: node_t479ip0204:subscribe_node:success :: true 2022-07-03 22:32:09 | ===== publishing normal message (to online) 2022-07-03 22:32:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-03 22:32:09 | command: <data><node>node_t479ip0204</node><entry><content>content_vfl6az0205</content></entry></data> 2022-07-03 22:32:09 | target: http://localhost:8088 2022-07-03 22:32:09 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-03 22:32:09 | entity: <data><node>node_t479ip0204</node><entry><content>content_vfl6az0205</content></entry></data> 2022-07-03 22:32:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Jul 2022 05:32:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-03 22:32:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e846351e-8eab-4416-9771-7c420fac0dea</value></item-id></result> 2022-07-03 22:32:09 | contains: true 2022-07-03 22:32:09 | [Mutex] received everything. 2022-07-03 22:32:09 | [Mutex] isItemNotified: user_regularn4t3go0203@test-domain.com:message:received:content_vfl6az0205 :: true 2022-07-03 22:32:09 | ===== publishing already old message - expecting message being filtered out (to online) 2022-07-03 22:32:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-03 22:32:09 | command: <data><node>node_t479ip0204</node><expire-at>2022-07-04T05:32:04Z</expire-at><entry><content>content_tc9emx0206</content></entry></data> 2022-07-03 22:32:09 | target: http://localhost:8088 2022-07-03 22:32:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-03 22:32:09 | entity: <data><node>node_t479ip0204</node><expire-at>2022-07-04T05:32:04Z</expire-at><entry><content>content_tc9emx0206</content></entry></data> 2022-07-03 22:32:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Jul 2022 05:32:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-03 22:32:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>59240f54-34c2-46a5-a572-2731693df722</value></item-id></result> 2022-07-03 22:32:09 | contains: true 2022-07-03 22:32:09 | [Mutex] waiting for: [user_regularn4t3go0203@test-domain.com:message:received:content_tc9emx0206] 2022-07-03 22:32:24 | [Mutex] timeout. Not received [user_regularn4t3go0203@test-domain.com:message:received:content_tc9emx0206] 2022-07-03 22:32:24 | [Mutex] isItemNotified: user_regularn4t3go0203@test-domain.com:message:received:content_tc9emx0206 :: false 2022-07-03 22:32:24 | ===== publishing normal message (to offline) 2022-07-03 22:32:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-03 22:32:24 | command: <data><node>node_t479ip0204</node><entry><content>content_dsv4f50207</content></entry></data> 2022-07-03 22:32:24 | target: http://localhost:8088 2022-07-03 22:32:24 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-03 22:32:24 | entity: <data><node>node_t479ip0204</node><entry><content>content_dsv4f50207</content></entry></data> 2022-07-03 22:32:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Jul 2022 05:32:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-03 22:32:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>20a8f49e-b195-4eda-b72b-d3931af85f00</value></item-id></result> 2022-07-03 22:32:24 | contains: true 2022-07-03 22:32:29 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-03 22:32:29 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-07-03 22:32:29 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-03 22:32:29 | [Mutex] waiting for: [user_regularn4t3go0203@test-domain.com:message:received:content_dsv4f50207] 2022-07-03 22:32:29 | [Mutex] received everything. 2022-07-03 22:32:29 | [Mutex] isItemNotified: user_regularn4t3go0203@test-domain.com:message:received:content_dsv4f50207 :: true 2022-07-03 22:32:29 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-07-03 22:32:29 | [Mutex] received everything. 2022-07-03 22:32:29 | [Mutex] isItemNotified: node_t479ip0204:subscribe_node:success :: true 2022-07-03 22:32:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-03 22:32:29 | command: <data><node>node_t479ip0204</node><expire-at>2022-07-04T05:32:34Z</expire-at><entry><content>content_j6ei3u0208</content></entry></data> 2022-07-03 22:32:29 | target: http://localhost:8088 2022-07-03 22:32:29 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-03 22:32:29 | entity: <data><node>node_t479ip0204</node><expire-at>2022-07-04T05:32:34Z</expire-at><entry><content>content_j6ei3u0208</content></entry></data> 2022-07-03 22:32:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Jul 2022 05:32:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-03 22:32:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>cae1d12f-85d2-41fd-8767-7cb8397f74d9</value></item-id></result> 2022-07-03 22:32:29 | contains: true 2022-07-03 22:32:37 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-03 22:32:37 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-07-03 22:32:37 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-03 22:32:37 | [Mutex] waiting for: [user_regularn4t3go0203@test-domain.com:message:received:content_j6ei3u0208] 2022-07-03 22:32:52 | [Mutex] timeout. Not received [user_regularn4t3go0203@test-domain.com:message:received:content_j6ei3u0208] 2022-07-03 22:32:52 | [Mutex] received everything. 2022-07-03 22:32:52 | [Mutex] isItemNotified: user_regularn4t3go0203@test-domain.com:message:received:content_j6ei3u0208 :: false 2022-07-03 22:32:52 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_j6ei3u0208 :: true |