Test duration : 45.333s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.773s |
2022-02-15 22:03:19 |
2022-02-15 22:03:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-02-15 22:03:19 | ------------------------------------ 2022-02-15 22:03:19 | [Mutex] isItemNotified: node_pqj5im0203:exists :: false 2022-02-15 22:03:19 | [Mutex] waiting for: [node_pqj5im0203:create_node] 2022-02-15 22:03:19 | [Mutex] received everything. 2022-02-15 22:03:19 | [Mutex] isItemNotified: node_pqj5im0203:create_node:success :: true 2022-02-15 22:03:19 | [Mutex] waiting for: [node_pqj5im0203:subscribe_node] 2022-02-15 22:03:19 | [Mutex] waiting for: [node_pqj5im0203:subscribe_node] 2022-02-15 22:03:19 | [Mutex] received everything. 2022-02-15 22:03:19 | [Mutex] isItemNotified: node_pqj5im0203:subscribe_node:success :: true 2022-02-15 22:03:19 | ===== publishing normal message (to online) 2022-02-15 22:03:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-15 22:03:19 | command: <data><node>node_pqj5im0203</node><entry><content>content_j5jg400204</content></entry></data> 2022-02-15 22:03:19 | target: http://localhost:8088 2022-02-15 22:03:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-15 22:03:19 | entity: <data><node>node_pqj5im0203</node><entry><content>content_j5jg400204</content></entry></data> 2022-02-15 22:03:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 06:03:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-15 22:03:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>cf98fd25-30bd-4801-a940-ec343062b931</value></item-id></result> 2022-02-15 22:03:19 | contains: true 2022-02-15 22:03:19 | [Mutex] received everything. 2022-02-15 22:03:19 | [Mutex] isItemNotified: user_regular6z58k10202@test-domain.com:message:received:content_j5jg400204 :: true 2022-02-15 22:03:19 | ===== publishing already old message - expecting message being filtered out (to online) 2022-02-15 22:03:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-15 22:03:19 | command: <data><node>node_pqj5im0203</node><expire-at>2022-02-16T06:03:14Z</expire-at><entry><content>content_pkj0ks0205</content></entry></data> 2022-02-15 22:03:19 | target: http://localhost:8088 2022-02-15 22:03:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-15 22:03:19 | entity: <data><node>node_pqj5im0203</node><expire-at>2022-02-16T06:03:14Z</expire-at><entry><content>content_pkj0ks0205</content></entry></data> 2022-02-15 22:03:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 06:03:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-15 22:03:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5ca2aec2-da1c-4147-90dc-3428d96826b8</value></item-id></result> 2022-02-15 22:03:19 | contains: true 2022-02-15 22:03:19 | [Mutex] waiting for: [user_regular6z58k10202@test-domain.com:message:received:content_pkj0ks0205] 2022-02-15 22:03:34 | [Mutex] timeout. Not received [user_regular6z58k10202@test-domain.com:message:received:content_pkj0ks0205] 2022-02-15 22:03:34 | [Mutex] isItemNotified: user_regular6z58k10202@test-domain.com:message:received:content_pkj0ks0205 :: false 2022-02-15 22:03:34 | ===== publishing normal message (to offline) 2022-02-15 22:03:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-15 22:03:34 | command: <data><node>node_pqj5im0203</node><entry><content>content_t82wik0206</content></entry></data> 2022-02-15 22:03:34 | target: http://localhost:8088 2022-02-15 22:03:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-15 22:03:34 | entity: <data><node>node_pqj5im0203</node><entry><content>content_t82wik0206</content></entry></data> 2022-02-15 22:03:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 06:03:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-15 22:03:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d4f4ccb8-ea3e-4d56-b9b5-1c6275586893</value></item-id></result> 2022-02-15 22:03:35 | contains: true 2022-02-15 22:03:40 | [Mutex] waiting for: [user_regular6z58k10202@test-domain.com:message:received:content_t82wik0206] 2022-02-15 22:03:40 | [Mutex] waiting for: [user_regular6z58k10202@test-domain.com:message:received:content_t82wik0206] 2022-02-15 22:03:40 | [Mutex] received everything. 2022-02-15 22:03:40 | [Mutex] isItemNotified: user_regular6z58k10202@test-domain.com:message:received:content_t82wik0206 :: true 2022-02-15 22:03:40 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-02-15 22:03:40 | [Mutex] received everything. 2022-02-15 22:03:40 | [Mutex] isItemNotified: node_pqj5im0203:subscribe_node:success :: true 2022-02-15 22:03:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-15 22:03:40 | command: <data><node>node_pqj5im0203</node><expire-at>2022-02-16T06:03:45Z</expire-at><entry><content>content_yz17wx0207</content></entry></data> 2022-02-15 22:03:40 | target: http://localhost:8088 2022-02-15 22:03:40 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-15 22:03:40 | entity: <data><node>node_pqj5im0203</node><expire-at>2022-02-16T06:03:45Z</expire-at><entry><content>content_yz17wx0207</content></entry></data> 2022-02-15 22:03:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 06:03:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-15 22:03:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>22184082-3674-475b-bc73-ffc67923e239</value></item-id></result> 2022-02-15 22:03:40 | contains: true 2022-02-15 22:03:48 | [Mutex] waiting for: [user_regular6z58k10202@test-domain.com:message:received:content_yz17wx0207] 2022-02-15 22:03:48 | [Mutex] waiting for: [user_regular6z58k10202@test-domain.com:message:received:content_yz17wx0207] 2022-02-15 22:03:48 | [Mutex] waiting for: [user_regular6z58k10202@test-domain.com:message:received:content_yz17wx0207] 2022-02-15 22:04:03 | [Mutex] timeout. Not received [user_regular6z58k10202@test-domain.com:message:received:content_yz17wx0207] 2022-02-15 22:04:03 | [Mutex] received everything. 2022-02-15 22:04:03 | [Mutex] isItemNotified: user_regular6z58k10202@test-domain.com:message:received:content_yz17wx0207 :: false 2022-02-15 22:04:03 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_yz17wx0207 :: true |