Test duration : 44.787s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.626s |
2023-06-20 23:01:10 |
2023-06-20 23:01:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-06-20 23:01:10 | ------------------------------------ 2023-06-20 23:01:10 | [Mutex] isItemNotified: node_hbo1bd0208:exists :: false 2023-06-20 23:01:10 | [Mutex] waiting for: [node_hbo1bd0208:create_node] 2023-06-20 23:01:10 | [Mutex] received everything. 2023-06-20 23:01:10 | [Mutex] isItemNotified: node_hbo1bd0208:create_node:success :: true 2023-06-20 23:01:10 | [Mutex] waiting for: [node_hbo1bd0208:subscribe_node] 2023-06-20 23:01:10 | [Mutex] waiting for: [node_hbo1bd0208:subscribe_node] 2023-06-20 23:01:10 | [Mutex] received everything. 2023-06-20 23:01:10 | [Mutex] isItemNotified: node_hbo1bd0208:subscribe_node:success :: true 2023-06-20 23:01:10 | ===== publishing normal message (to online) 2023-06-20 23:01:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-06-20 23:01:10 | command: <data><node>node_hbo1bd0208</node><entry><content>content_4fxepe0209</content></entry></data> 2023-06-20 23:01:10 | target: http://localhost:8088 2023-06-20 23:01:10 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-06-20 23:01:10 | entity: <data><node>node_hbo1bd0208</node><entry><content>content_4fxepe0209</content></entry></data> 2023-06-20 23:01:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 21 Jun 2023 06:01:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-06-20 23:01:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e8fc3f37-7aee-43df-8d1c-e35a48d8047c</value></item-id></result> 2023-06-20 23:01:10 | contains: true 2023-06-20 23:01:10 | [Mutex] received everything. 2023-06-20 23:01:10 | [Mutex] isItemNotified: user_regular276gtk0207@test-domain.com:message:received:content_4fxepe0209 :: true 2023-06-20 23:01:10 | ===== publishing already old message - expecting message being filtered out (to online) 2023-06-20 23:01:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-06-20 23:01:10 | command: <data><node>node_hbo1bd0208</node><expire-at>2023-06-21T06:01:05Z</expire-at><entry><content>content_gmo5sb0210</content></entry></data> 2023-06-20 23:01:10 | target: http://localhost:8088 2023-06-20 23:01:10 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-06-20 23:01:10 | entity: <data><node>node_hbo1bd0208</node><expire-at>2023-06-21T06:01:05Z</expire-at><entry><content>content_gmo5sb0210</content></entry></data> 2023-06-20 23:01:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 21 Jun 2023 06:01:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-06-20 23:01:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d22371e3-48e1-4891-9c9e-4b546e1bd6f8</value></item-id></result> 2023-06-20 23:01:10 | contains: true 2023-06-20 23:01:10 | [Mutex] waiting for: [user_regular276gtk0207@test-domain.com:message:received:content_gmo5sb0210] 2023-06-20 23:01:25 | [Mutex] timeout. Not received [user_regular276gtk0207@test-domain.com:message:received:content_gmo5sb0210] 2023-06-20 23:01:25 | [Mutex] isItemNotified: user_regular276gtk0207@test-domain.com:message:received:content_gmo5sb0210 :: false 2023-06-20 23:01:25 | ===== publishing normal message (to offline) 2023-06-20 23:01:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-06-20 23:01:25 | command: <data><node>node_hbo1bd0208</node><entry><content>content_kr40030211</content></entry></data> 2023-06-20 23:01:25 | target: http://localhost:8088 2023-06-20 23:01:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-06-20 23:01:25 | entity: <data><node>node_hbo1bd0208</node><entry><content>content_kr40030211</content></entry></data> 2023-06-20 23:01:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 21 Jun 2023 06:01:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-06-20 23:01:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b103000a-89c5-43e6-82e1-9b70e8022ddd</value></item-id></result> 2023-06-20 23:01:25 | contains: true 2023-06-20 23:01:30 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-06-20 23:01:30 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-06-20 23:01:30 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-06-20 23:01:30 | [Mutex] waiting for: [user_regular276gtk0207@test-domain.com:message:received:content_kr40030211] 2023-06-20 23:01:30 | [Mutex] waiting for: [user_regular276gtk0207@test-domain.com:message:received:content_kr40030211] 2023-06-20 23:01:30 | [Mutex] received everything. 2023-06-20 23:01:30 | [Mutex] isItemNotified: user_regular276gtk0207@test-domain.com:message:received:content_kr40030211 :: true 2023-06-20 23:01:30 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-06-20 23:01:30 | [Mutex] received everything. 2023-06-20 23:01:30 | [Mutex] isItemNotified: node_hbo1bd0208:subscribe_node:success :: true 2023-06-20 23:01:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-06-20 23:01:30 | command: <data><node>node_hbo1bd0208</node><expire-at>2023-06-21T06:01:35Z</expire-at><entry><content>content_ro0xzl0212</content></entry></data> 2023-06-20 23:01:30 | target: http://localhost:8088 2023-06-20 23:01:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-06-20 23:01:30 | entity: <data><node>node_hbo1bd0208</node><expire-at>2023-06-21T06:01:35Z</expire-at><entry><content>content_ro0xzl0212</content></entry></data> 2023-06-20 23:01:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 21 Jun 2023 06:01:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-06-20 23:01:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1eaa0a7d-d5d6-4e5d-b74a-bb8b258e6bf5</value></item-id></result> 2023-06-20 23:01:30 | contains: true 2023-06-20 23:01:38 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-06-20 23:01:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-06-20 23:01:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-06-20 23:01:38 | [Mutex] waiting for: [user_regular276gtk0207@test-domain.com:message:received:content_ro0xzl0212] 2023-06-20 23:01:38 | [Mutex] waiting for: [user_regular276gtk0207@test-domain.com:message:received:content_ro0xzl0212] 2023-06-20 23:01:38 | [Mutex] waiting for: [user_regular276gtk0207@test-domain.com:message:received:content_ro0xzl0212] 2023-06-20 23:01:53 | [Mutex] timeout. Not received [user_regular276gtk0207@test-domain.com:message:received:content_ro0xzl0212] 2023-06-20 23:01:53 | [Mutex] received everything. 2023-06-20 23:01:53 | [Mutex] isItemNotified: user_regular276gtk0207@test-domain.com:message:received:content_ro0xzl0212 :: false 2023-06-20 23:01:53 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ro0xzl0212 :: true |