Test duration : 44.654s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.598s |
2023-05-04 22:30:23 |
2023-05-04 22:30:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-05-04 22:30:23 | ------------------------------------ 2023-05-04 22:30:23 | [Mutex] isItemNotified: node_mo5pu90208:exists :: false 2023-05-04 22:30:23 | [Mutex] waiting for: [node_mo5pu90208:create_node] 2023-05-04 22:30:23 | [Mutex] received everything. 2023-05-04 22:30:23 | [Mutex] isItemNotified: node_mo5pu90208:create_node:success :: true 2023-05-04 22:30:23 | [Mutex] waiting for: [node_mo5pu90208:subscribe_node] 2023-05-04 22:30:23 | [Mutex] waiting for: [node_mo5pu90208:subscribe_node] 2023-05-04 22:30:23 | [Mutex] received everything. 2023-05-04 22:30:23 | [Mutex] isItemNotified: node_mo5pu90208:subscribe_node:success :: true 2023-05-04 22:30:23 | ===== publishing normal message (to online) 2023-05-04 22:30:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-05-04 22:30:23 | command: <data><node>node_mo5pu90208</node><entry><content>content_hpbllt0209</content></entry></data> 2023-05-04 22:30:23 | target: http://localhost:8088 2023-05-04 22:30:23 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-05-04 22:30:23 | entity: <data><node>node_mo5pu90208</node><entry><content>content_hpbllt0209</content></entry></data> 2023-05-04 22:30:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 May 2023 05:30:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-05-04 22:30:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a8501af9-d6ea-438d-a54c-66d152176c1f</value></item-id></result> 2023-05-04 22:30:23 | contains: true 2023-05-04 22:30:23 | [Mutex] received everything. 2023-05-04 22:30:23 | [Mutex] isItemNotified: user_regulardgxagh0207@test-domain.com:message:received:content_hpbllt0209 :: true 2023-05-04 22:30:23 | ===== publishing already old message - expecting message being filtered out (to online) 2023-05-04 22:30:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-05-04 22:30:23 | command: <data><node>node_mo5pu90208</node><expire-at>2023-05-05T05:30:18Z</expire-at><entry><content>content_xuzzv70210</content></entry></data> 2023-05-04 22:30:23 | target: http://localhost:8088 2023-05-04 22:30:23 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-05-04 22:30:23 | entity: <data><node>node_mo5pu90208</node><expire-at>2023-05-05T05:30:18Z</expire-at><entry><content>content_xuzzv70210</content></entry></data> 2023-05-04 22:30:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 May 2023 05:30:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-05-04 22:30:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>447c3195-f9e5-4dab-aafe-96145d16ded7</value></item-id></result> 2023-05-04 22:30:23 | contains: true 2023-05-04 22:30:23 | [Mutex] waiting for: [user_regulardgxagh0207@test-domain.com:message:received:content_xuzzv70210] 2023-05-04 22:30:38 | [Mutex] timeout. Not received [user_regulardgxagh0207@test-domain.com:message:received:content_xuzzv70210] 2023-05-04 22:30:38 | [Mutex] isItemNotified: user_regulardgxagh0207@test-domain.com:message:received:content_xuzzv70210 :: false 2023-05-04 22:30:38 | ===== publishing normal message (to offline) 2023-05-04 22:30:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-05-04 22:30:38 | command: <data><node>node_mo5pu90208</node><entry><content>content_7c8ter0211</content></entry></data> 2023-05-04 22:30:38 | target: http://localhost:8088 2023-05-04 22:30:38 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-05-04 22:30:38 | entity: <data><node>node_mo5pu90208</node><entry><content>content_7c8ter0211</content></entry></data> 2023-05-04 22:30:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 May 2023 05:30:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-05-04 22:30:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>924b6aec-b8bc-4200-a328-fc381fc4749b</value></item-id></result> 2023-05-04 22:30:38 | contains: true 2023-05-04 22:30:43 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-05-04 22:30:43 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-05-04 22:30:43 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-05-04 22:30:43 | [Mutex] waiting for: [user_regulardgxagh0207@test-domain.com:message:received:content_7c8ter0211] 2023-05-04 22:30:43 | [Mutex] waiting for: [user_regulardgxagh0207@test-domain.com:message:received:content_7c8ter0211] 2023-05-04 22:30:43 | [Mutex] received everything. 2023-05-04 22:30:43 | [Mutex] isItemNotified: user_regulardgxagh0207@test-domain.com:message:received:content_7c8ter0211 :: true 2023-05-04 22:30:43 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-05-04 22:30:43 | [Mutex] received everything. 2023-05-04 22:30:43 | [Mutex] isItemNotified: node_mo5pu90208:subscribe_node:success :: true 2023-05-04 22:30:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-05-04 22:30:43 | command: <data><node>node_mo5pu90208</node><expire-at>2023-05-05T05:30:48Z</expire-at><entry><content>content_podhok0212</content></entry></data> 2023-05-04 22:30:43 | target: http://localhost:8088 2023-05-04 22:30:43 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-05-04 22:30:43 | entity: <data><node>node_mo5pu90208</node><expire-at>2023-05-05T05:30:48Z</expire-at><entry><content>content_podhok0212</content></entry></data> 2023-05-04 22:30:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 May 2023 05:30:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-05-04 22:30:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ac4b3bea-156d-468f-8293-ceb7f979b506</value></item-id></result> 2023-05-04 22:30:43 | contains: true 2023-05-04 22:30:51 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-05-04 22:30:51 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-05-04 22:30:51 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-05-04 22:30:51 | [Mutex] waiting for: [user_regulardgxagh0207@test-domain.com:message:received:content_podhok0212] 2023-05-04 22:31:06 | [Mutex] timeout. Not received [user_regulardgxagh0207@test-domain.com:message:received:content_podhok0212] 2023-05-04 22:31:06 | [Mutex] received everything. 2023-05-04 22:31:06 | [Mutex] isItemNotified: user_regulardgxagh0207@test-domain.com:message:received:content_podhok0212 :: false 2023-05-04 22:31:06 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_podhok0212 :: true |