Test duration : 45.289s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.761s |
2020-10-21 22:59:28 |
2020-10-21 22:59:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-10-21 22:59:28 | ------------------------------------ 2020-10-21 22:59:28 | [Mutex] isItemNotified: node_srbnx70203:exists :: false 2020-10-21 22:59:28 | [Mutex] waiting for: [node_srbnx70203:create_node] 2020-10-21 22:59:28 | [Mutex] received everything. 2020-10-21 22:59:28 | [Mutex] isItemNotified: node_srbnx70203:create_node:success :: true 2020-10-21 22:59:28 | [Mutex] waiting for: [node_srbnx70203:subscribe_node] 2020-10-21 22:59:28 | [Mutex] waiting for: [node_srbnx70203:subscribe_node] 2020-10-21 22:59:28 | [Mutex] received everything. 2020-10-21 22:59:28 | [Mutex] isItemNotified: node_srbnx70203:subscribe_node:success :: true 2020-10-21 22:59:28 | ===== publishing normal message (to online) 2020-10-21 22:59:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-21 22:59:28 | command: <data><node>node_srbnx70203</node><entry><content>content_1q2rm90204</content></entry></data> 2020-10-21 22:59:28 | target: http://localhost:8088 2020-10-21 22:59:28 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-21 22:59:28 | entity: <data><node>node_srbnx70203</node><entry><content>content_1q2rm90204</content></entry></data> 2020-10-21 22:59:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 22 Oct 2020 05:59:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-21 22:59:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>bdcd7f8f-f743-4e70-8a49-3492f9987eb9</value></item-id></result> 2020-10-21 22:59:28 | contains: true 2020-10-21 22:59:28 | [Mutex] received everything. 2020-10-21 22:59:28 | [Mutex] isItemNotified: user_regularukm7et0202@test-domain.com:message:received:content_1q2rm90204 :: true 2020-10-21 22:59:28 | ===== publishing already old message - expecting message being filtered out (to online) 2020-10-21 22:59:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-21 22:59:28 | command: <data><node>node_srbnx70203</node><expire-at>2020-10-22T05:59:23Z</expire-at><entry><content>content_s37ol00205</content></entry></data> 2020-10-21 22:59:28 | target: http://localhost:8088 2020-10-21 22:59:28 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-21 22:59:28 | entity: <data><node>node_srbnx70203</node><expire-at>2020-10-22T05:59:23Z</expire-at><entry><content>content_s37ol00205</content></entry></data> 2020-10-21 22:59:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 22 Oct 2020 05:59:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-21 22:59:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a8175342-1532-4514-9947-4ad6d87ad360</value></item-id></result> 2020-10-21 22:59:28 | contains: true 2020-10-21 22:59:28 | [Mutex] waiting for: [user_regularukm7et0202@test-domain.com:message:received:content_s37ol00205] 2020-10-21 22:59:43 | [Mutex] timeout. Not received [user_regularukm7et0202@test-domain.com:message:received:content_s37ol00205] 2020-10-21 22:59:43 | [Mutex] isItemNotified: user_regularukm7et0202@test-domain.com:message:received:content_s37ol00205 :: false 2020-10-21 22:59:43 | ===== publishing normal message (to offline) 2020-10-21 22:59:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-21 22:59:43 | command: <data><node>node_srbnx70203</node><entry><content>content_p042350206</content></entry></data> 2020-10-21 22:59:43 | target: http://localhost:8088 2020-10-21 22:59:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-21 22:59:43 | entity: <data><node>node_srbnx70203</node><entry><content>content_p042350206</content></entry></data> 2020-10-21 22:59:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 22 Oct 2020 05:59:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-21 22:59:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fe4fde9b-094c-48ea-a6b7-fe8176afdfb2</value></item-id></result> 2020-10-21 22:59:43 | contains: true 2020-10-21 22:59:49 | [Mutex] waiting for: [user_regularukm7et0202@test-domain.com:message:received:content_p042350206] 2020-10-21 22:59:49 | [Mutex] received everything. 2020-10-21 22:59:49 | [Mutex] isItemNotified: user_regularukm7et0202@test-domain.com:message:received:content_p042350206 :: true 2020-10-21 22:59:49 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-10-21 22:59:49 | [Mutex] received everything. 2020-10-21 22:59:49 | [Mutex] isItemNotified: node_srbnx70203:subscribe_node:success :: true 2020-10-21 22:59:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-21 22:59:49 | command: <data><node>node_srbnx70203</node><expire-at>2020-10-22T05:59:54Z</expire-at><entry><content>content_lqlzzm0207</content></entry></data> 2020-10-21 22:59:49 | target: http://localhost:8088 2020-10-21 22:59:49 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-21 22:59:49 | entity: <data><node>node_srbnx70203</node><expire-at>2020-10-22T05:59:54Z</expire-at><entry><content>content_lqlzzm0207</content></entry></data> 2020-10-21 22:59:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 22 Oct 2020 05:59:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-21 22:59:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>28bb195f-941f-446e-9744-2d6655a26691</value></item-id></result> 2020-10-21 22:59:49 | contains: true 2020-10-21 22:59:57 | [Mutex] waiting for: [user_regularukm7et0202@test-domain.com:message:received:content_lqlzzm0207] 2020-10-21 23:00:12 | [Mutex] timeout. Not received [user_regularukm7et0202@test-domain.com:message:received:content_lqlzzm0207] 2020-10-21 23:00:12 | [Mutex] received everything. 2020-10-21 23:00:12 | [Mutex] isItemNotified: user_regularukm7et0202@test-domain.com:message:received:content_lqlzzm0207 :: false 2020-10-21 23:00:12 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_lqlzzm0207 :: true |