Test duration : 45.707s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.693s |
2022-02-09 22:20:18 |
2022-02-09 22:20:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-02-09 22:20:18 | ------------------------------------ 2022-02-09 22:20:18 | [Mutex] isItemNotified: node_7oyugb0203:exists :: false 2022-02-09 22:20:18 | [Mutex] waiting for: [node_7oyugb0203:create_node] 2022-02-09 22:20:18 | [Mutex] received everything. 2022-02-09 22:20:18 | [Mutex] isItemNotified: node_7oyugb0203:create_node:success :: true 2022-02-09 22:20:18 | [Mutex] waiting for: [node_7oyugb0203:subscribe_node] 2022-02-09 22:20:18 | [Mutex] waiting for: [node_7oyugb0203:subscribe_node] 2022-02-09 22:20:18 | [Mutex] received everything. 2022-02-09 22:20:18 | [Mutex] isItemNotified: node_7oyugb0203:subscribe_node:success :: true 2022-02-09 22:20:18 | ===== publishing normal message (to online) 2022-02-09 22:20:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-09 22:20:18 | command: <data><node>node_7oyugb0203</node><entry><content>content_9un9ri0204</content></entry></data> 2022-02-09 22:20:18 | target: http://localhost:8088 2022-02-09 22:20:18 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-09 22:20:18 | entity: <data><node>node_7oyugb0203</node><entry><content>content_9un9ri0204</content></entry></data> 2022-02-09 22:20:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 10 Feb 2022 06:20:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-09 22:20:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9c1b1bbe-e1bc-41ce-a45c-5ed54ff6d079</value></item-id></result> 2022-02-09 22:20:18 | contains: true 2022-02-09 22:20:18 | [Mutex] received everything. 2022-02-09 22:20:18 | [Mutex] isItemNotified: user_regular1mc5g30202@test-domain.com:message:received:content_9un9ri0204 :: true 2022-02-09 22:20:18 | ===== publishing already old message - expecting message being filtered out (to online) 2022-02-09 22:20:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-09 22:20:18 | command: <data><node>node_7oyugb0203</node><expire-at>2022-02-10T06:20:13Z</expire-at><entry><content>content_efha030205</content></entry></data> 2022-02-09 22:20:18 | target: http://localhost:8088 2022-02-09 22:20:18 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-09 22:20:18 | entity: <data><node>node_7oyugb0203</node><expire-at>2022-02-10T06:20:13Z</expire-at><entry><content>content_efha030205</content></entry></data> 2022-02-09 22:20:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 10 Feb 2022 06:20:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-09 22:20:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>df9a8bb4-f124-4dd3-9588-95cd5be36e8e</value></item-id></result> 2022-02-09 22:20:18 | contains: true 2022-02-09 22:20:18 | [Mutex] waiting for: [user_regular1mc5g30202@test-domain.com:message:received:content_efha030205] 2022-02-09 22:20:33 | [Mutex] timeout. Not received [user_regular1mc5g30202@test-domain.com:message:received:content_efha030205] 2022-02-09 22:20:33 | [Mutex] isItemNotified: user_regular1mc5g30202@test-domain.com:message:received:content_efha030205 :: false 2022-02-09 22:20:33 | ===== publishing normal message (to offline) 2022-02-09 22:20:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-09 22:20:33 | command: <data><node>node_7oyugb0203</node><entry><content>content_e6ppwz0206</content></entry></data> 2022-02-09 22:20:33 | target: http://localhost:8088 2022-02-09 22:20:33 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-09 22:20:33 | entity: <data><node>node_7oyugb0203</node><entry><content>content_e6ppwz0206</content></entry></data> 2022-02-09 22:20:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 10 Feb 2022 06:20:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-09 22:20:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7b2bb300-7ecf-450e-b3d7-14d73cd641fd</value></item-id></result> 2022-02-09 22:20:33 | contains: true 2022-02-09 22:20:38 | [Mutex] waiting for: [user_regular1mc5g30202@test-domain.com:message:received:content_e6ppwz0206] 2022-02-09 22:20:38 | [Mutex] received everything. 2022-02-09 22:20:38 | [Mutex] isItemNotified: user_regular1mc5g30202@test-domain.com:message:received:content_e6ppwz0206 :: true 2022-02-09 22:20:38 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-02-09 22:20:38 | [Mutex] received everything. 2022-02-09 22:20:38 | [Mutex] isItemNotified: node_7oyugb0203:subscribe_node:success :: true 2022-02-09 22:20:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-09 22:20:38 | command: <data><node>node_7oyugb0203</node><expire-at>2022-02-10T06:20:43Z</expire-at><entry><content>content_z2o68l0207</content></entry></data> 2022-02-09 22:20:38 | target: http://localhost:8088 2022-02-09 22:20:38 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-09 22:20:38 | entity: <data><node>node_7oyugb0203</node><expire-at>2022-02-10T06:20:43Z</expire-at><entry><content>content_z2o68l0207</content></entry></data> 2022-02-09 22:20:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 10 Feb 2022 06:20:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-09 22:20:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a5aec5c4-55c2-4851-8475-2f10894db1a7</value></item-id></result> 2022-02-09 22:20:38 | contains: true 2022-02-09 22:20:47 | [Mutex] waiting for: [user_regular1mc5g30202@test-domain.com:message:received:content_z2o68l0207] 2022-02-09 22:21:02 | [Mutex] timeout. Not received [user_regular1mc5g30202@test-domain.com:message:received:content_z2o68l0207] 2022-02-09 22:21:02 | [Mutex] received everything. 2022-02-09 22:21:02 | [Mutex] isItemNotified: user_regular1mc5g30202@test-domain.com:message:received:content_z2o68l0207 :: false 2022-02-09 22:21:02 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_z2o68l0207 :: true |