Test duration : 44.556s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.573s |
2022-09-23 06:16:41 |
2022-09-23 06:16:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-09-23 06:16:41 | ------------------------------------ 2022-09-23 06:16:41 | [Mutex] isItemNotified: node_tp71xi0204:exists :: false 2022-09-23 06:16:41 | [Mutex] waiting for: [node_tp71xi0204:create_node] 2022-09-23 06:16:41 | [Mutex] received everything. 2022-09-23 06:16:41 | [Mutex] isItemNotified: node_tp71xi0204:create_node:success :: true 2022-09-23 06:16:41 | [Mutex] waiting for: [node_tp71xi0204:subscribe_node] 2022-09-23 06:16:41 | [Mutex] received everything. 2022-09-23 06:16:41 | [Mutex] isItemNotified: node_tp71xi0204:subscribe_node:success :: true 2022-09-23 06:16:41 | ===== publishing normal message (to online) 2022-09-23 06:16:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-23 06:16:41 | command: <data><node>node_tp71xi0204</node><entry><content>content_6wcppf0205</content></entry></data> 2022-09-23 06:16:41 | target: http://localhost:8088 2022-09-23 06:16:41 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-09-23 06:16:41 | entity: <data><node>node_tp71xi0204</node><entry><content>content_6wcppf0205</content></entry></data> 2022-09-23 06:16:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Sep 2022 13:16:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-23 06:16:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2bf8607c-9888-422b-aa0d-3226a29c90e8</value></item-id></result> 2022-09-23 06:16:41 | contains: true 2022-09-23 06:16:41 | [Mutex] received everything. 2022-09-23 06:16:41 | [Mutex] isItemNotified: user_regularody7ky0203@test-domain.com:message:received:content_6wcppf0205 :: true 2022-09-23 06:16:41 | ===== publishing already old message - expecting message being filtered out (to online) 2022-09-23 06:16:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-23 06:16:41 | command: <data><node>node_tp71xi0204</node><expire-at>2022-09-23T13:16:36Z</expire-at><entry><content>content_flr9wd0206</content></entry></data> 2022-09-23 06:16:41 | target: http://localhost:8088 2022-09-23 06:16:41 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-09-23 06:16:41 | entity: <data><node>node_tp71xi0204</node><expire-at>2022-09-23T13:16:36Z</expire-at><entry><content>content_flr9wd0206</content></entry></data> 2022-09-23 06:16:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Sep 2022 13:16:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-23 06:16:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6bd3f3c0-5d62-44a5-9187-f8769606196b</value></item-id></result> 2022-09-23 06:16:41 | contains: true 2022-09-23 06:16:41 | [Mutex] waiting for: [user_regularody7ky0203@test-domain.com:message:received:content_flr9wd0206] 2022-09-23 06:16:56 | [Mutex] timeout. Not received [user_regularody7ky0203@test-domain.com:message:received:content_flr9wd0206] 2022-09-23 06:16:56 | [Mutex] isItemNotified: user_regularody7ky0203@test-domain.com:message:received:content_flr9wd0206 :: false 2022-09-23 06:16:56 | ===== publishing normal message (to offline) 2022-09-23 06:16:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-23 06:16:56 | command: <data><node>node_tp71xi0204</node><entry><content>content_v4729c0207</content></entry></data> 2022-09-23 06:16:56 | target: http://localhost:8088 2022-09-23 06:16:56 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-09-23 06:16:56 | entity: <data><node>node_tp71xi0204</node><entry><content>content_v4729c0207</content></entry></data> 2022-09-23 06:16:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Sep 2022 13:16:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-23 06:16:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1163d902-6bde-47ff-a560-58620b8fe6ac</value></item-id></result> 2022-09-23 06:16:56 | contains: true 2022-09-23 06:17:01 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-09-23 06:17:01 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-09-23 06:17:01 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-09-23 06:17:01 | [Mutex] received everything. 2022-09-23 06:17:01 | [Mutex] isItemNotified: user_regularody7ky0203@test-domain.com:message:received:content_v4729c0207 :: true 2022-09-23 06:17:01 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-09-23 06:17:01 | [Mutex] received everything. 2022-09-23 06:17:01 | [Mutex] isItemNotified: node_tp71xi0204:subscribe_node:success :: true 2022-09-23 06:17:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-23 06:17:01 | command: <data><node>node_tp71xi0204</node><expire-at>2022-09-23T13:17:06Z</expire-at><entry><content>content_vfpnrz0208</content></entry></data> 2022-09-23 06:17:01 | target: http://localhost:8088 2022-09-23 06:17:01 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-09-23 06:17:01 | entity: <data><node>node_tp71xi0204</node><expire-at>2022-09-23T13:17:06Z</expire-at><entry><content>content_vfpnrz0208</content></entry></data> 2022-09-23 06:17:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Sep 2022 13:17:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-23 06:17:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>70181dc5-b2e6-45a7-9b54-e060da5a13b8</value></item-id></result> 2022-09-23 06:17:01 | contains: true 2022-09-23 06:17:09 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-09-23 06:17:09 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-09-23 06:17:09 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-09-23 06:17:09 | [Mutex] waiting for: [user_regularody7ky0203@test-domain.com:message:received:content_vfpnrz0208] 2022-09-23 06:17:09 | [Mutex] waiting for: [user_regularody7ky0203@test-domain.com:message:received:content_vfpnrz0208] 2022-09-23 06:17:24 | [Mutex] timeout. Not received [user_regularody7ky0203@test-domain.com:message:received:content_vfpnrz0208] 2022-09-23 06:17:24 | [Mutex] received everything. 2022-09-23 06:17:24 | [Mutex] isItemNotified: user_regularody7ky0203@test-domain.com:message:received:content_vfpnrz0208 :: false 2022-09-23 06:17:24 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_vfpnrz0208 :: true |