Test duration : 44.760s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.689s |
2022-09-26 22:35:24 |
2022-09-26 22:35:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-09-26 22:35:24 | ------------------------------------ 2022-09-26 22:35:24 | [Mutex] isItemNotified: node_bt193n0204:exists :: false 2022-09-26 22:35:24 | [Mutex] waiting for: [node_bt193n0204:create_node] 2022-09-26 22:35:24 | [Mutex] received everything. 2022-09-26 22:35:24 | [Mutex] isItemNotified: node_bt193n0204:create_node:success :: true 2022-09-26 22:35:24 | [Mutex] waiting for: [node_bt193n0204:subscribe_node] 2022-09-26 22:35:24 | [Mutex] waiting for: [node_bt193n0204:subscribe_node] 2022-09-26 22:35:24 | [Mutex] received everything. 2022-09-26 22:35:24 | [Mutex] isItemNotified: node_bt193n0204:subscribe_node:success :: true 2022-09-26 22:35:24 | ===== publishing normal message (to online) 2022-09-26 22:35:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-26 22:35:24 | command: <data><node>node_bt193n0204</node><entry><content>content_fpq43i0205</content></entry></data> 2022-09-26 22:35:24 | target: http://localhost:8088 2022-09-26 22:35:24 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-09-26 22:35:24 | entity: <data><node>node_bt193n0204</node><entry><content>content_fpq43i0205</content></entry></data> 2022-09-26 22:35:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 27 Sep 2022 05:35:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-26 22:35:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4a126d2b-2e26-4e72-91ba-a8700cd4131c</value></item-id></result> 2022-09-26 22:35:24 | contains: true 2022-09-26 22:35:24 | [Mutex] received everything. 2022-09-26 22:35:24 | [Mutex] isItemNotified: user_regular9bzosr0203@test-domain.com:message:received:content_fpq43i0205 :: true 2022-09-26 22:35:24 | ===== publishing already old message - expecting message being filtered out (to online) 2022-09-26 22:35:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-26 22:35:24 | command: <data><node>node_bt193n0204</node><expire-at>2022-09-27T05:35:19Z</expire-at><entry><content>content_4sktdo0206</content></entry></data> 2022-09-26 22:35:24 | target: http://localhost:8088 2022-09-26 22:35:24 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-09-26 22:35:24 | entity: <data><node>node_bt193n0204</node><expire-at>2022-09-27T05:35:19Z</expire-at><entry><content>content_4sktdo0206</content></entry></data> 2022-09-26 22:35:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 27 Sep 2022 05:35:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-26 22:35:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b54c2062-d32f-401e-b35f-90806f06651a</value></item-id></result> 2022-09-26 22:35:24 | contains: true 2022-09-26 22:35:24 | [Mutex] waiting for: [user_regular9bzosr0203@test-domain.com:message:received:content_4sktdo0206] 2022-09-26 22:35:39 | [Mutex] timeout. Not received [user_regular9bzosr0203@test-domain.com:message:received:content_4sktdo0206] 2022-09-26 22:35:39 | [Mutex] isItemNotified: user_regular9bzosr0203@test-domain.com:message:received:content_4sktdo0206 :: false 2022-09-26 22:35:39 | ===== publishing normal message (to offline) 2022-09-26 22:35:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-26 22:35:39 | command: <data><node>node_bt193n0204</node><entry><content>content_5e0lfm0207</content></entry></data> 2022-09-26 22:35:39 | target: http://localhost:8088 2022-09-26 22:35:39 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-09-26 22:35:39 | entity: <data><node>node_bt193n0204</node><entry><content>content_5e0lfm0207</content></entry></data> 2022-09-26 22:35:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 27 Sep 2022 05:35:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-26 22:35:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>88cd87a8-7153-49ac-be89-6efdf96d6499</value></item-id></result> 2022-09-26 22:35:39 | contains: true 2022-09-26 22:35:44 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-09-26 22:35:44 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-09-26 22:35:44 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-09-26 22:35:44 | [Mutex] waiting for: [user_regular9bzosr0203@test-domain.com:message:received:content_5e0lfm0207] 2022-09-26 22:35:44 | [Mutex] waiting for: [user_regular9bzosr0203@test-domain.com:message:received:content_5e0lfm0207] 2022-09-26 22:35:44 | [Mutex] received everything. 2022-09-26 22:35:44 | [Mutex] isItemNotified: user_regular9bzosr0203@test-domain.com:message:received:content_5e0lfm0207 :: true 2022-09-26 22:35:44 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-09-26 22:35:44 | [Mutex] received everything. 2022-09-26 22:35:44 | [Mutex] isItemNotified: node_bt193n0204:subscribe_node:success :: true 2022-09-26 22:35:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-26 22:35:44 | command: <data><node>node_bt193n0204</node><expire-at>2022-09-27T05:35:49Z</expire-at><entry><content>content_y15ab10208</content></entry></data> 2022-09-26 22:35:44 | target: http://localhost:8088 2022-09-26 22:35:44 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-09-26 22:35:44 | entity: <data><node>node_bt193n0204</node><expire-at>2022-09-27T05:35:49Z</expire-at><entry><content>content_y15ab10208</content></entry></data> 2022-09-26 22:35:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 27 Sep 2022 05:35:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-26 22:35:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>00392db0-cfc1-462b-b4fc-ccb3742a919b</value></item-id></result> 2022-09-26 22:35:44 | contains: true 2022-09-26 22:35:52 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-09-26 22:35:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-09-26 22:35:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-09-26 22:35:53 | [Mutex] waiting for: [user_regular9bzosr0203@test-domain.com:message:received:content_y15ab10208] 2022-09-26 22:36:08 | [Mutex] timeout. Not received [user_regular9bzosr0203@test-domain.com:message:received:content_y15ab10208] 2022-09-26 22:36:08 | [Mutex] received everything. 2022-09-26 22:36:08 | [Mutex] isItemNotified: user_regular9bzosr0203@test-domain.com:message:received:content_y15ab10208 :: false 2022-09-26 22:36:08 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_y15ab10208 :: true |