Test duration : 45.368s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.824s |
2021-02-05 22:00:39 |
2021-02-05 22:00:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-02-05 22:00:39 | ------------------------------------ 2021-02-05 22:00:39 | [Mutex] isItemNotified: node_2v6tjn0203:exists :: false 2021-02-05 22:00:39 | [Mutex] waiting for: [node_2v6tjn0203:create_node] 2021-02-05 22:00:39 | [Mutex] received everything. 2021-02-05 22:00:39 | [Mutex] isItemNotified: node_2v6tjn0203:create_node:success :: true 2021-02-05 22:00:39 | [Mutex] waiting for: [node_2v6tjn0203:subscribe_node] 2021-02-05 22:00:39 | [Mutex] waiting for: [node_2v6tjn0203:subscribe_node] 2021-02-05 22:00:39 | [Mutex] received everything. 2021-02-05 22:00:39 | [Mutex] isItemNotified: node_2v6tjn0203:subscribe_node:success :: true 2021-02-05 22:00:39 | ===== publishing normal message (to online) 2021-02-05 22:00:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-05 22:00:39 | command: <data><node>node_2v6tjn0203</node><entry><content>content_9veqz20204</content></entry></data> 2021-02-05 22:00:39 | target: http://localhost:8088 2021-02-05 22:00:39 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-02-05 22:00:39 | entity: <data><node>node_2v6tjn0203</node><entry><content>content_9veqz20204</content></entry></data> 2021-02-05 22:00:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 06 Feb 2021 06:00:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-05 22:00:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>538f56ce-10b9-45b8-9dee-bbd08c95e0a7</value></item-id></result> 2021-02-05 22:00:39 | contains: true 2021-02-05 22:00:39 | [Mutex] received everything. 2021-02-05 22:00:39 | [Mutex] isItemNotified: user_regularpvl0ms0202@test-domain.com:message:received:content_9veqz20204 :: true 2021-02-05 22:00:39 | ===== publishing already old message - expecting message being filtered out (to online) 2021-02-05 22:00:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-05 22:00:39 | command: <data><node>node_2v6tjn0203</node><expire-at>2021-02-06T06:00:34Z</expire-at><entry><content>content_kcel820205</content></entry></data> 2021-02-05 22:00:39 | target: http://localhost:8088 2021-02-05 22:00:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-02-05 22:00:39 | entity: <data><node>node_2v6tjn0203</node><expire-at>2021-02-06T06:00:34Z</expire-at><entry><content>content_kcel820205</content></entry></data> 2021-02-05 22:00:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 06 Feb 2021 06:00:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-05 22:00:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5a284053-da9e-4ca9-8de7-e01b39007f40</value></item-id></result> 2021-02-05 22:00:39 | contains: true 2021-02-05 22:00:39 | [Mutex] waiting for: [user_regularpvl0ms0202@test-domain.com:message:received:content_kcel820205] 2021-02-05 22:00:54 | [Mutex] timeout. Not received [user_regularpvl0ms0202@test-domain.com:message:received:content_kcel820205] 2021-02-05 22:00:54 | [Mutex] isItemNotified: user_regularpvl0ms0202@test-domain.com:message:received:content_kcel820205 :: false 2021-02-05 22:00:54 | ===== publishing normal message (to offline) 2021-02-05 22:00:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-05 22:00:55 | command: <data><node>node_2v6tjn0203</node><entry><content>content_ntz5zg0206</content></entry></data> 2021-02-05 22:00:55 | target: http://localhost:8088 2021-02-05 22:00:55 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-02-05 22:00:55 | entity: <data><node>node_2v6tjn0203</node><entry><content>content_ntz5zg0206</content></entry></data> 2021-02-05 22:00:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 06 Feb 2021 06:00:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-05 22:00:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d15d6fa5-de31-4958-9b89-ea796c5ea8ff</value></item-id></result> 2021-02-05 22:00:55 | contains: true 2021-02-05 22:01:00 | [Mutex] waiting for: [user_regularpvl0ms0202@test-domain.com:message:received:content_ntz5zg0206] 2021-02-05 22:01:00 | [Mutex] waiting for: [user_regularpvl0ms0202@test-domain.com:message:received:content_ntz5zg0206] 2021-02-05 22:01:00 | [Mutex] received everything. 2021-02-05 22:01:00 | [Mutex] isItemNotified: user_regularpvl0ms0202@test-domain.com:message:received:content_ntz5zg0206 :: true 2021-02-05 22:01:00 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-02-05 22:01:00 | [Mutex] received everything. 2021-02-05 22:01:00 | [Mutex] isItemNotified: node_2v6tjn0203:subscribe_node:success :: true 2021-02-05 22:01:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-05 22:01:00 | command: <data><node>node_2v6tjn0203</node><expire-at>2021-02-06T06:01:05Z</expire-at><entry><content>content_j93l4l0207</content></entry></data> 2021-02-05 22:01:00 | target: http://localhost:8088 2021-02-05 22:01:00 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-02-05 22:01:00 | entity: <data><node>node_2v6tjn0203</node><expire-at>2021-02-06T06:01:05Z</expire-at><entry><content>content_j93l4l0207</content></entry></data> 2021-02-05 22:01:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 06 Feb 2021 06:01:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-05 22:01:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6ec65a48-36f9-4d69-aadc-0403227538d3</value></item-id></result> 2021-02-05 22:01:00 | contains: true 2021-02-05 22:01:08 | [Mutex] waiting for: [user_regularpvl0ms0202@test-domain.com:message:received:content_j93l4l0207] 2021-02-05 22:01:08 | [Mutex] waiting for: [user_regularpvl0ms0202@test-domain.com:message:received:content_j93l4l0207] 2021-02-05 22:01:23 | [Mutex] timeout. Not received [user_regularpvl0ms0202@test-domain.com:message:received:content_j93l4l0207] 2021-02-05 22:01:23 | [Mutex] received everything. 2021-02-05 22:01:23 | [Mutex] isItemNotified: user_regularpvl0ms0202@test-domain.com:message:received:content_j93l4l0207 :: false 2021-02-05 22:01:23 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_j93l4l0207 :: true |