Test duration: 45.157s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.679s |
2020-06-01 22:33:21 |
2020-06-01 22:33:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-06-01 22:33:21 | ------------------------------------ 2020-06-01 22:33:21 | [Mutex] isItemNotified: node_f4nzrp0206:exists :: false 2020-06-01 22:33:21 | [Mutex] waiting for: [node_f4nzrp0206:create_node] 2020-06-01 22:33:21 | [Mutex] received everything. 2020-06-01 22:33:21 | [Mutex] isItemNotified: node_f4nzrp0206:create_node:success :: true 2020-06-01 22:33:21 | [Mutex] waiting for: [node_f4nzrp0206:subscribe_node] 2020-06-01 22:33:21 | [Mutex] waiting for: [node_f4nzrp0206:subscribe_node] 2020-06-01 22:33:21 | [Mutex] received everything. 2020-06-01 22:33:21 | [Mutex] isItemNotified: node_f4nzrp0206:subscribe_node:success :: true 2020-06-01 22:33:21 | ===== publishing normal message (to online) 2020-06-01 22:33:21 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-06-01 22:33:21 | command: <data><node>node_f4nzrp0206</node><entry><content>content_7fjqxj0207</content></entry></data> 2020-06-01 22:33:21 | target: http://localhost:8088 2020-06-01 22:33:21 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-06-01 22:33:21 | entity: <data><node>node_f4nzrp0206</node><entry><content>content_7fjqxj0207</content></entry></data> 2020-06-01 22:33:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 02 Jun 2020 05:33:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-06-01 22:33:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>be8509ea-ce0a-4016-9073-1e11d0e47382</value></item-id></result> 2020-06-01 22:33:21 | contains: true 2020-06-01 22:33:21 | [Mutex] received everything. 2020-06-01 22:33:21 | [Mutex] isItemNotified: user_regularofyc3l0205@localhost:message:received:content_7fjqxj0207 :: true 2020-06-01 22:33:21 | ===== publishing already old message - expecting message being filtered out (to online) 2020-06-01 22:33:21 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-06-01 22:33:21 | command: <data><node>node_f4nzrp0206</node><expire-at>2020-06-02T05:33:16Z</expire-at><entry><content>content_yrkh5h0208</content></entry></data> 2020-06-01 22:33:21 | target: http://localhost:8088 2020-06-01 22:33:21 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-06-01 22:33:21 | entity: <data><node>node_f4nzrp0206</node><expire-at>2020-06-02T05:33:16Z</expire-at><entry><content>content_yrkh5h0208</content></entry></data> 2020-06-01 22:33:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 02 Jun 2020 05:33:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-06-01 22:33:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9f7bc913-ff37-4c45-9a55-5c480b4963ff</value></item-id></result> 2020-06-01 22:33:21 | contains: true 2020-06-01 22:33:21 | [Mutex] waiting for: [user_regularofyc3l0205@localhost:message:received:content_yrkh5h0208] 2020-06-01 22:33:36 | [Mutex] timeout. Not received [user_regularofyc3l0205@localhost:message:received:content_yrkh5h0208] 2020-06-01 22:33:36 | [Mutex] isItemNotified: user_regularofyc3l0205@localhost:message:received:content_yrkh5h0208 :: false 2020-06-01 22:33:36 | ===== publishing normal message (to offline) 2020-06-01 22:33:36 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-06-01 22:33:36 | command: <data><node>node_f4nzrp0206</node><entry><content>content_o9gt7l0209</content></entry></data> 2020-06-01 22:33:36 | target: http://localhost:8088 2020-06-01 22:33:36 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-06-01 22:33:36 | entity: <data><node>node_f4nzrp0206</node><entry><content>content_o9gt7l0209</content></entry></data> 2020-06-01 22:33:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 02 Jun 2020 05:33:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-06-01 22:33:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a3655053-6271-445d-b353-c7aaa56bfb76</value></item-id></result> 2020-06-01 22:33:36 | contains: true 2020-06-01 22:33:41 | [Mutex] waiting for: [user_regularofyc3l0205@localhost:message:received:content_o9gt7l0209] 2020-06-01 22:33:41 | [Mutex] waiting for: [user_regularofyc3l0205@localhost:message:received:content_o9gt7l0209] 2020-06-01 22:33:41 | [Mutex] received everything. 2020-06-01 22:33:41 | [Mutex] isItemNotified: user_regularofyc3l0205@localhost:message:received:content_o9gt7l0209 :: true 2020-06-01 22:33:41 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-06-01 22:33:41 | [Mutex] received everything. 2020-06-01 22:33:41 | [Mutex] isItemNotified: node_f4nzrp0206:subscribe_node:success :: true 2020-06-01 22:33:42 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-06-01 22:33:42 | command: <data><node>node_f4nzrp0206</node><expire-at>2020-06-02T05:33:47Z</expire-at><entry><content>content_117mtz0210</content></entry></data> 2020-06-01 22:33:42 | target: http://localhost:8088 2020-06-01 22:33:42 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-06-01 22:33:42 | entity: <data><node>node_f4nzrp0206</node><expire-at>2020-06-02T05:33:47Z</expire-at><entry><content>content_117mtz0210</content></entry></data> 2020-06-01 22:33:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 02 Jun 2020 05:33:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-06-01 22:33:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>14fc0d54-c9b8-4bde-bcd9-7f3cfcd0d07d</value></item-id></result> 2020-06-01 22:33:42 | contains: true 2020-06-01 22:33:50 | [Mutex] waiting for: [user_regularofyc3l0205@localhost:message:received:content_117mtz0210] 2020-06-01 22:33:50 | [Mutex] waiting for: [user_regularofyc3l0205@localhost:message:received:content_117mtz0210] 2020-06-01 22:34:05 | [Mutex] timeout. Not received [user_regularofyc3l0205@localhost:message:received:content_117mtz0210] 2020-06-01 22:34:05 | [Mutex] received everything. 2020-06-01 22:34:05 | [Mutex] isItemNotified: user_regularofyc3l0205@localhost:message:received:content_117mtz0210 :: false 2020-06-01 22:34:05 | [Mutex] isItemNotified: admin@localhost:message:received:content_117mtz0210 :: true |