Test duration : 45.766s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.671s |
2022-02-15 22:03:38 |
2022-02-15 22:03:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-02-15 22:03:38 | ------------------------------------ 2022-02-15 22:03:38 | [Mutex] isItemNotified: node_j7tj8a0203:exists :: false 2022-02-15 22:03:38 | [Mutex] waiting for: [node_j7tj8a0203:create_node] 2022-02-15 22:03:38 | [Mutex] received everything. 2022-02-15 22:03:38 | [Mutex] isItemNotified: node_j7tj8a0203:create_node:success :: true 2022-02-15 22:03:38 | [Mutex] waiting for: [node_j7tj8a0203:subscribe_node] 2022-02-15 22:03:38 | [Mutex] waiting for: [node_j7tj8a0203:subscribe_node] 2022-02-15 22:03:38 | [Mutex] received everything. 2022-02-15 22:03:38 | [Mutex] isItemNotified: node_j7tj8a0203:subscribe_node:success :: true 2022-02-15 22:03:38 | ===== publishing normal message (to online) 2022-02-15 22:03:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-15 22:03:38 | command: <data><node>node_j7tj8a0203</node><entry><content>content_m01dsl0204</content></entry></data> 2022-02-15 22:03:38 | target: http://localhost:8088 2022-02-15 22:03:38 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-15 22:03:38 | entity: <data><node>node_j7tj8a0203</node><entry><content>content_m01dsl0204</content></entry></data> 2022-02-15 22:03:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 06:03:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-15 22:03:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>40a91ad5-f9fd-4b15-9374-3eb9db602e65</value></item-id></result> 2022-02-15 22:03:38 | contains: true 2022-02-15 22:03:38 | [Mutex] received everything. 2022-02-15 22:03:38 | [Mutex] isItemNotified: user_regularddn1m30202@test-domain.com:message:received:content_m01dsl0204 :: true 2022-02-15 22:03:38 | ===== publishing already old message - expecting message being filtered out (to online) 2022-02-15 22:03:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-15 22:03:38 | command: <data><node>node_j7tj8a0203</node><expire-at>2022-02-16T06:03:33Z</expire-at><entry><content>content_ksxvw50205</content></entry></data> 2022-02-15 22:03:38 | target: http://localhost:8088 2022-02-15 22:03:38 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-15 22:03:38 | entity: <data><node>node_j7tj8a0203</node><expire-at>2022-02-16T06:03:33Z</expire-at><entry><content>content_ksxvw50205</content></entry></data> 2022-02-15 22:03:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 06:03:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-15 22:03:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>82e3d8de-350d-4207-be94-19dfdd7d8cfe</value></item-id></result> 2022-02-15 22:03:38 | contains: true 2022-02-15 22:03:38 | [Mutex] waiting for: [user_regularddn1m30202@test-domain.com:message:received:content_ksxvw50205] 2022-02-15 22:03:53 | [Mutex] timeout. Not received [user_regularddn1m30202@test-domain.com:message:received:content_ksxvw50205] 2022-02-15 22:03:53 | [Mutex] isItemNotified: user_regularddn1m30202@test-domain.com:message:received:content_ksxvw50205 :: false 2022-02-15 22:03:53 | ===== publishing normal message (to offline) 2022-02-15 22:03:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-15 22:03:53 | command: <data><node>node_j7tj8a0203</node><entry><content>content_5bofrx0206</content></entry></data> 2022-02-15 22:03:53 | target: http://localhost:8088 2022-02-15 22:03:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-15 22:03:53 | entity: <data><node>node_j7tj8a0203</node><entry><content>content_5bofrx0206</content></entry></data> 2022-02-15 22:03:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 06:03:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-15 22:03:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3ad07bcb-984f-4a59-b8e3-0270a08f87f9</value></item-id></result> 2022-02-15 22:03:53 | contains: true 2022-02-15 22:03:58 | [Mutex] waiting for: [user_regularddn1m30202@test-domain.com:message:received:content_5bofrx0206] 2022-02-15 22:03:58 | [Mutex] received everything. 2022-02-15 22:03:58 | [Mutex] isItemNotified: user_regularddn1m30202@test-domain.com:message:received:content_5bofrx0206 :: true 2022-02-15 22:03:58 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-02-15 22:03:58 | [Mutex] received everything. 2022-02-15 22:03:58 | [Mutex] isItemNotified: node_j7tj8a0203:subscribe_node:success :: true 2022-02-15 22:03:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-15 22:03:58 | command: <data><node>node_j7tj8a0203</node><expire-at>2022-02-16T06:04:03Z</expire-at><entry><content>content_u6u92w0207</content></entry></data> 2022-02-15 22:03:58 | target: http://localhost:8088 2022-02-15 22:03:58 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-15 22:03:58 | entity: <data><node>node_j7tj8a0203</node><expire-at>2022-02-16T06:04:03Z</expire-at><entry><content>content_u6u92w0207</content></entry></data> 2022-02-15 22:03:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 06:03:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-15 22:03:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2d8aa3f7-6dfc-4cd9-a73d-9d150aeace02</value></item-id></result> 2022-02-15 22:03:58 | contains: true 2022-02-15 22:04:06 | [Mutex] waiting for: [user_regularddn1m30202@test-domain.com:message:received:content_u6u92w0207] 2022-02-15 22:04:06 | [Mutex] waiting for: [user_regularddn1m30202@test-domain.com:message:received:content_u6u92w0207] 2022-02-15 22:04:21 | [Mutex] timeout. Not received [user_regularddn1m30202@test-domain.com:message:received:content_u6u92w0207] 2022-02-15 22:04:21 | [Mutex] received everything. 2022-02-15 22:04:21 | [Mutex] isItemNotified: user_regularddn1m30202@test-domain.com:message:received:content_u6u92w0207 :: false 2022-02-15 22:04:21 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_u6u92w0207 :: true |