Test duration : 44.743s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.541s |
2022-10-17 22:36:32 |
2022-10-17 22:36:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-10-17 22:36:32 | ------------------------------------ 2022-10-17 22:36:32 | [Mutex] isItemNotified: node_cns8a00204:exists :: false 2022-10-17 22:36:32 | [Mutex] waiting for: [node_cns8a00204:create_node] 2022-10-17 22:36:32 | [Mutex] received everything. 2022-10-17 22:36:32 | [Mutex] isItemNotified: node_cns8a00204:create_node:success :: true 2022-10-17 22:36:32 | [Mutex] waiting for: [node_cns8a00204:subscribe_node] 2022-10-17 22:36:32 | [Mutex] waiting for: [node_cns8a00204:subscribe_node] 2022-10-17 22:36:32 | [Mutex] received everything. 2022-10-17 22:36:32 | [Mutex] isItemNotified: node_cns8a00204:subscribe_node:success :: true 2022-10-17 22:36:32 | ===== publishing normal message (to online) 2022-10-17 22:36:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-17 22:36:32 | command: <data><node>node_cns8a00204</node><entry><content>content_x1xaa20205</content></entry></data> 2022-10-17 22:36:32 | target: http://localhost:8088 2022-10-17 22:36:32 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-10-17 22:36:32 | entity: <data><node>node_cns8a00204</node><entry><content>content_x1xaa20205</content></entry></data> 2022-10-17 22:36:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 18 Oct 2022 05:36:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-17 22:36:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3f235191-8b79-40b4-ba34-19ae0671662a</value></item-id></result> 2022-10-17 22:36:32 | contains: true 2022-10-17 22:36:32 | [Mutex] received everything. 2022-10-17 22:36:32 | [Mutex] isItemNotified: user_regular629qnf0203@test-domain.com:message:received:content_x1xaa20205 :: true 2022-10-17 22:36:32 | ===== publishing already old message - expecting message being filtered out (to online) 2022-10-17 22:36:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-17 22:36:32 | command: <data><node>node_cns8a00204</node><expire-at>2022-10-18T05:36:27Z</expire-at><entry><content>content_u4pfmo0206</content></entry></data> 2022-10-17 22:36:32 | target: http://localhost:8088 2022-10-17 22:36:32 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-10-17 22:36:32 | entity: <data><node>node_cns8a00204</node><expire-at>2022-10-18T05:36:27Z</expire-at><entry><content>content_u4pfmo0206</content></entry></data> 2022-10-17 22:36:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 18 Oct 2022 05:36:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-17 22:36:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6a4ceaea-fc07-4e04-b526-3868eedc7d3c</value></item-id></result> 2022-10-17 22:36:32 | contains: true 2022-10-17 22:36:32 | [Mutex] waiting for: [user_regular629qnf0203@test-domain.com:message:received:content_u4pfmo0206] 2022-10-17 22:36:47 | [Mutex] timeout. Not received [user_regular629qnf0203@test-domain.com:message:received:content_u4pfmo0206] 2022-10-17 22:36:47 | [Mutex] isItemNotified: user_regular629qnf0203@test-domain.com:message:received:content_u4pfmo0206 :: false 2022-10-17 22:36:47 | ===== publishing normal message (to offline) 2022-10-17 22:36:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-17 22:36:47 | command: <data><node>node_cns8a00204</node><entry><content>content_sh7oek0207</content></entry></data> 2022-10-17 22:36:47 | target: http://localhost:8088 2022-10-17 22:36:47 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-10-17 22:36:47 | entity: <data><node>node_cns8a00204</node><entry><content>content_sh7oek0207</content></entry></data> 2022-10-17 22:36:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 18 Oct 2022 05:36:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-17 22:36:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>23661ac3-f709-4b5b-9f06-088e235f9f8b</value></item-id></result> 2022-10-17 22:36:47 | contains: true 2022-10-17 22:36:53 | [Mutex] waiting for: [user_regular629qnf0203@test-domain.com:message:received:content_sh7oek0207] 2022-10-17 22:36:53 | [Mutex] received everything. 2022-10-17 22:36:53 | [Mutex] isItemNotified: user_regular629qnf0203@test-domain.com:message:received:content_sh7oek0207 :: true 2022-10-17 22:36:53 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-10-17 22:36:53 | [Mutex] received everything. 2022-10-17 22:36:53 | [Mutex] isItemNotified: node_cns8a00204:subscribe_node:success :: true 2022-10-17 22:36:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-17 22:36:53 | command: <data><node>node_cns8a00204</node><expire-at>2022-10-18T05:36:58Z</expire-at><entry><content>content_hwr3ja0208</content></entry></data> 2022-10-17 22:36:53 | target: http://localhost:8088 2022-10-17 22:36:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-10-17 22:36:53 | entity: <data><node>node_cns8a00204</node><expire-at>2022-10-18T05:36:58Z</expire-at><entry><content>content_hwr3ja0208</content></entry></data> 2022-10-17 22:36:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 18 Oct 2022 05:36:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-17 22:36:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fdeeb14f-cce2-432f-9859-75b825e07cea</value></item-id></result> 2022-10-17 22:36:53 | contains: true 2022-10-17 22:37:01 | [Mutex] waiting for: [user_regular629qnf0203@test-domain.com:message:received:content_hwr3ja0208] 2022-10-17 22:37:16 | [Mutex] timeout. Not received [user_regular629qnf0203@test-domain.com:message:received:content_hwr3ja0208] 2022-10-17 22:37:16 | [Mutex] received everything. 2022-10-17 22:37:16 | [Mutex] isItemNotified: user_regular629qnf0203@test-domain.com:message:received:content_hwr3ja0208 :: false 2022-10-17 22:37:16 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_hwr3ja0208 :: true |