Test duration : 44.556s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.641s |
2022-11-14 21:33:39 |
2022-11-14 21:33:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-11-14 21:33:39 | ------------------------------------ 2022-11-14 21:33:39 | [Mutex] isItemNotified: node_agvj7t0204:exists :: false 2022-11-14 21:33:39 | [Mutex] waiting for: [node_agvj7t0204:create_node] 2022-11-14 21:33:39 | [Mutex] waiting for: [node_agvj7t0204:create_node] 2022-11-14 21:33:39 | [Mutex] received everything. 2022-11-14 21:33:39 | [Mutex] isItemNotified: node_agvj7t0204:create_node:success :: true 2022-11-14 21:33:39 | [Mutex] waiting for: [node_agvj7t0204:subscribe_node] 2022-11-14 21:33:39 | [Mutex] waiting for: [node_agvj7t0204:subscribe_node] 2022-11-14 21:33:39 | [Mutex] received everything. 2022-11-14 21:33:39 | [Mutex] isItemNotified: node_agvj7t0204:subscribe_node:success :: true 2022-11-14 21:33:39 | ===== publishing normal message (to online) 2022-11-14 21:33:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-11-14 21:33:39 | command: <data><node>node_agvj7t0204</node><entry><content>content_fuu1ln0205</content></entry></data> 2022-11-14 21:33:39 | target: http://localhost:8088 2022-11-14 21:33:39 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-11-14 21:33:39 | entity: <data><node>node_agvj7t0204</node><entry><content>content_fuu1ln0205</content></entry></data> 2022-11-14 21:33:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Nov 2022 05:33:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-11-14 21:33:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f1aa88c8-a044-4459-9d3c-38c28a52af5d</value></item-id></result> 2022-11-14 21:33:39 | contains: true 2022-11-14 21:33:39 | [Mutex] received everything. 2022-11-14 21:33:39 | [Mutex] isItemNotified: user_regularhqp1o60203@test-domain.com:message:received:content_fuu1ln0205 :: true 2022-11-14 21:33:39 | ===== publishing already old message - expecting message being filtered out (to online) 2022-11-14 21:33:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-11-14 21:33:39 | command: <data><node>node_agvj7t0204</node><expire-at>2022-11-15T05:33:34Z</expire-at><entry><content>content_sdf6it0206</content></entry></data> 2022-11-14 21:33:39 | target: http://localhost:8088 2022-11-14 21:33:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-11-14 21:33:39 | entity: <data><node>node_agvj7t0204</node><expire-at>2022-11-15T05:33:34Z</expire-at><entry><content>content_sdf6it0206</content></entry></data> 2022-11-14 21:33:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Nov 2022 05:33:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-11-14 21:33:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b07d76ed-f5ed-4ea4-b108-17447449a145</value></item-id></result> 2022-11-14 21:33:39 | contains: true 2022-11-14 21:33:39 | [Mutex] waiting for: [user_regularhqp1o60203@test-domain.com:message:received:content_sdf6it0206] 2022-11-14 21:33:54 | [Mutex] timeout. Not received [user_regularhqp1o60203@test-domain.com:message:received:content_sdf6it0206] 2022-11-14 21:33:54 | [Mutex] isItemNotified: user_regularhqp1o60203@test-domain.com:message:received:content_sdf6it0206 :: false 2022-11-14 21:33:54 | ===== publishing normal message (to offline) 2022-11-14 21:33:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-11-14 21:33:54 | command: <data><node>node_agvj7t0204</node><entry><content>content_xzzo3l0207</content></entry></data> 2022-11-14 21:33:54 | target: http://localhost:8088 2022-11-14 21:33:54 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-11-14 21:33:54 | entity: <data><node>node_agvj7t0204</node><entry><content>content_xzzo3l0207</content></entry></data> 2022-11-14 21:33:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Nov 2022 05:33:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-11-14 21:33:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8b3c38ee-2c96-4a49-a8d2-4d2e213286c6</value></item-id></result> 2022-11-14 21:33:54 | contains: true 2022-11-14 21:33:59 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-11-14 21:33:59 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-11-14 21:33:59 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-11-14 21:33:59 | [Mutex] waiting for: [user_regularhqp1o60203@test-domain.com:message:received:content_xzzo3l0207] 2022-11-14 21:33:59 | [Mutex] waiting for: [user_regularhqp1o60203@test-domain.com:message:received:content_xzzo3l0207] 2022-11-14 21:33:59 | [Mutex] received everything. 2022-11-14 21:33:59 | [Mutex] isItemNotified: user_regularhqp1o60203@test-domain.com:message:received:content_xzzo3l0207 :: true 2022-11-14 21:33:59 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-11-14 21:33:59 | [Mutex] received everything. 2022-11-14 21:33:59 | [Mutex] isItemNotified: node_agvj7t0204:subscribe_node:success :: true 2022-11-14 21:33:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-11-14 21:33:59 | command: <data><node>node_agvj7t0204</node><expire-at>2022-11-15T05:34:04Z</expire-at><entry><content>content_w2nc6c0208</content></entry></data> 2022-11-14 21:33:59 | target: http://localhost:8088 2022-11-14 21:33:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-11-14 21:33:59 | entity: <data><node>node_agvj7t0204</node><expire-at>2022-11-15T05:34:04Z</expire-at><entry><content>content_w2nc6c0208</content></entry></data> 2022-11-14 21:34:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Nov 2022 05:34:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-11-14 21:34:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4cbb024b-32d5-40f9-8697-e119b8311a26</value></item-id></result> 2022-11-14 21:34:00 | contains: true 2022-11-14 21:34:08 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-11-14 21:34:08 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-11-14 21:34:08 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-11-14 21:34:08 | [Mutex] waiting for: [user_regularhqp1o60203@test-domain.com:message:received:content_w2nc6c0208] 2022-11-14 21:34:23 | [Mutex] timeout. Not received [user_regularhqp1o60203@test-domain.com:message:received:content_w2nc6c0208] 2022-11-14 21:34:23 | [Mutex] received everything. 2022-11-14 21:34:23 | [Mutex] isItemNotified: user_regularhqp1o60203@test-domain.com:message:received:content_w2nc6c0208 :: false 2022-11-14 21:34:23 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_w2nc6c0208 :: true |