Test duration : 44.489s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.560s |
2022-07-24 23:05:00 |
2022-07-24 23:05:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-07-24 23:05:00 | ------------------------------------ 2022-07-24 23:05:00 | [Mutex] isItemNotified: node_aalddd0204:exists :: false 2022-07-24 23:05:00 | [Mutex] waiting for: [node_aalddd0204:create_node] 2022-07-24 23:05:00 | [Mutex] received everything. 2022-07-24 23:05:00 | [Mutex] isItemNotified: node_aalddd0204:create_node:success :: true 2022-07-24 23:05:00 | [Mutex] waiting for: [node_aalddd0204:subscribe_node] 2022-07-24 23:05:00 | [Mutex] received everything. 2022-07-24 23:05:00 | [Mutex] isItemNotified: node_aalddd0204:subscribe_node:success :: true 2022-07-24 23:05:00 | ===== publishing normal message (to online) 2022-07-24 23:05:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-24 23:05:00 | command: <data><node>node_aalddd0204</node><entry><content>content_e2n7qe0205</content></entry></data> 2022-07-24 23:05:00 | target: http://localhost:8088 2022-07-24 23:05:00 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-24 23:05:00 | entity: <data><node>node_aalddd0204</node><entry><content>content_e2n7qe0205</content></entry></data> 2022-07-24 23:05:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 25 Jul 2022 06:05:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-24 23:05:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c036d19e-a426-47a5-919c-2d8161c8f7b5</value></item-id></result> 2022-07-24 23:05:00 | contains: true 2022-07-24 23:05:00 | [Mutex] received everything. 2022-07-24 23:05:00 | [Mutex] isItemNotified: user_regularnv0up50203@test-domain.com:message:received:content_e2n7qe0205 :: true 2022-07-24 23:05:00 | ===== publishing already old message - expecting message being filtered out (to online) 2022-07-24 23:05:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-24 23:05:00 | command: <data><node>node_aalddd0204</node><expire-at>2022-07-25T06:04:55Z</expire-at><entry><content>content_bp4hge0206</content></entry></data> 2022-07-24 23:05:00 | target: http://localhost:8088 2022-07-24 23:05:00 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-24 23:05:00 | entity: <data><node>node_aalddd0204</node><expire-at>2022-07-25T06:04:55Z</expire-at><entry><content>content_bp4hge0206</content></entry></data> 2022-07-24 23:05:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 25 Jul 2022 06:05:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-24 23:05:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>69d77be4-e0e6-4096-a583-b75c33efc3eb</value></item-id></result> 2022-07-24 23:05:00 | contains: true 2022-07-24 23:05:00 | [Mutex] waiting for: [user_regularnv0up50203@test-domain.com:message:received:content_bp4hge0206] 2022-07-24 23:05:15 | [Mutex] timeout. Not received [user_regularnv0up50203@test-domain.com:message:received:content_bp4hge0206] 2022-07-24 23:05:15 | [Mutex] isItemNotified: user_regularnv0up50203@test-domain.com:message:received:content_bp4hge0206 :: false 2022-07-24 23:05:15 | ===== publishing normal message (to offline) 2022-07-24 23:05:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-24 23:05:15 | command: <data><node>node_aalddd0204</node><entry><content>content_hj20eb0207</content></entry></data> 2022-07-24 23:05:15 | target: http://localhost:8088 2022-07-24 23:05:15 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-24 23:05:15 | entity: <data><node>node_aalddd0204</node><entry><content>content_hj20eb0207</content></entry></data> 2022-07-24 23:05:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 25 Jul 2022 06:05:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-24 23:05:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9ac4ebcb-10d5-45d6-87c3-d74b66ffd87e</value></item-id></result> 2022-07-24 23:05:15 | contains: true 2022-07-24 23:05:20 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-24 23:05:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-07-24 23:05:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-24 23:05:20 | [Mutex] waiting for: [user_regularnv0up50203@test-domain.com:message:received:content_hj20eb0207] 2022-07-24 23:05:20 | [Mutex] received everything. 2022-07-24 23:05:20 | [Mutex] isItemNotified: user_regularnv0up50203@test-domain.com:message:received:content_hj20eb0207 :: true 2022-07-24 23:05:20 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-07-24 23:05:20 | [Mutex] received everything. 2022-07-24 23:05:20 | [Mutex] isItemNotified: node_aalddd0204:subscribe_node:success :: true 2022-07-24 23:05:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-24 23:05:20 | command: <data><node>node_aalddd0204</node><expire-at>2022-07-25T06:05:25Z</expire-at><entry><content>content_gt4v8e0208</content></entry></data> 2022-07-24 23:05:20 | target: http://localhost:8088 2022-07-24 23:05:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-24 23:05:20 | entity: <data><node>node_aalddd0204</node><expire-at>2022-07-25T06:05:25Z</expire-at><entry><content>content_gt4v8e0208</content></entry></data> 2022-07-24 23:05:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 25 Jul 2022 06:05:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-24 23:05:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>df5d340b-f6a9-453e-834f-82af90998896</value></item-id></result> 2022-07-24 23:05:20 | contains: true 2022-07-24 23:05:28 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-24 23:05:28 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-07-24 23:05:28 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-24 23:05:28 | [Mutex] waiting for: [user_regularnv0up50203@test-domain.com:message:received:content_gt4v8e0208] 2022-07-24 23:05:28 | [Mutex] waiting for: [user_regularnv0up50203@test-domain.com:message:received:content_gt4v8e0208] 2022-07-24 23:05:28 | [Mutex] waiting for: [user_regularnv0up50203@test-domain.com:message:received:content_gt4v8e0208] 2022-07-24 23:05:43 | [Mutex] timeout. Not received [user_regularnv0up50203@test-domain.com:message:received:content_gt4v8e0208] 2022-07-24 23:05:43 | [Mutex] received everything. 2022-07-24 23:05:43 | [Mutex] isItemNotified: user_regularnv0up50203@test-domain.com:message:received:content_gt4v8e0208 :: false 2022-07-24 23:05:43 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_gt4v8e0208 :: true |