Test duration : 45.774s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.771s |
2022-02-17 04:10:54 |
2022-02-17 04:10:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-02-17 04:10:54 | ------------------------------------ 2022-02-17 04:10:54 | [Mutex] isItemNotified: node_coj9770203:exists :: false 2022-02-17 04:10:54 | [Mutex] waiting for: [node_coj9770203:create_node] 2022-02-17 04:10:54 | [Mutex] received everything. 2022-02-17 04:10:54 | [Mutex] isItemNotified: node_coj9770203:create_node:success :: true 2022-02-17 04:10:54 | [Mutex] waiting for: [node_coj9770203:subscribe_node] 2022-02-17 04:10:54 | [Mutex] received everything. 2022-02-17 04:10:54 | [Mutex] isItemNotified: node_coj9770203:subscribe_node:success :: true 2022-02-17 04:10:54 | ===== publishing normal message (to online) 2022-02-17 04:10:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-17 04:10:54 | command: <data><node>node_coj9770203</node><entry><content>content_2aovhg0204</content></entry></data> 2022-02-17 04:10:54 | target: http://localhost:8088 2022-02-17 04:10:54 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-17 04:10:54 | entity: <data><node>node_coj9770203</node><entry><content>content_2aovhg0204</content></entry></data> 2022-02-17 04:10:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Feb 2022 12:10:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-17 04:10:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>816fd559-dcb3-4d69-af9c-3cb538880f0c</value></item-id></result> 2022-02-17 04:10:54 | contains: true 2022-02-17 04:10:54 | [Mutex] received everything. 2022-02-17 04:10:54 | [Mutex] isItemNotified: user_regular2lc25k0202@test-domain.com:message:received:content_2aovhg0204 :: true 2022-02-17 04:10:54 | ===== publishing already old message - expecting message being filtered out (to online) 2022-02-17 04:10:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-17 04:10:54 | command: <data><node>node_coj9770203</node><expire-at>2022-02-17T12:10:49Z</expire-at><entry><content>content_xya5bd0205</content></entry></data> 2022-02-17 04:10:54 | target: http://localhost:8088 2022-02-17 04:10:54 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-17 04:10:54 | entity: <data><node>node_coj9770203</node><expire-at>2022-02-17T12:10:49Z</expire-at><entry><content>content_xya5bd0205</content></entry></data> 2022-02-17 04:10:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Feb 2022 12:10:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-17 04:10:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>780c2c52-30e7-4196-9eb1-f761530c63d0</value></item-id></result> 2022-02-17 04:10:54 | contains: true 2022-02-17 04:10:54 | [Mutex] waiting for: [user_regular2lc25k0202@test-domain.com:message:received:content_xya5bd0205] 2022-02-17 04:11:09 | [Mutex] timeout. Not received [user_regular2lc25k0202@test-domain.com:message:received:content_xya5bd0205] 2022-02-17 04:11:09 | [Mutex] isItemNotified: user_regular2lc25k0202@test-domain.com:message:received:content_xya5bd0205 :: false 2022-02-17 04:11:09 | ===== publishing normal message (to offline) 2022-02-17 04:11:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-17 04:11:09 | command: <data><node>node_coj9770203</node><entry><content>content_w325t10206</content></entry></data> 2022-02-17 04:11:09 | target: http://localhost:8088 2022-02-17 04:11:09 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-17 04:11:09 | entity: <data><node>node_coj9770203</node><entry><content>content_w325t10206</content></entry></data> 2022-02-17 04:11:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Feb 2022 12:11:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-17 04:11:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>04d217b2-dfec-4f87-929c-06882f91525b</value></item-id></result> 2022-02-17 04:11:09 | contains: true 2022-02-17 04:11:14 | [Mutex] waiting for: [user_regular2lc25k0202@test-domain.com:message:received:content_w325t10206] 2022-02-17 04:11:14 | [Mutex] received everything. 2022-02-17 04:11:14 | [Mutex] isItemNotified: user_regular2lc25k0202@test-domain.com:message:received:content_w325t10206 :: true 2022-02-17 04:11:14 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-02-17 04:11:14 | [Mutex] received everything. 2022-02-17 04:11:14 | [Mutex] isItemNotified: node_coj9770203:subscribe_node:success :: true 2022-02-17 04:11:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-17 04:11:14 | command: <data><node>node_coj9770203</node><expire-at>2022-02-17T12:11:19Z</expire-at><entry><content>content_szf4se0207</content></entry></data> 2022-02-17 04:11:14 | target: http://localhost:8088 2022-02-17 04:11:14 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-17 04:11:14 | entity: <data><node>node_coj9770203</node><expire-at>2022-02-17T12:11:19Z</expire-at><entry><content>content_szf4se0207</content></entry></data> 2022-02-17 04:11:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Feb 2022 12:11:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-17 04:11:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>20f55cea-7b9b-44ef-923e-f9f172ef64c1</value></item-id></result> 2022-02-17 04:11:14 | contains: true 2022-02-17 04:11:22 | [Mutex] waiting for: [user_regular2lc25k0202@test-domain.com:message:received:content_szf4se0207] 2022-02-17 04:11:22 | [Mutex] waiting for: [user_regular2lc25k0202@test-domain.com:message:received:content_szf4se0207] 2022-02-17 04:11:37 | [Mutex] timeout. Not received [user_regular2lc25k0202@test-domain.com:message:received:content_szf4se0207] 2022-02-17 04:11:37 | [Mutex] received everything. 2022-02-17 04:11:37 | [Mutex] isItemNotified: user_regular2lc25k0202@test-domain.com:message:received:content_szf4se0207 :: false 2022-02-17 04:11:37 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_szf4se0207 :: true |