Test duration : 44.712s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.530s |
2022-08-04 22:33:59 |
2022-08-04 22:33:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-08-04 22:33:59 | ------------------------------------ 2022-08-04 22:33:59 | [Mutex] isItemNotified: node_uovr190204:exists :: false 2022-08-04 22:33:59 | [Mutex] waiting for: [node_uovr190204:create_node] 2022-08-04 22:33:59 | [Mutex] waiting for: [node_uovr190204:create_node] 2022-08-04 22:33:59 | [Mutex] received everything. 2022-08-04 22:33:59 | [Mutex] isItemNotified: node_uovr190204:create_node:success :: true 2022-08-04 22:33:59 | [Mutex] waiting for: [node_uovr190204:subscribe_node] 2022-08-04 22:33:59 | [Mutex] waiting for: [node_uovr190204:subscribe_node] 2022-08-04 22:33:59 | [Mutex] received everything. 2022-08-04 22:33:59 | [Mutex] isItemNotified: node_uovr190204:subscribe_node:success :: true 2022-08-04 22:33:59 | ===== publishing normal message (to online) 2022-08-04 22:33:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-04 22:33:59 | command: <data><node>node_uovr190204</node><entry><content>content_865gcp0205</content></entry></data> 2022-08-04 22:33:59 | target: http://localhost:8088 2022-08-04 22:33:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-04 22:33:59 | entity: <data><node>node_uovr190204</node><entry><content>content_865gcp0205</content></entry></data> 2022-08-04 22:33:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 Aug 2022 05:33:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-04 22:33:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7dc6380d-40f6-453b-a032-167f1ae7addc</value></item-id></result> 2022-08-04 22:33:59 | contains: true 2022-08-04 22:33:59 | [Mutex] received everything. 2022-08-04 22:33:59 | [Mutex] isItemNotified: user_regularfafhpl0203@test-domain.com:message:received:content_865gcp0205 :: true 2022-08-04 22:33:59 | ===== publishing already old message - expecting message being filtered out (to online) 2022-08-04 22:33:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-04 22:33:59 | command: <data><node>node_uovr190204</node><expire-at>2022-08-05T05:33:54Z</expire-at><entry><content>content_w33f010206</content></entry></data> 2022-08-04 22:33:59 | target: http://localhost:8088 2022-08-04 22:33:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-04 22:33:59 | entity: <data><node>node_uovr190204</node><expire-at>2022-08-05T05:33:54Z</expire-at><entry><content>content_w33f010206</content></entry></data> 2022-08-04 22:33:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 Aug 2022 05:33:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-04 22:33:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>af622ff9-fe23-4a56-ab5e-ec669ce55d89</value></item-id></result> 2022-08-04 22:33:59 | contains: true 2022-08-04 22:33:59 | [Mutex] waiting for: [user_regularfafhpl0203@test-domain.com:message:received:content_w33f010206] 2022-08-04 22:34:14 | [Mutex] timeout. Not received [user_regularfafhpl0203@test-domain.com:message:received:content_w33f010206] 2022-08-04 22:34:14 | [Mutex] isItemNotified: user_regularfafhpl0203@test-domain.com:message:received:content_w33f010206 :: false 2022-08-04 22:34:14 | ===== publishing normal message (to offline) 2022-08-04 22:34:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-04 22:34:14 | command: <data><node>node_uovr190204</node><entry><content>content_3wwwdn0207</content></entry></data> 2022-08-04 22:34:14 | target: http://localhost:8088 2022-08-04 22:34:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-04 22:34:14 | entity: <data><node>node_uovr190204</node><entry><content>content_3wwwdn0207</content></entry></data> 2022-08-04 22:34:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 Aug 2022 05:34:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-04 22:34:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>050c6e39-71dd-4f88-b4ef-43ac0e284ae2</value></item-id></result> 2022-08-04 22:34:14 | contains: true 2022-08-04 22:34:19 | [Mutex] waiting for: [user_regularfafhpl0203@test-domain.com:message:received:content_3wwwdn0207] 2022-08-04 22:34:19 | [Mutex] received everything. 2022-08-04 22:34:19 | [Mutex] isItemNotified: user_regularfafhpl0203@test-domain.com:message:received:content_3wwwdn0207 :: true 2022-08-04 22:34:19 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-08-04 22:34:19 | [Mutex] received everything. 2022-08-04 22:34:19 | [Mutex] isItemNotified: node_uovr190204:subscribe_node:success :: true 2022-08-04 22:34:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-04 22:34:19 | command: <data><node>node_uovr190204</node><expire-at>2022-08-05T05:34:24Z</expire-at><entry><content>content_8h4u940208</content></entry></data> 2022-08-04 22:34:19 | target: http://localhost:8088 2022-08-04 22:34:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-04 22:34:19 | entity: <data><node>node_uovr190204</node><expire-at>2022-08-05T05:34:24Z</expire-at><entry><content>content_8h4u940208</content></entry></data> 2022-08-04 22:34:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 Aug 2022 05:34:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-04 22:34:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>acf95d56-4dac-488f-968c-b619e2b103ce</value></item-id></result> 2022-08-04 22:34:19 | contains: true 2022-08-04 22:34:27 | [Mutex] waiting for: [user_regularfafhpl0203@test-domain.com:message:received:content_8h4u940208] 2022-08-04 22:34:27 | [Mutex] waiting for: [user_regularfafhpl0203@test-domain.com:message:received:content_8h4u940208] 2022-08-04 22:34:42 | [Mutex] timeout. Not received [user_regularfafhpl0203@test-domain.com:message:received:content_8h4u940208] 2022-08-04 22:34:42 | [Mutex] received everything. 2022-08-04 22:34:42 | [Mutex] isItemNotified: user_regularfafhpl0203@test-domain.com:message:received:content_8h4u940208 :: false 2022-08-04 22:34:42 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_8h4u940208 :: true |