Test duration : 45.807s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.760s |
2020-10-20 22:48:24 |
2020-10-20 22:48:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-10-20 22:48:24 | ------------------------------------ 2020-10-20 22:48:24 | [Mutex] isItemNotified: node_qg2uik0203:exists :: false 2020-10-20 22:48:24 | [Mutex] waiting for: [node_qg2uik0203:create_node] 2020-10-20 22:48:24 | [Mutex] received everything. 2020-10-20 22:48:24 | [Mutex] isItemNotified: node_qg2uik0203:create_node:success :: true 2020-10-20 22:48:24 | [Mutex] waiting for: [node_qg2uik0203:subscribe_node] 2020-10-20 22:48:24 | [Mutex] waiting for: [node_qg2uik0203:subscribe_node] 2020-10-20 22:48:24 | [Mutex] received everything. 2020-10-20 22:48:24 | [Mutex] isItemNotified: node_qg2uik0203:subscribe_node:success :: true 2020-10-20 22:48:24 | ===== publishing normal message (to online) 2020-10-20 22:48:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-20 22:48:24 | command: <data><node>node_qg2uik0203</node><entry><content>content_qpuve60204</content></entry></data> 2020-10-20 22:48:24 | target: http://localhost:8088 2020-10-20 22:48:24 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-20 22:48:24 | entity: <data><node>node_qg2uik0203</node><entry><content>content_qpuve60204</content></entry></data> 2020-10-20 22:48:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 21 Oct 2020 05:48:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-20 22:48:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>bae82bc8-ddee-4cd7-9ab6-1e90adffea76</value></item-id></result> 2020-10-20 22:48:24 | contains: true 2020-10-20 22:48:24 | [Mutex] received everything. 2020-10-20 22:48:24 | [Mutex] isItemNotified: user_regularf24stw0202@test-domain.com:message:received:content_qpuve60204 :: true 2020-10-20 22:48:24 | ===== publishing already old message - expecting message being filtered out (to online) 2020-10-20 22:48:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-20 22:48:24 | command: <data><node>node_qg2uik0203</node><expire-at>2020-10-21T05:48:19Z</expire-at><entry><content>content_7v0pt10205</content></entry></data> 2020-10-20 22:48:24 | target: http://localhost:8088 2020-10-20 22:48:24 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-20 22:48:24 | entity: <data><node>node_qg2uik0203</node><expire-at>2020-10-21T05:48:19Z</expire-at><entry><content>content_7v0pt10205</content></entry></data> 2020-10-20 22:48:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 21 Oct 2020 05:48:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-20 22:48:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a1ded585-bb92-49d0-9680-d0e24041b5e7</value></item-id></result> 2020-10-20 22:48:24 | contains: true 2020-10-20 22:48:24 | [Mutex] waiting for: [user_regularf24stw0202@test-domain.com:message:received:content_7v0pt10205] 2020-10-20 22:48:39 | [Mutex] timeout. Not received [user_regularf24stw0202@test-domain.com:message:received:content_7v0pt10205] 2020-10-20 22:48:39 | [Mutex] isItemNotified: user_regularf24stw0202@test-domain.com:message:received:content_7v0pt10205 :: false 2020-10-20 22:48:39 | ===== publishing normal message (to offline) 2020-10-20 22:48:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-20 22:48:39 | command: <data><node>node_qg2uik0203</node><entry><content>content_6p4grx0206</content></entry></data> 2020-10-20 22:48:39 | target: http://localhost:8088 2020-10-20 22:48:39 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-20 22:48:39 | entity: <data><node>node_qg2uik0203</node><entry><content>content_6p4grx0206</content></entry></data> 2020-10-20 22:48:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 21 Oct 2020 05:48:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-20 22:48:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0aadea86-42b6-4a3c-97de-1977604bea67</value></item-id></result> 2020-10-20 22:48:39 | contains: true 2020-10-20 22:48:44 | [Mutex] waiting for: [user_regularf24stw0202@test-domain.com:message:received:content_6p4grx0206] 2020-10-20 22:48:44 | [Mutex] received everything. 2020-10-20 22:48:44 | [Mutex] isItemNotified: user_regularf24stw0202@test-domain.com:message:received:content_6p4grx0206 :: true 2020-10-20 22:48:44 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-10-20 22:48:44 | [Mutex] received everything. 2020-10-20 22:48:44 | [Mutex] isItemNotified: node_qg2uik0203:subscribe_node:success :: true 2020-10-20 22:48:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-20 22:48:44 | command: <data><node>node_qg2uik0203</node><expire-at>2020-10-21T05:48:49Z</expire-at><entry><content>content_sskiyx0207</content></entry></data> 2020-10-20 22:48:44 | target: http://localhost:8088 2020-10-20 22:48:44 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-20 22:48:44 | entity: <data><node>node_qg2uik0203</node><expire-at>2020-10-21T05:48:49Z</expire-at><entry><content>content_sskiyx0207</content></entry></data> 2020-10-20 22:48:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 21 Oct 2020 05:48:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-20 22:48:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e0a5e017-1d98-4fb3-949b-255bbefaef36</value></item-id></result> 2020-10-20 22:48:44 | contains: true 2020-10-20 22:48:53 | [Mutex] waiting for: [user_regularf24stw0202@test-domain.com:message:received:content_sskiyx0207] 2020-10-20 22:49:08 | [Mutex] timeout. Not received [user_regularf24stw0202@test-domain.com:message:received:content_sskiyx0207] 2020-10-20 22:49:08 | [Mutex] received everything. 2020-10-20 22:49:08 | [Mutex] isItemNotified: user_regularf24stw0202@test-domain.com:message:received:content_sskiyx0207 :: false 2020-10-20 22:49:08 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_sskiyx0207 :: true |