Test duration : 45.183s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.716s |
2020-09-28 22:31:29 |
2020-09-28 22:31:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-28 22:31:29 | ------------------------------------ 2020-09-28 22:31:29 | [Mutex] isItemNotified: node_1bzzy70203:exists :: false 2020-09-28 22:31:29 | [Mutex] waiting for: [node_1bzzy70203:create_node] 2020-09-28 22:31:29 | [Mutex] received everything. 2020-09-28 22:31:29 | [Mutex] isItemNotified: node_1bzzy70203:create_node:success :: true 2020-09-28 22:31:29 | [Mutex] waiting for: [node_1bzzy70203:subscribe_node] 2020-09-28 22:31:29 | [Mutex] received everything. 2020-09-28 22:31:29 | [Mutex] isItemNotified: node_1bzzy70203:subscribe_node:success :: true 2020-09-28 22:31:29 | ===== publishing normal message (to online) 2020-09-28 22:31:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-28 22:31:29 | command: <data><node>node_1bzzy70203</node><entry><content>content_2qs85o0204</content></entry></data> 2020-09-28 22:31:29 | target: http://localhost:8088 2020-09-28 22:31:29 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-28 22:31:29 | entity: <data><node>node_1bzzy70203</node><entry><content>content_2qs85o0204</content></entry></data> 2020-09-28 22:31:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 29 Sep 2020 05:31:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-28 22:31:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>17c0be5c-105a-48fe-9bcc-eb4c9d7770d7</value></item-id></result> 2020-09-28 22:31:29 | contains: true 2020-09-28 22:31:29 | [Mutex] received everything. 2020-09-28 22:31:29 | [Mutex] isItemNotified: user_regularmt95zv0202@test-domain.com:message:received:content_2qs85o0204 :: true 2020-09-28 22:31:29 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-28 22:31:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-28 22:31:29 | command: <data><node>node_1bzzy70203</node><expire-at>2020-09-29T05:31:24Z</expire-at><entry><content>content_fvwkq60205</content></entry></data> 2020-09-28 22:31:29 | target: http://localhost:8088 2020-09-28 22:31:29 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-28 22:31:29 | entity: <data><node>node_1bzzy70203</node><expire-at>2020-09-29T05:31:24Z</expire-at><entry><content>content_fvwkq60205</content></entry></data> 2020-09-28 22:31:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 29 Sep 2020 05:31:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-28 22:31:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a81af9d2-3e5e-4ad4-a1c5-b44f499ed704</value></item-id></result> 2020-09-28 22:31:29 | contains: true 2020-09-28 22:31:29 | [Mutex] waiting for: [user_regularmt95zv0202@test-domain.com:message:received:content_fvwkq60205] 2020-09-28 22:31:44 | [Mutex] timeout. Not received [user_regularmt95zv0202@test-domain.com:message:received:content_fvwkq60205] 2020-09-28 22:31:44 | [Mutex] isItemNotified: user_regularmt95zv0202@test-domain.com:message:received:content_fvwkq60205 :: false 2020-09-28 22:31:44 | ===== publishing normal message (to offline) 2020-09-28 22:31:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-28 22:31:44 | command: <data><node>node_1bzzy70203</node><entry><content>content_7zsn520206</content></entry></data> 2020-09-28 22:31:44 | target: http://localhost:8088 2020-09-28 22:31:44 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-28 22:31:44 | entity: <data><node>node_1bzzy70203</node><entry><content>content_7zsn520206</content></entry></data> 2020-09-28 22:31:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 29 Sep 2020 05:31:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-28 22:31:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>95b33f84-1438-4070-a0d6-49be29cde577</value></item-id></result> 2020-09-28 22:31:44 | contains: true 2020-09-28 22:31:49 | [Mutex] waiting for: [user_regularmt95zv0202@test-domain.com:message:received:content_7zsn520206] 2020-09-28 22:31:49 | [Mutex] received everything. 2020-09-28 22:31:49 | [Mutex] isItemNotified: user_regularmt95zv0202@test-domain.com:message:received:content_7zsn520206 :: true 2020-09-28 22:31:49 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-28 22:31:49 | [Mutex] received everything. 2020-09-28 22:31:49 | [Mutex] isItemNotified: node_1bzzy70203:subscribe_node:success :: true 2020-09-28 22:31:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-28 22:31:49 | command: <data><node>node_1bzzy70203</node><expire-at>2020-09-29T05:31:54Z</expire-at><entry><content>content_idpr270207</content></entry></data> 2020-09-28 22:31:49 | target: http://localhost:8088 2020-09-28 22:31:49 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-28 22:31:49 | entity: <data><node>node_1bzzy70203</node><expire-at>2020-09-29T05:31:54Z</expire-at><entry><content>content_idpr270207</content></entry></data> 2020-09-28 22:31:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 29 Sep 2020 05:31:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-28 22:31:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8681ee5e-f52b-4e34-935d-d1f78b1f101a</value></item-id></result> 2020-09-28 22:31:50 | contains: true 2020-09-28 22:31:58 | [Mutex] waiting for: [user_regularmt95zv0202@test-domain.com:message:received:content_idpr270207] 2020-09-28 22:31:58 | [Mutex] waiting for: [user_regularmt95zv0202@test-domain.com:message:received:content_idpr270207] 2020-09-28 22:32:13 | [Mutex] timeout. Not received [user_regularmt95zv0202@test-domain.com:message:received:content_idpr270207] 2020-09-28 22:32:13 | [Mutex] received everything. 2020-09-28 22:32:13 | [Mutex] isItemNotified: user_regularmt95zv0202@test-domain.com:message:received:content_idpr270207 :: false 2020-09-28 22:32:13 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_idpr270207 :: true |