Test duration : 45.111s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.686s |
2021-05-03 22:57:49 |
2021-05-03 22:57:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-05-03 22:57:49 | ------------------------------------ 2021-05-03 22:57:49 | [Mutex] isItemNotified: node_pcxxuc0203:exists :: false 2021-05-03 22:57:49 | [Mutex] waiting for: [node_pcxxuc0203:create_node] 2021-05-03 22:57:49 | [Mutex] received everything. 2021-05-03 22:57:49 | [Mutex] isItemNotified: node_pcxxuc0203:create_node:success :: true 2021-05-03 22:57:49 | [Mutex] waiting for: [node_pcxxuc0203:subscribe_node] 2021-05-03 22:57:49 | [Mutex] waiting for: [node_pcxxuc0203:subscribe_node] 2021-05-03 22:57:49 | [Mutex] received everything. 2021-05-03 22:57:49 | [Mutex] isItemNotified: node_pcxxuc0203:subscribe_node:success :: true 2021-05-03 22:57:49 | ===== publishing normal message (to online) 2021-05-03 22:57:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-03 22:57:49 | command: <data><node>node_pcxxuc0203</node><entry><content>content_ov3x6m0204</content></entry></data> 2021-05-03 22:57:49 | target: http://localhost:8088 2021-05-03 22:57:49 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-03 22:57:49 | entity: <data><node>node_pcxxuc0203</node><entry><content>content_ov3x6m0204</content></entry></data> 2021-05-03 22:57:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 04 May 2021 05:57:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-03 22:57:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d59a92a9-10f0-4931-9ab9-7dd51fe7658d</value></item-id></result> 2021-05-03 22:57:49 | contains: true 2021-05-03 22:57:49 | [Mutex] waiting for: [user_regular5b0y710202@test-domain.com:message:received:content_ov3x6m0204] 2021-05-03 22:57:49 | [Mutex] received everything. 2021-05-03 22:57:49 | [Mutex] isItemNotified: user_regular5b0y710202@test-domain.com:message:received:content_ov3x6m0204 :: true 2021-05-03 22:57:49 | ===== publishing already old message - expecting message being filtered out (to online) 2021-05-03 22:57:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-03 22:57:49 | command: <data><node>node_pcxxuc0203</node><expire-at>2021-05-04T05:57:44Z</expire-at><entry><content>content_2qrqsa0205</content></entry></data> 2021-05-03 22:57:49 | target: http://localhost:8088 2021-05-03 22:57:49 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-03 22:57:49 | entity: <data><node>node_pcxxuc0203</node><expire-at>2021-05-04T05:57:44Z</expire-at><entry><content>content_2qrqsa0205</content></entry></data> 2021-05-03 22:57:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 04 May 2021 05:57:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-03 22:57:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9a5d6cae-1b74-4350-b1ad-c3b1594a9fc8</value></item-id></result> 2021-05-03 22:57:49 | contains: true 2021-05-03 22:57:49 | [Mutex] waiting for: [user_regular5b0y710202@test-domain.com:message:received:content_2qrqsa0205] 2021-05-03 22:58:04 | [Mutex] timeout. Not received [user_regular5b0y710202@test-domain.com:message:received:content_2qrqsa0205] 2021-05-03 22:58:04 | [Mutex] isItemNotified: user_regular5b0y710202@test-domain.com:message:received:content_2qrqsa0205 :: false 2021-05-03 22:58:04 | ===== publishing normal message (to offline) 2021-05-03 22:58:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-03 22:58:04 | command: <data><node>node_pcxxuc0203</node><entry><content>content_eblg2m0206</content></entry></data> 2021-05-03 22:58:04 | target: http://localhost:8088 2021-05-03 22:58:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-03 22:58:04 | entity: <data><node>node_pcxxuc0203</node><entry><content>content_eblg2m0206</content></entry></data> 2021-05-03 22:58:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 04 May 2021 05:58:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-03 22:58:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a2034c6f-5a29-43cf-b862-ca3eae573c20</value></item-id></result> 2021-05-03 22:58:04 | contains: true 2021-05-03 22:58:09 | [Mutex] waiting for: [user_regular5b0y710202@test-domain.com:message:received:content_eblg2m0206] 2021-05-03 22:58:09 | [Mutex] waiting for: [user_regular5b0y710202@test-domain.com:message:received:content_eblg2m0206] 2021-05-03 22:58:09 | [Mutex] received everything. 2021-05-03 22:58:09 | [Mutex] isItemNotified: user_regular5b0y710202@test-domain.com:message:received:content_eblg2m0206 :: true 2021-05-03 22:58:09 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-05-03 22:58:09 | [Mutex] received everything. 2021-05-03 22:58:09 | [Mutex] isItemNotified: node_pcxxuc0203:subscribe_node:success :: true 2021-05-03 22:58:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-03 22:58:09 | command: <data><node>node_pcxxuc0203</node><expire-at>2021-05-04T05:58:14Z</expire-at><entry><content>content_q7xt440207</content></entry></data> 2021-05-03 22:58:09 | target: http://localhost:8088 2021-05-03 22:58:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-03 22:58:09 | entity: <data><node>node_pcxxuc0203</node><expire-at>2021-05-04T05:58:14Z</expire-at><entry><content>content_q7xt440207</content></entry></data> 2021-05-03 22:58:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 04 May 2021 05:58:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-03 22:58:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>54ac92a2-7c44-4c82-ae32-3f52cc6e8929</value></item-id></result> 2021-05-03 22:58:09 | contains: true 2021-05-03 22:58:17 | [Mutex] waiting for: [user_regular5b0y710202@test-domain.com:message:received:content_q7xt440207] 2021-05-03 22:58:17 | [Mutex] waiting for: [user_regular5b0y710202@test-domain.com:message:received:content_q7xt440207] 2021-05-03 22:58:32 | [Mutex] timeout. Not received [user_regular5b0y710202@test-domain.com:message:received:content_q7xt440207] 2021-05-03 22:58:32 | [Mutex] received everything. 2021-05-03 22:58:32 | [Mutex] isItemNotified: user_regular5b0y710202@test-domain.com:message:received:content_q7xt440207 :: false 2021-05-03 22:58:32 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_q7xt440207 :: true |