Test duration : 45.368s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.615s |
2021-03-05 04:14:16 |
2021-03-05 04:14:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-03-05 04:14:16 | ------------------------------------ 2021-03-05 04:14:16 | [Mutex] isItemNotified: node_49p4yd0203:exists :: false 2021-03-05 04:14:16 | [Mutex] waiting for: [node_49p4yd0203:create_node] 2021-03-05 04:14:16 | [Mutex] received everything. 2021-03-05 04:14:16 | [Mutex] isItemNotified: node_49p4yd0203:create_node:success :: true 2021-03-05 04:14:16 | [Mutex] waiting for: [node_49p4yd0203:subscribe_node] 2021-03-05 04:14:16 | [Mutex] waiting for: [node_49p4yd0203:subscribe_node] 2021-03-05 04:14:16 | [Mutex] received everything. 2021-03-05 04:14:16 | [Mutex] isItemNotified: node_49p4yd0203:subscribe_node:success :: true 2021-03-05 04:14:16 | ===== publishing normal message (to online) 2021-03-05 04:14:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-05 04:14:16 | command: <data><node>node_49p4yd0203</node><entry><content>content_drqnf40204</content></entry></data> 2021-03-05 04:14:16 | target: http://localhost:8088 2021-03-05 04:14:16 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-03-05 04:14:16 | entity: <data><node>node_49p4yd0203</node><entry><content>content_drqnf40204</content></entry></data> 2021-03-05 04:14:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 Mar 2021 12:14:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-05 04:14:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7b1ac452-428c-4c48-80ed-7f5da04e4e05</value></item-id></result> 2021-03-05 04:14:16 | contains: true 2021-03-05 04:14:16 | [Mutex] received everything. 2021-03-05 04:14:16 | [Mutex] isItemNotified: user_regularpea13m0202@test-domain.com:message:received:content_drqnf40204 :: true 2021-03-05 04:14:16 | ===== publishing already old message - expecting message being filtered out (to online) 2021-03-05 04:14:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-05 04:14:16 | command: <data><node>node_49p4yd0203</node><expire-at>2021-03-05T12:14:11Z</expire-at><entry><content>content_z3akqg0205</content></entry></data> 2021-03-05 04:14:16 | target: http://localhost:8088 2021-03-05 04:14:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-03-05 04:14:16 | entity: <data><node>node_49p4yd0203</node><expire-at>2021-03-05T12:14:11Z</expire-at><entry><content>content_z3akqg0205</content></entry></data> 2021-03-05 04:14:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 Mar 2021 12:14:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-05 04:14:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7593bfb2-1524-4f38-89eb-673132648c9d</value></item-id></result> 2021-03-05 04:14:16 | contains: true 2021-03-05 04:14:16 | [Mutex] waiting for: [user_regularpea13m0202@test-domain.com:message:received:content_z3akqg0205] 2021-03-05 04:14:31 | [Mutex] timeout. Not received [user_regularpea13m0202@test-domain.com:message:received:content_z3akqg0205] 2021-03-05 04:14:31 | [Mutex] isItemNotified: user_regularpea13m0202@test-domain.com:message:received:content_z3akqg0205 :: false 2021-03-05 04:14:31 | ===== publishing normal message (to offline) 2021-03-05 04:14:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-05 04:14:31 | command: <data><node>node_49p4yd0203</node><entry><content>content_vwnyr80206</content></entry></data> 2021-03-05 04:14:31 | target: http://localhost:8088 2021-03-05 04:14:31 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-03-05 04:14:31 | entity: <data><node>node_49p4yd0203</node><entry><content>content_vwnyr80206</content></entry></data> 2021-03-05 04:14:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 Mar 2021 12:14:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-05 04:14:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>075f553f-3708-4978-bf1b-92259b7cd1a5</value></item-id></result> 2021-03-05 04:14:31 | contains: true 2021-03-05 04:14:37 | [Mutex] waiting for: [user_regularpea13m0202@test-domain.com:message:received:content_vwnyr80206] 2021-03-05 04:14:37 | [Mutex] waiting for: [user_regularpea13m0202@test-domain.com:message:received:content_vwnyr80206] 2021-03-05 04:14:37 | [Mutex] received everything. 2021-03-05 04:14:37 | [Mutex] isItemNotified: user_regularpea13m0202@test-domain.com:message:received:content_vwnyr80206 :: true 2021-03-05 04:14:37 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-03-05 04:14:37 | [Mutex] received everything. 2021-03-05 04:14:37 | [Mutex] isItemNotified: node_49p4yd0203:subscribe_node:success :: true 2021-03-05 04:14:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-05 04:14:37 | command: <data><node>node_49p4yd0203</node><expire-at>2021-03-05T12:14:42Z</expire-at><entry><content>content_au70u30207</content></entry></data> 2021-03-05 04:14:37 | target: http://localhost:8088 2021-03-05 04:14:37 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-03-05 04:14:37 | entity: <data><node>node_49p4yd0203</node><expire-at>2021-03-05T12:14:42Z</expire-at><entry><content>content_au70u30207</content></entry></data> 2021-03-05 04:14:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 Mar 2021 12:14:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-05 04:14:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>52e05c1a-6d52-4a38-a3bf-a243e084a1c1</value></item-id></result> 2021-03-05 04:14:37 | contains: true 2021-03-05 04:14:45 | [Mutex] waiting for: [user_regularpea13m0202@test-domain.com:message:received:content_au70u30207] 2021-03-05 04:14:45 | [Mutex] waiting for: [user_regularpea13m0202@test-domain.com:message:received:content_au70u30207] 2021-03-05 04:15:00 | [Mutex] timeout. Not received [user_regularpea13m0202@test-domain.com:message:received:content_au70u30207] 2021-03-05 04:15:00 | [Mutex] received everything. 2021-03-05 04:15:00 | [Mutex] isItemNotified: user_regularpea13m0202@test-domain.com:message:received:content_au70u30207 :: false 2021-03-05 04:15:00 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_au70u30207 :: true |