Test duration : 44.650s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.683s |
2022-05-22 22:39:20 |
2022-05-22 22:39:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-05-22 22:39:20 | ------------------------------------ 2022-05-22 22:39:20 | [Mutex] isItemNotified: node_azvcqb0204:exists :: false 2022-05-22 22:39:20 | [Mutex] waiting for: [node_azvcqb0204:create_node] 2022-05-22 22:39:20 | [Mutex] received everything. 2022-05-22 22:39:20 | [Mutex] isItemNotified: node_azvcqb0204:create_node:success :: true 2022-05-22 22:39:20 | [Mutex] waiting for: [node_azvcqb0204:subscribe_node] 2022-05-22 22:39:20 | [Mutex] received everything. 2022-05-22 22:39:20 | [Mutex] isItemNotified: node_azvcqb0204:subscribe_node:success :: true 2022-05-22 22:39:20 | ===== publishing normal message (to online) 2022-05-22 22:39:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-22 22:39:20 | command: <data><node>node_azvcqb0204</node><entry><content>content_tjxod90205</content></entry></data> 2022-05-22 22:39:20 | target: http://localhost:8088 2022-05-22 22:39:20 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-05-22 22:39:20 | entity: <data><node>node_azvcqb0204</node><entry><content>content_tjxod90205</content></entry></data> 2022-05-22 22:39:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 23 May 2022 05:39:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-22 22:39:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>878835db-fecb-4156-a07f-30b6aa9bd38a</value></item-id></result> 2022-05-22 22:39:20 | contains: true 2022-05-22 22:39:20 | [Mutex] received everything. 2022-05-22 22:39:20 | [Mutex] isItemNotified: user_regular7j4jji0203@test-domain.com:message:received:content_tjxod90205 :: true 2022-05-22 22:39:20 | ===== publishing already old message - expecting message being filtered out (to online) 2022-05-22 22:39:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-22 22:39:20 | command: <data><node>node_azvcqb0204</node><expire-at>2022-05-23T05:39:15Z</expire-at><entry><content>content_330ta30206</content></entry></data> 2022-05-22 22:39:20 | target: http://localhost:8088 2022-05-22 22:39:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-05-22 22:39:20 | entity: <data><node>node_azvcqb0204</node><expire-at>2022-05-23T05:39:15Z</expire-at><entry><content>content_330ta30206</content></entry></data> 2022-05-22 22:39:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 23 May 2022 05:39:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-22 22:39:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b6728bbc-3e75-4efe-82ae-51b0bf69c7bd</value></item-id></result> 2022-05-22 22:39:20 | contains: true 2022-05-22 22:39:20 | [Mutex] waiting for: [user_regular7j4jji0203@test-domain.com:message:received:content_330ta30206] 2022-05-22 22:39:35 | [Mutex] timeout. Not received [user_regular7j4jji0203@test-domain.com:message:received:content_330ta30206] 2022-05-22 22:39:35 | [Mutex] isItemNotified: user_regular7j4jji0203@test-domain.com:message:received:content_330ta30206 :: false 2022-05-22 22:39:35 | ===== publishing normal message (to offline) 2022-05-22 22:39:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-22 22:39:35 | command: <data><node>node_azvcqb0204</node><entry><content>content_94hb900207</content></entry></data> 2022-05-22 22:39:35 | target: http://localhost:8088 2022-05-22 22:39:35 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-05-22 22:39:35 | entity: <data><node>node_azvcqb0204</node><entry><content>content_94hb900207</content></entry></data> 2022-05-22 22:39:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 23 May 2022 05:39:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-22 22:39:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e501edab-1865-44f8-854a-667009f7f719</value></item-id></result> 2022-05-22 22:39:35 | contains: true 2022-05-22 22:39:40 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-05-22 22:39:40 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-05-22 22:39:40 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-05-22 22:39:41 | [Mutex] waiting for: [user_regular7j4jji0203@test-domain.com:message:received:content_94hb900207] 2022-05-22 22:39:41 | [Mutex] received everything. 2022-05-22 22:39:41 | [Mutex] isItemNotified: user_regular7j4jji0203@test-domain.com:message:received:content_94hb900207 :: true 2022-05-22 22:39:41 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-05-22 22:39:41 | [Mutex] received everything. 2022-05-22 22:39:41 | [Mutex] isItemNotified: node_azvcqb0204:subscribe_node:success :: true 2022-05-22 22:39:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-22 22:39:41 | command: <data><node>node_azvcqb0204</node><expire-at>2022-05-23T05:39:46Z</expire-at><entry><content>content_f6j2wr0208</content></entry></data> 2022-05-22 22:39:41 | target: http://localhost:8088 2022-05-22 22:39:41 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-05-22 22:39:41 | entity: <data><node>node_azvcqb0204</node><expire-at>2022-05-23T05:39:46Z</expire-at><entry><content>content_f6j2wr0208</content></entry></data> 2022-05-22 22:39:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 23 May 2022 05:39:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-22 22:39:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a6077e0b-8558-4962-b258-05b32dc92ebb</value></item-id></result> 2022-05-22 22:39:41 | contains: true 2022-05-22 22:39:49 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-05-22 22:39:49 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-05-22 22:39:49 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-05-22 22:39:49 | [Mutex] waiting for: [user_regular7j4jji0203@test-domain.com:message:received:content_f6j2wr0208] 2022-05-22 22:39:49 | [Mutex] waiting for: [user_regular7j4jji0203@test-domain.com:message:received:content_f6j2wr0208] 2022-05-22 22:40:04 | [Mutex] timeout. Not received [user_regular7j4jji0203@test-domain.com:message:received:content_f6j2wr0208] 2022-05-22 22:40:04 | [Mutex] received everything. 2022-05-22 22:40:04 | [Mutex] isItemNotified: user_regular7j4jji0203@test-domain.com:message:received:content_f6j2wr0208 :: false 2022-05-22 22:40:04 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_f6j2wr0208 :: true |