Test duration : 45.065s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.784s |
2023-06-20 22:45:19 |
2023-06-20 22:45:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-06-20 22:45:19 | ------------------------------------ 2023-06-20 22:45:19 | [Mutex] isItemNotified: node_e4gb940208:exists :: false 2023-06-20 22:45:19 | [Mutex] waiting for: [node_e4gb940208:create_node] 2023-06-20 22:45:19 | [Mutex] received everything. 2023-06-20 22:45:19 | [Mutex] isItemNotified: node_e4gb940208:create_node:success :: true 2023-06-20 22:45:19 | [Mutex] waiting for: [node_e4gb940208:subscribe_node] 2023-06-20 22:45:19 | [Mutex] waiting for: [node_e4gb940208:subscribe_node] 2023-06-20 22:45:19 | [Mutex] received everything. 2023-06-20 22:45:19 | [Mutex] isItemNotified: node_e4gb940208:subscribe_node:success :: true 2023-06-20 22:45:19 | ===== publishing normal message (to online) 2023-06-20 22:45:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-06-20 22:45:19 | command: <data><node>node_e4gb940208</node><entry><content>content_mxxo2d0209</content></entry></data> 2023-06-20 22:45:19 | target: http://localhost:8088 2023-06-20 22:45:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-06-20 22:45:19 | entity: <data><node>node_e4gb940208</node><entry><content>content_mxxo2d0209</content></entry></data> 2023-06-20 22:45:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 21 Jun 2023 05:45:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-06-20 22:45:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>da87e5ce-8b27-4c8f-854d-f15768c5a9f8</value></item-id></result> 2023-06-20 22:45:19 | contains: true 2023-06-20 22:45:19 | [Mutex] waiting for: [user_regularjsdahe0207@test-domain.com:message:received:content_mxxo2d0209] 2023-06-20 22:45:19 | [Mutex] received everything. 2023-06-20 22:45:19 | [Mutex] isItemNotified: user_regularjsdahe0207@test-domain.com:message:received:content_mxxo2d0209 :: true 2023-06-20 22:45:19 | ===== publishing already old message - expecting message being filtered out (to online) 2023-06-20 22:45:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-06-20 22:45:19 | command: <data><node>node_e4gb940208</node><expire-at>2023-06-21T05:45:14Z</expire-at><entry><content>content_kpgg210210</content></entry></data> 2023-06-20 22:45:19 | target: http://localhost:8088 2023-06-20 22:45:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-06-20 22:45:19 | entity: <data><node>node_e4gb940208</node><expire-at>2023-06-21T05:45:14Z</expire-at><entry><content>content_kpgg210210</content></entry></data> 2023-06-20 22:45:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 21 Jun 2023 05:45:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-06-20 22:45:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b501d14c-4482-4086-a3fe-4661a56341c5</value></item-id></result> 2023-06-20 22:45:19 | contains: true 2023-06-20 22:45:19 | [Mutex] waiting for: [user_regularjsdahe0207@test-domain.com:message:received:content_kpgg210210] 2023-06-20 22:45:34 | [Mutex] timeout. Not received [user_regularjsdahe0207@test-domain.com:message:received:content_kpgg210210] 2023-06-20 22:45:34 | [Mutex] isItemNotified: user_regularjsdahe0207@test-domain.com:message:received:content_kpgg210210 :: false 2023-06-20 22:45:34 | ===== publishing normal message (to offline) 2023-06-20 22:45:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-06-20 22:45:34 | command: <data><node>node_e4gb940208</node><entry><content>content_esq8f70211</content></entry></data> 2023-06-20 22:45:34 | target: http://localhost:8088 2023-06-20 22:45:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-06-20 22:45:34 | entity: <data><node>node_e4gb940208</node><entry><content>content_esq8f70211</content></entry></data> 2023-06-20 22:45:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 21 Jun 2023 05:45:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-06-20 22:45:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c509bf94-0763-4014-8778-6bcd22e241d1</value></item-id></result> 2023-06-20 22:45:34 | contains: true 2023-06-20 22:45:39 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-06-20 22:45:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-06-20 22:45:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-06-20 22:45:39 | [Mutex] waiting for: [user_regularjsdahe0207@test-domain.com:message:received:content_esq8f70211] 2023-06-20 22:45:39 | [Mutex] waiting for: [user_regularjsdahe0207@test-domain.com:message:received:content_esq8f70211] 2023-06-20 22:45:39 | [Mutex] received everything. 2023-06-20 22:45:39 | [Mutex] isItemNotified: user_regularjsdahe0207@test-domain.com:message:received:content_esq8f70211 :: true 2023-06-20 22:45:39 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-06-20 22:45:39 | [Mutex] received everything. 2023-06-20 22:45:39 | [Mutex] isItemNotified: node_e4gb940208:subscribe_node:success :: true 2023-06-20 22:45:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-06-20 22:45:39 | command: <data><node>node_e4gb940208</node><expire-at>2023-06-21T05:45:44Z</expire-at><entry><content>content_hx39ne0212</content></entry></data> 2023-06-20 22:45:39 | target: http://localhost:8088 2023-06-20 22:45:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-06-20 22:45:39 | entity: <data><node>node_e4gb940208</node><expire-at>2023-06-21T05:45:44Z</expire-at><entry><content>content_hx39ne0212</content></entry></data> 2023-06-20 22:45:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 21 Jun 2023 05:45:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-06-20 22:45:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2392d81e-98d3-4893-a99a-71253da46d59</value></item-id></result> 2023-06-20 22:45:39 | contains: true 2023-06-20 22:45:47 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-06-20 22:45:47 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-06-20 22:45:47 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-06-20 22:45:48 | [Mutex] waiting for: [user_regularjsdahe0207@test-domain.com:message:received:content_hx39ne0212] 2023-06-20 22:45:48 | [Mutex] waiting for: [user_regularjsdahe0207@test-domain.com:message:received:content_hx39ne0212] 2023-06-20 22:45:48 | [Mutex] waiting for: [user_regularjsdahe0207@test-domain.com:message:received:content_hx39ne0212] 2023-06-20 22:46:03 | [Mutex] timeout. Not received [user_regularjsdahe0207@test-domain.com:message:received:content_hx39ne0212] 2023-06-20 22:46:03 | [Mutex] received everything. 2023-06-20 22:46:03 | [Mutex] isItemNotified: user_regularjsdahe0207@test-domain.com:message:received:content_hx39ne0212 :: false 2023-06-20 22:46:03 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_hx39ne0212 :: true |