Test duration : 45.345s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.657s |
2020-09-25 22:35:51 |
2020-09-25 22:35:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-25 22:35:51 | ------------------------------------ 2020-09-25 22:35:51 | [Mutex] isItemNotified: node_318ldt0203:exists :: false 2020-09-25 22:35:51 | [Mutex] waiting for: [node_318ldt0203:create_node] 2020-09-25 22:35:51 | [Mutex] received everything. 2020-09-25 22:35:51 | [Mutex] isItemNotified: node_318ldt0203:create_node:success :: true 2020-09-25 22:35:51 | [Mutex] waiting for: [node_318ldt0203:subscribe_node] 2020-09-25 22:35:51 | [Mutex] waiting for: [node_318ldt0203:subscribe_node] 2020-09-25 22:35:51 | [Mutex] received everything. 2020-09-25 22:35:51 | [Mutex] isItemNotified: node_318ldt0203:subscribe_node:success :: true 2020-09-25 22:35:51 | ===== publishing normal message (to online) 2020-09-25 22:35:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-25 22:35:51 | command: <data><node>node_318ldt0203</node><entry><content>content_om7710204</content></entry></data> 2020-09-25 22:35:51 | target: http://localhost:8088 2020-09-25 22:35:51 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2020-09-25 22:35:51 | entity: <data><node>node_318ldt0203</node><entry><content>content_om7710204</content></entry></data> 2020-09-25 22:35:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 26 Sep 2020 05:35:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-25 22:35:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>501c4f03-330b-47f3-8d1c-1f3311bc4b7d</value></item-id></result> 2020-09-25 22:35:51 | contains: true 2020-09-25 22:35:51 | [Mutex] received everything. 2020-09-25 22:35:51 | [Mutex] isItemNotified: user_regularine1340202@test-domain.com:message:received:content_om7710204 :: true 2020-09-25 22:35:51 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-25 22:35:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-25 22:35:51 | command: <data><node>node_318ldt0203</node><expire-at>2020-09-26T05:35:46Z</expire-at><entry><content>content_r788gx0205</content></entry></data> 2020-09-25 22:35:51 | target: http://localhost:8088 2020-09-25 22:35:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-25 22:35:51 | entity: <data><node>node_318ldt0203</node><expire-at>2020-09-26T05:35:46Z</expire-at><entry><content>content_r788gx0205</content></entry></data> 2020-09-25 22:35:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 26 Sep 2020 05:35:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-25 22:35:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8181d508-d588-4cef-b880-1fe5264bb6ae</value></item-id></result> 2020-09-25 22:35:51 | contains: true 2020-09-25 22:35:51 | [Mutex] waiting for: [user_regularine1340202@test-domain.com:message:received:content_r788gx0205] 2020-09-25 22:36:06 | [Mutex] timeout. Not received [user_regularine1340202@test-domain.com:message:received:content_r788gx0205] 2020-09-25 22:36:06 | [Mutex] isItemNotified: user_regularine1340202@test-domain.com:message:received:content_r788gx0205 :: false 2020-09-25 22:36:06 | ===== publishing normal message (to offline) 2020-09-25 22:36:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-25 22:36:06 | command: <data><node>node_318ldt0203</node><entry><content>content_u1qahn0206</content></entry></data> 2020-09-25 22:36:06 | target: http://localhost:8088 2020-09-25 22:36:06 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-25 22:36:06 | entity: <data><node>node_318ldt0203</node><entry><content>content_u1qahn0206</content></entry></data> 2020-09-25 22:36:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 26 Sep 2020 05:36:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-25 22:36:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>68d69e59-e730-4df4-ab84-1e1f58ad34dd</value></item-id></result> 2020-09-25 22:36:06 | contains: true 2020-09-25 22:36:11 | [Mutex] waiting for: [user_regularine1340202@test-domain.com:message:received:content_u1qahn0206] 2020-09-25 22:36:11 | [Mutex] received everything. 2020-09-25 22:36:11 | [Mutex] isItemNotified: user_regularine1340202@test-domain.com:message:received:content_u1qahn0206 :: true 2020-09-25 22:36:11 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-25 22:36:11 | [Mutex] received everything. 2020-09-25 22:36:11 | [Mutex] isItemNotified: node_318ldt0203:subscribe_node:success :: true 2020-09-25 22:36:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-25 22:36:11 | command: <data><node>node_318ldt0203</node><expire-at>2020-09-26T05:36:16Z</expire-at><entry><content>content_i738ba0207</content></entry></data> 2020-09-25 22:36:11 | target: http://localhost:8088 2020-09-25 22:36:11 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-25 22:36:11 | entity: <data><node>node_318ldt0203</node><expire-at>2020-09-26T05:36:16Z</expire-at><entry><content>content_i738ba0207</content></entry></data> 2020-09-25 22:36:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 26 Sep 2020 05:36:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-25 22:36:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4299db3d-6b50-41cc-8606-a337d1974670</value></item-id></result> 2020-09-25 22:36:11 | contains: true 2020-09-25 22:36:19 | [Mutex] waiting for: [user_regularine1340202@test-domain.com:message:received:content_i738ba0207] 2020-09-25 22:36:19 | [Mutex] waiting for: [user_regularine1340202@test-domain.com:message:received:content_i738ba0207] 2020-09-25 22:36:34 | [Mutex] timeout. Not received [user_regularine1340202@test-domain.com:message:received:content_i738ba0207] 2020-09-25 22:36:34 | [Mutex] received everything. 2020-09-25 22:36:34 | [Mutex] isItemNotified: user_regularine1340202@test-domain.com:message:received:content_i738ba0207 :: false 2020-09-25 22:36:34 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_i738ba0207 :: true |