Test duration : 44.917s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.545s |
2022-05-10 23:16:02 |
2022-05-10 23:16:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-05-10 23:16:02 | ------------------------------------ 2022-05-10 23:16:02 | [Mutex] isItemNotified: node_wef7c60204:exists :: false 2022-05-10 23:16:02 | [Mutex] waiting for: [node_wef7c60204:create_node] 2022-05-10 23:16:02 | [Mutex] received everything. 2022-05-10 23:16:02 | [Mutex] isItemNotified: node_wef7c60204:create_node:success :: true 2022-05-10 23:16:02 | [Mutex] waiting for: [node_wef7c60204:subscribe_node] 2022-05-10 23:16:02 | [Mutex] waiting for: [node_wef7c60204:subscribe_node] 2022-05-10 23:16:02 | [Mutex] received everything. 2022-05-10 23:16:02 | [Mutex] isItemNotified: node_wef7c60204:subscribe_node:success :: true 2022-05-10 23:16:02 | ===== publishing normal message (to online) 2022-05-10 23:16:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-10 23:16:02 | command: <data><node>node_wef7c60204</node><entry><content>content_1zesre0205</content></entry></data> 2022-05-10 23:16:02 | target: http://localhost:8088 2022-05-10 23:16:02 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-05-10 23:16:02 | entity: <data><node>node_wef7c60204</node><entry><content>content_1zesre0205</content></entry></data> 2022-05-10 23:16:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 11 May 2022 06:16:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-10 23:16:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4ea31f71-9fed-474e-97dd-a19bc7e78e3e</value></item-id></result> 2022-05-10 23:16:02 | contains: true 2022-05-10 23:16:02 | [Mutex] waiting for: [user_regularqv5a560203@test-domain.com:message:received:content_1zesre0205] 2022-05-10 23:16:02 | [Mutex] received everything. 2022-05-10 23:16:02 | [Mutex] isItemNotified: user_regularqv5a560203@test-domain.com:message:received:content_1zesre0205 :: true 2022-05-10 23:16:02 | ===== publishing already old message - expecting message being filtered out (to online) 2022-05-10 23:16:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-10 23:16:02 | command: <data><node>node_wef7c60204</node><expire-at>2022-05-11T06:15:57Z</expire-at><entry><content>content_qzgc0q0206</content></entry></data> 2022-05-10 23:16:02 | target: http://localhost:8088 2022-05-10 23:16:02 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-05-10 23:16:02 | entity: <data><node>node_wef7c60204</node><expire-at>2022-05-11T06:15:57Z</expire-at><entry><content>content_qzgc0q0206</content></entry></data> 2022-05-10 23:16:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 11 May 2022 06:16:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-10 23:16:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9adf1f6f-4b54-4dd7-9717-994175348cd6</value></item-id></result> 2022-05-10 23:16:02 | contains: true 2022-05-10 23:16:02 | [Mutex] waiting for: [user_regularqv5a560203@test-domain.com:message:received:content_qzgc0q0206] 2022-05-10 23:16:17 | [Mutex] timeout. Not received [user_regularqv5a560203@test-domain.com:message:received:content_qzgc0q0206] 2022-05-10 23:16:17 | [Mutex] isItemNotified: user_regularqv5a560203@test-domain.com:message:received:content_qzgc0q0206 :: false 2022-05-10 23:16:17 | ===== publishing normal message (to offline) 2022-05-10 23:16:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-10 23:16:17 | command: <data><node>node_wef7c60204</node><entry><content>content_a53epp0207</content></entry></data> 2022-05-10 23:16:17 | target: http://localhost:8088 2022-05-10 23:16:17 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-05-10 23:16:17 | entity: <data><node>node_wef7c60204</node><entry><content>content_a53epp0207</content></entry></data> 2022-05-10 23:16:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 11 May 2022 06:16:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-10 23:16:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3fcd2335-dca2-44a0-ba10-eba8a0b6f9ad</value></item-id></result> 2022-05-10 23:16:17 | contains: true 2022-05-10 23:16:22 | [Mutex] waiting for: [user_regularqv5a560203@test-domain.com:message:received:content_a53epp0207] 2022-05-10 23:16:22 | [Mutex] received everything. 2022-05-10 23:16:22 | [Mutex] isItemNotified: user_regularqv5a560203@test-domain.com:message:received:content_a53epp0207 :: true 2022-05-10 23:16:22 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-05-10 23:16:22 | [Mutex] received everything. 2022-05-10 23:16:22 | [Mutex] isItemNotified: node_wef7c60204:subscribe_node:success :: true 2022-05-10 23:16:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-10 23:16:22 | command: <data><node>node_wef7c60204</node><expire-at>2022-05-11T06:16:27Z</expire-at><entry><content>content_lzjonk0208</content></entry></data> 2022-05-10 23:16:22 | target: http://localhost:8088 2022-05-10 23:16:22 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-05-10 23:16:22 | entity: <data><node>node_wef7c60204</node><expire-at>2022-05-11T06:16:27Z</expire-at><entry><content>content_lzjonk0208</content></entry></data> 2022-05-10 23:16:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 11 May 2022 06:16:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-10 23:16:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6641b68b-1f61-4a0d-ac04-4de065cfb8f9</value></item-id></result> 2022-05-10 23:16:23 | contains: true 2022-05-10 23:16:31 | [Mutex] waiting for: [user_regularqv5a560203@test-domain.com:message:received:content_lzjonk0208] 2022-05-10 23:16:46 | [Mutex] timeout. Not received [user_regularqv5a560203@test-domain.com:message:received:content_lzjonk0208] 2022-05-10 23:16:46 | [Mutex] received everything. 2022-05-10 23:16:46 | [Mutex] isItemNotified: user_regularqv5a560203@test-domain.com:message:received:content_lzjonk0208 :: false 2022-05-10 23:16:46 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_lzjonk0208 :: true |