Test duration : 45.686s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.713s |
2021-09-13 23:14:39 |
2021-09-13 23:14:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-09-13 23:14:39 | ------------------------------------ 2021-09-13 23:14:39 | [Mutex] isItemNotified: node_gb7f9c0203:exists :: false 2021-09-13 23:14:39 | [Mutex] waiting for: [node_gb7f9c0203:create_node] 2021-09-13 23:14:39 | [Mutex] received everything. 2021-09-13 23:14:39 | [Mutex] isItemNotified: node_gb7f9c0203:create_node:success :: true 2021-09-13 23:14:39 | [Mutex] waiting for: [node_gb7f9c0203:subscribe_node] 2021-09-13 23:14:39 | [Mutex] waiting for: [node_gb7f9c0203:subscribe_node] 2021-09-13 23:14:39 | [Mutex] received everything. 2021-09-13 23:14:39 | [Mutex] isItemNotified: node_gb7f9c0203:subscribe_node:success :: true 2021-09-13 23:14:39 | ===== publishing normal message (to online) 2021-09-13 23:14:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-13 23:14:39 | command: <data><node>node_gb7f9c0203</node><entry><content>content_ovjlc20204</content></entry></data> 2021-09-13 23:14:39 | target: http://localhost:8088 2021-09-13 23:14:39 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-09-13 23:14:39 | entity: <data><node>node_gb7f9c0203</node><entry><content>content_ovjlc20204</content></entry></data> 2021-09-13 23:14:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 14 Sep 2021 06:14:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-13 23:14:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7a54c0c2-3437-43cd-bbbb-4c88499edd37</value></item-id></result> 2021-09-13 23:14:39 | contains: true 2021-09-13 23:14:39 | [Mutex] received everything. 2021-09-13 23:14:39 | [Mutex] isItemNotified: user_regularxx69zu0202@test-domain.com:message:received:content_ovjlc20204 :: true 2021-09-13 23:14:39 | ===== publishing already old message - expecting message being filtered out (to online) 2021-09-13 23:14:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-13 23:14:39 | command: <data><node>node_gb7f9c0203</node><expire-at>2021-09-14T06:14:34Z</expire-at><entry><content>content_l6ipns0205</content></entry></data> 2021-09-13 23:14:39 | target: http://localhost:8088 2021-09-13 23:14:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-09-13 23:14:39 | entity: <data><node>node_gb7f9c0203</node><expire-at>2021-09-14T06:14:34Z</expire-at><entry><content>content_l6ipns0205</content></entry></data> 2021-09-13 23:14:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 14 Sep 2021 06:14:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-13 23:14:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8b6e89de-1540-4b0b-b46e-704e34551258</value></item-id></result> 2021-09-13 23:14:39 | contains: true 2021-09-13 23:14:39 | [Mutex] waiting for: [user_regularxx69zu0202@test-domain.com:message:received:content_l6ipns0205] 2021-09-13 23:14:54 | [Mutex] timeout. Not received [user_regularxx69zu0202@test-domain.com:message:received:content_l6ipns0205] 2021-09-13 23:14:54 | [Mutex] isItemNotified: user_regularxx69zu0202@test-domain.com:message:received:content_l6ipns0205 :: false 2021-09-13 23:14:54 | ===== publishing normal message (to offline) 2021-09-13 23:14:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-13 23:14:54 | command: <data><node>node_gb7f9c0203</node><entry><content>content_1sfdy90206</content></entry></data> 2021-09-13 23:14:54 | target: http://localhost:8088 2021-09-13 23:14:54 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-09-13 23:14:54 | entity: <data><node>node_gb7f9c0203</node><entry><content>content_1sfdy90206</content></entry></data> 2021-09-13 23:14:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 14 Sep 2021 06:14:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-13 23:14:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>60312db3-4ff1-4a18-abea-2714a20ad7f1</value></item-id></result> 2021-09-13 23:14:54 | contains: true 2021-09-13 23:14:59 | [Mutex] waiting for: [user_regularxx69zu0202@test-domain.com:message:received:content_1sfdy90206] 2021-09-13 23:14:59 | [Mutex] waiting for: [user_regularxx69zu0202@test-domain.com:message:received:content_1sfdy90206] 2021-09-13 23:14:59 | [Mutex] received everything. 2021-09-13 23:14:59 | [Mutex] isItemNotified: user_regularxx69zu0202@test-domain.com:message:received:content_1sfdy90206 :: true 2021-09-13 23:14:59 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-09-13 23:14:59 | [Mutex] received everything. 2021-09-13 23:14:59 | [Mutex] isItemNotified: node_gb7f9c0203:subscribe_node:success :: true 2021-09-13 23:14:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-13 23:14:59 | command: <data><node>node_gb7f9c0203</node><expire-at>2021-09-14T06:15:04Z</expire-at><entry><content>content_cgkrvn0207</content></entry></data> 2021-09-13 23:14:59 | target: http://localhost:8088 2021-09-13 23:14:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-09-13 23:14:59 | entity: <data><node>node_gb7f9c0203</node><expire-at>2021-09-14T06:15:04Z</expire-at><entry><content>content_cgkrvn0207</content></entry></data> 2021-09-13 23:14:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 14 Sep 2021 06:14:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-13 23:14:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>dc4f574b-6c8d-4c82-989a-29424797630b</value></item-id></result> 2021-09-13 23:14:59 | contains: true 2021-09-13 23:15:07 | [Mutex] waiting for: [user_regularxx69zu0202@test-domain.com:message:received:content_cgkrvn0207] 2021-09-13 23:15:07 | [Mutex] waiting for: [user_regularxx69zu0202@test-domain.com:message:received:content_cgkrvn0207] 2021-09-13 23:15:22 | [Mutex] timeout. Not received [user_regularxx69zu0202@test-domain.com:message:received:content_cgkrvn0207] 2021-09-13 23:15:22 | [Mutex] received everything. 2021-09-13 23:15:22 | [Mutex] isItemNotified: user_regularxx69zu0202@test-domain.com:message:received:content_cgkrvn0207 :: false 2021-09-13 23:15:22 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_cgkrvn0207 :: true |