Test duration: 45.077s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.664s |
2020-02-09 18:46:41 |
2020-02-09 18:46:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-02-09 18:46:41 | ------------------------------------ 2020-02-09 18:46:41 | [Mutex] isItemNotified: node_hmaq9o0205:exists :: false 2020-02-09 18:46:41 | [Mutex] waiting for: [node_hmaq9o0205:create_node] 2020-02-09 18:46:41 | [Mutex] received everything. 2020-02-09 18:46:41 | [Mutex] isItemNotified: node_hmaq9o0205:create_node:success :: true 2020-02-09 18:46:41 | [Mutex] waiting for: [node_hmaq9o0205:subscribe_node] 2020-02-09 18:46:41 | [Mutex] received everything. 2020-02-09 18:46:41 | [Mutex] isItemNotified: node_hmaq9o0205:subscribe_node:success :: true 2020-02-09 18:46:41 | ===== publishing normal message (to online) 2020-02-09 18:46:41 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-02-09 18:46:41 | command: <data><node>node_hmaq9o0205</node><entry><content>content_oe6etw0206</content></entry></data> 2020-02-09 18:46:41 | target: http://localhost:8088 2020-02-09 18:46:41 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-02-09 18:46:41 | entity: <data><node>node_hmaq9o0205</node><entry><content>content_oe6etw0206</content></entry></data> 2020-02-09 18:46:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Feb 2020 02:46:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-02-09 18:46:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9ea66d8b-327b-41e1-a063-e3ec167b70b8</value></item-id></result> 2020-02-09 18:46:41 | contains: true 2020-02-09 18:46:41 | [Mutex] received everything. 2020-02-09 18:46:41 | [Mutex] isItemNotified: user_regularyduu9v0204@localhost:message:received:content_oe6etw0206 :: true 2020-02-09 18:46:41 | ===== publishing already old message - expecting message being filtered out (to online) 2020-02-09 18:46:41 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-02-09 18:46:41 | command: <data><node>node_hmaq9o0205</node><expire-at>2020-02-10T02:46:36Z</expire-at><entry><content>content_l512t0207</content></entry></data> 2020-02-09 18:46:41 | target: http://localhost:8088 2020-02-09 18:46:41 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2020-02-09 18:46:41 | entity: <data><node>node_hmaq9o0205</node><expire-at>2020-02-10T02:46:36Z</expire-at><entry><content>content_l512t0207</content></entry></data> 2020-02-09 18:46:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Feb 2020 02:46:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-02-09 18:46:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8b141acc-983f-4214-ac87-ceb071cb960d</value></item-id></result> 2020-02-09 18:46:41 | contains: true 2020-02-09 18:46:41 | [Mutex] waiting for: [user_regularyduu9v0204@localhost:message:received:content_l512t0207] 2020-02-09 18:46:56 | [Mutex] timeout. Not received [user_regularyduu9v0204@localhost:message:received:content_l512t0207] 2020-02-09 18:46:56 | [Mutex] isItemNotified: user_regularyduu9v0204@localhost:message:received:content_l512t0207 :: false 2020-02-09 18:46:56 | ===== publishing normal message (to offline) 2020-02-09 18:46:56 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-02-09 18:46:56 | command: <data><node>node_hmaq9o0205</node><entry><content>content_9y4yez0208</content></entry></data> 2020-02-09 18:46:56 | target: http://localhost:8088 2020-02-09 18:46:56 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-02-09 18:46:56 | entity: <data><node>node_hmaq9o0205</node><entry><content>content_9y4yez0208</content></entry></data> 2020-02-09 18:46:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Feb 2020 02:46:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-02-09 18:46:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4c4f3e81-284d-45da-8b1b-2b65bf9bfbac</value></item-id></result> 2020-02-09 18:46:56 | contains: true 2020-02-09 18:47:02 | [Mutex] waiting for: [user_regularyduu9v0204@localhost:message:received:content_9y4yez0208] 2020-02-09 18:47:02 | [Mutex] waiting for: [user_regularyduu9v0204@localhost:message:received:content_9y4yez0208] 2020-02-09 18:47:02 | [Mutex] received everything. 2020-02-09 18:47:02 | [Mutex] isItemNotified: user_regularyduu9v0204@localhost:message:received:content_9y4yez0208 :: true 2020-02-09 18:47:02 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-02-09 18:47:02 | [Mutex] received everything. 2020-02-09 18:47:02 | [Mutex] isItemNotified: node_hmaq9o0205:subscribe_node:success :: true 2020-02-09 18:47:02 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-02-09 18:47:02 | command: <data><node>node_hmaq9o0205</node><expire-at>2020-02-10T02:47:07Z</expire-at><entry><content>content_9e7oro0209</content></entry></data> 2020-02-09 18:47:02 | target: http://localhost:8088 2020-02-09 18:47:02 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-02-09 18:47:02 | entity: <data><node>node_hmaq9o0205</node><expire-at>2020-02-10T02:47:07Z</expire-at><entry><content>content_9e7oro0209</content></entry></data> 2020-02-09 18:47:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Feb 2020 02:47:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-02-09 18:47:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>15703eba-d288-405d-aa1e-adf7de951859</value></item-id></result> 2020-02-09 18:47:02 | contains: true 2020-02-09 18:47:10 | [Mutex] waiting for: [user_regularyduu9v0204@localhost:message:received:content_9e7oro0209] 2020-02-09 18:47:10 | [Mutex] waiting for: [user_regularyduu9v0204@localhost:message:received:content_9e7oro0209] 2020-02-09 18:47:10 | [Mutex] waiting for: [user_regularyduu9v0204@localhost:message:received:content_9e7oro0209] 2020-02-09 18:47:25 | [Mutex] timeout. Not received [user_regularyduu9v0204@localhost:message:received:content_9e7oro0209] 2020-02-09 18:47:25 | [Mutex] received everything. 2020-02-09 18:47:25 | [Mutex] isItemNotified: user_regularyduu9v0204@localhost:message:received:content_9e7oro0209 :: false 2020-02-09 18:47:25 | [Mutex] isItemNotified: admin@localhost:message:received:content_9e7oro0209 :: true |