Test duration : 44.969s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.635s |
2022-05-08 22:37:02 |
2022-05-08 22:37:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-05-08 22:37:02 | ------------------------------------ 2022-05-08 22:37:02 | [Mutex] isItemNotified: node_ptjm350204:exists :: false 2022-05-08 22:37:02 | [Mutex] waiting for: [node_ptjm350204:create_node] 2022-05-08 22:37:02 | [Mutex] received everything. 2022-05-08 22:37:02 | [Mutex] isItemNotified: node_ptjm350204:create_node:success :: true 2022-05-08 22:37:02 | [Mutex] waiting for: [node_ptjm350204:subscribe_node] 2022-05-08 22:37:02 | [Mutex] waiting for: [node_ptjm350204:subscribe_node] 2022-05-08 22:37:02 | [Mutex] received everything. 2022-05-08 22:37:02 | [Mutex] isItemNotified: node_ptjm350204:subscribe_node:success :: true 2022-05-08 22:37:02 | ===== publishing normal message (to online) 2022-05-08 22:37:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-08 22:37:02 | command: <data><node>node_ptjm350204</node><entry><content>content_n1h5ez0205</content></entry></data> 2022-05-08 22:37:02 | target: http://localhost:8088 2022-05-08 22:37:02 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-05-08 22:37:02 | entity: <data><node>node_ptjm350204</node><entry><content>content_n1h5ez0205</content></entry></data> 2022-05-08 22:37:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 09 May 2022 05:37:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-08 22:37:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>acc781ae-ff86-479b-9450-6d6cf3745537</value></item-id></result> 2022-05-08 22:37:02 | contains: true 2022-05-08 22:37:02 | [Mutex] waiting for: [user_regularlul7jc0203@test-domain.com:message:received:content_n1h5ez0205] 2022-05-08 22:37:02 | [Mutex] received everything. 2022-05-08 22:37:02 | [Mutex] isItemNotified: user_regularlul7jc0203@test-domain.com:message:received:content_n1h5ez0205 :: true 2022-05-08 22:37:02 | ===== publishing already old message - expecting message being filtered out (to online) 2022-05-08 22:37:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-08 22:37:02 | command: <data><node>node_ptjm350204</node><expire-at>2022-05-09T05:36:57Z</expire-at><entry><content>content_jwwj7i0206</content></entry></data> 2022-05-08 22:37:02 | target: http://localhost:8088 2022-05-08 22:37:02 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-05-08 22:37:02 | entity: <data><node>node_ptjm350204</node><expire-at>2022-05-09T05:36:57Z</expire-at><entry><content>content_jwwj7i0206</content></entry></data> 2022-05-08 22:37:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 09 May 2022 05:37:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-08 22:37:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2da68bca-4882-40fa-9c45-1cde87f431bc</value></item-id></result> 2022-05-08 22:37:03 | contains: true 2022-05-08 22:37:03 | [Mutex] waiting for: [user_regularlul7jc0203@test-domain.com:message:received:content_jwwj7i0206] 2022-05-08 22:37:18 | [Mutex] timeout. Not received [user_regularlul7jc0203@test-domain.com:message:received:content_jwwj7i0206] 2022-05-08 22:37:18 | [Mutex] isItemNotified: user_regularlul7jc0203@test-domain.com:message:received:content_jwwj7i0206 :: false 2022-05-08 22:37:18 | ===== publishing normal message (to offline) 2022-05-08 22:37:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-08 22:37:18 | command: <data><node>node_ptjm350204</node><entry><content>content_buhdm20207</content></entry></data> 2022-05-08 22:37:18 | target: http://localhost:8088 2022-05-08 22:37:18 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-05-08 22:37:18 | entity: <data><node>node_ptjm350204</node><entry><content>content_buhdm20207</content></entry></data> 2022-05-08 22:37:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 09 May 2022 05:37:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-08 22:37:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a7916e40-230a-4504-8677-b187b05720e0</value></item-id></result> 2022-05-08 22:37:18 | contains: true 2022-05-08 22:37:23 | [Mutex] waiting for: [user_regularlul7jc0203@test-domain.com:message:received:content_buhdm20207] 2022-05-08 22:37:23 | [Mutex] waiting for: [user_regularlul7jc0203@test-domain.com:message:received:content_buhdm20207] 2022-05-08 22:37:23 | [Mutex] received everything. 2022-05-08 22:37:23 | [Mutex] isItemNotified: user_regularlul7jc0203@test-domain.com:message:received:content_buhdm20207 :: true 2022-05-08 22:37:23 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-05-08 22:37:23 | [Mutex] received everything. 2022-05-08 22:37:23 | [Mutex] isItemNotified: node_ptjm350204:subscribe_node:success :: true 2022-05-08 22:37:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-08 22:37:23 | command: <data><node>node_ptjm350204</node><expire-at>2022-05-09T05:37:28Z</expire-at><entry><content>content_bg7rg60208</content></entry></data> 2022-05-08 22:37:23 | target: http://localhost:8088 2022-05-08 22:37:23 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-05-08 22:37:23 | entity: <data><node>node_ptjm350204</node><expire-at>2022-05-09T05:37:28Z</expire-at><entry><content>content_bg7rg60208</content></entry></data> 2022-05-08 22:37:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 09 May 2022 05:37:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-08 22:37:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3e153625-bd8e-4ca7-bfec-494f27646907</value></item-id></result> 2022-05-08 22:37:23 | contains: true 2022-05-08 22:37:31 | [Mutex] waiting for: [user_regularlul7jc0203@test-domain.com:message:received:content_bg7rg60208] 2022-05-08 22:37:31 | [Mutex] waiting for: [user_regularlul7jc0203@test-domain.com:message:received:content_bg7rg60208] 2022-05-08 22:37:46 | [Mutex] timeout. Not received [user_regularlul7jc0203@test-domain.com:message:received:content_bg7rg60208] 2022-05-08 22:37:46 | [Mutex] received everything. 2022-05-08 22:37:46 | [Mutex] isItemNotified: user_regularlul7jc0203@test-domain.com:message:received:content_bg7rg60208 :: false 2022-05-08 22:37:46 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_bg7rg60208 :: true |