Test duration : 45.538s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.756s |
2020-10-05 23:07:53 |
2020-10-05 23:07:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-10-05 23:07:53 | ------------------------------------ 2020-10-05 23:07:53 | [Mutex] isItemNotified: node_8znzva0203:exists :: false 2020-10-05 23:07:53 | [Mutex] waiting for: [node_8znzva0203:create_node] 2020-10-05 23:07:53 | [Mutex] received everything. 2020-10-05 23:07:53 | [Mutex] isItemNotified: node_8znzva0203:create_node:success :: true 2020-10-05 23:07:53 | [Mutex] waiting for: [node_8znzva0203:subscribe_node] 2020-10-05 23:07:54 | [Mutex] waiting for: [node_8znzva0203:subscribe_node] 2020-10-05 23:07:54 | [Mutex] received everything. 2020-10-05 23:07:54 | [Mutex] isItemNotified: node_8znzva0203:subscribe_node:success :: true 2020-10-05 23:07:54 | ===== publishing normal message (to online) 2020-10-05 23:07:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-05 23:07:54 | command: <data><node>node_8znzva0203</node><entry><content>content_ihq12j0204</content></entry></data> 2020-10-05 23:07:54 | target: http://localhost:8088 2020-10-05 23:07:54 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-05 23:07:54 | entity: <data><node>node_8znzva0203</node><entry><content>content_ihq12j0204</content></entry></data> 2020-10-05 23:07:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Oct 2020 06:07:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-05 23:07:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6a4c3128-9680-4e5d-b317-cfc088820450</value></item-id></result> 2020-10-05 23:07:54 | contains: true 2020-10-05 23:07:54 | [Mutex] received everything. 2020-10-05 23:07:54 | [Mutex] isItemNotified: user_regularf7gwpd0202@test-domain.com:message:received:content_ihq12j0204 :: true 2020-10-05 23:07:54 | ===== publishing already old message - expecting message being filtered out (to online) 2020-10-05 23:07:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-05 23:07:54 | command: <data><node>node_8znzva0203</node><expire-at>2020-10-06T06:07:49Z</expire-at><entry><content>content_pzsabk0205</content></entry></data> 2020-10-05 23:07:54 | target: http://localhost:8088 2020-10-05 23:07:54 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-05 23:07:54 | entity: <data><node>node_8znzva0203</node><expire-at>2020-10-06T06:07:49Z</expire-at><entry><content>content_pzsabk0205</content></entry></data> 2020-10-05 23:07:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Oct 2020 06:07:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-05 23:07:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a9c89e15-f555-4eda-b025-47278abb43db</value></item-id></result> 2020-10-05 23:07:54 | contains: true 2020-10-05 23:07:54 | [Mutex] waiting for: [user_regularf7gwpd0202@test-domain.com:message:received:content_pzsabk0205] 2020-10-05 23:08:09 | [Mutex] timeout. Not received [user_regularf7gwpd0202@test-domain.com:message:received:content_pzsabk0205] 2020-10-05 23:08:09 | [Mutex] isItemNotified: user_regularf7gwpd0202@test-domain.com:message:received:content_pzsabk0205 :: false 2020-10-05 23:08:09 | ===== publishing normal message (to offline) 2020-10-05 23:08:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-05 23:08:09 | command: <data><node>node_8znzva0203</node><entry><content>content_ctpqzz0206</content></entry></data> 2020-10-05 23:08:09 | target: http://localhost:8088 2020-10-05 23:08:09 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-05 23:08:09 | entity: <data><node>node_8znzva0203</node><entry><content>content_ctpqzz0206</content></entry></data> 2020-10-05 23:08:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Oct 2020 06:08:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-05 23:08:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>bf7e8abc-4dd0-4294-a419-d3b931dc8b11</value></item-id></result> 2020-10-05 23:08:09 | contains: true 2020-10-05 23:08:14 | [Mutex] waiting for: [user_regularf7gwpd0202@test-domain.com:message:received:content_ctpqzz0206] 2020-10-05 23:08:14 | [Mutex] received everything. 2020-10-05 23:08:14 | [Mutex] isItemNotified: user_regularf7gwpd0202@test-domain.com:message:received:content_ctpqzz0206 :: true 2020-10-05 23:08:14 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-10-05 23:08:14 | [Mutex] received everything. 2020-10-05 23:08:14 | [Mutex] isItemNotified: node_8znzva0203:subscribe_node:success :: true 2020-10-05 23:08:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-05 23:08:14 | command: <data><node>node_8znzva0203</node><expire-at>2020-10-06T06:08:19Z</expire-at><entry><content>content_wgh94q0207</content></entry></data> 2020-10-05 23:08:14 | target: http://localhost:8088 2020-10-05 23:08:14 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-05 23:08:14 | entity: <data><node>node_8znzva0203</node><expire-at>2020-10-06T06:08:19Z</expire-at><entry><content>content_wgh94q0207</content></entry></data> 2020-10-05 23:08:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Oct 2020 06:08:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-05 23:08:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>aec29553-661d-4716-85fa-dd0f193c07df</value></item-id></result> 2020-10-05 23:08:14 | contains: true 2020-10-05 23:08:22 | [Mutex] waiting for: [user_regularf7gwpd0202@test-domain.com:message:received:content_wgh94q0207] 2020-10-05 23:08:37 | [Mutex] timeout. Not received [user_regularf7gwpd0202@test-domain.com:message:received:content_wgh94q0207] 2020-10-05 23:08:37 | [Mutex] received everything. 2020-10-05 23:08:37 | [Mutex] isItemNotified: user_regularf7gwpd0202@test-domain.com:message:received:content_wgh94q0207 :: false 2020-10-05 23:08:37 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_wgh94q0207 :: true |