Test duration : 45.121s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.644s |
2021-05-14 22:30:09 |
2021-05-14 22:30:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-05-14 22:30:09 | ------------------------------------ 2021-05-14 22:30:09 | [Mutex] isItemNotified: node_8msbrc0203:exists :: false 2021-05-14 22:30:09 | [Mutex] waiting for: [node_8msbrc0203:create_node] 2021-05-14 22:30:09 | [Mutex] received everything. 2021-05-14 22:30:09 | [Mutex] isItemNotified: node_8msbrc0203:create_node:success :: true 2021-05-14 22:30:09 | [Mutex] waiting for: [node_8msbrc0203:subscribe_node] 2021-05-14 22:30:09 | [Mutex] received everything. 2021-05-14 22:30:09 | [Mutex] isItemNotified: node_8msbrc0203:subscribe_node:success :: true 2021-05-14 22:30:09 | ===== publishing normal message (to online) 2021-05-14 22:30:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-14 22:30:09 | command: <data><node>node_8msbrc0203</node><entry><content>content_8838cb0204</content></entry></data> 2021-05-14 22:30:09 | target: http://localhost:8088 2021-05-14 22:30:09 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-14 22:30:09 | entity: <data><node>node_8msbrc0203</node><entry><content>content_8838cb0204</content></entry></data> 2021-05-14 22:30:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 15 May 2021 05:30:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-14 22:30:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7d67f406-8766-4f22-9ca9-db98ae548bad</value></item-id></result> 2021-05-14 22:30:09 | contains: true 2021-05-14 22:30:09 | [Mutex] received everything. 2021-05-14 22:30:09 | [Mutex] isItemNotified: user_regulare9hir90202@test-domain.com:message:received:content_8838cb0204 :: true 2021-05-14 22:30:09 | ===== publishing already old message - expecting message being filtered out (to online) 2021-05-14 22:30:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-14 22:30:09 | command: <data><node>node_8msbrc0203</node><expire-at>2021-05-15T05:30:04Z</expire-at><entry><content>content_6hr50f0205</content></entry></data> 2021-05-14 22:30:09 | target: http://localhost:8088 2021-05-14 22:30:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-14 22:30:09 | entity: <data><node>node_8msbrc0203</node><expire-at>2021-05-15T05:30:04Z</expire-at><entry><content>content_6hr50f0205</content></entry></data> 2021-05-14 22:30:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 15 May 2021 05:30:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-14 22:30:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>06561d3f-ace1-40b6-b44b-cea474181896</value></item-id></result> 2021-05-14 22:30:09 | contains: true 2021-05-14 22:30:09 | [Mutex] waiting for: [user_regulare9hir90202@test-domain.com:message:received:content_6hr50f0205] 2021-05-14 22:30:24 | [Mutex] timeout. Not received [user_regulare9hir90202@test-domain.com:message:received:content_6hr50f0205] 2021-05-14 22:30:24 | [Mutex] isItemNotified: user_regulare9hir90202@test-domain.com:message:received:content_6hr50f0205 :: false 2021-05-14 22:30:24 | ===== publishing normal message (to offline) 2021-05-14 22:30:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-14 22:30:24 | command: <data><node>node_8msbrc0203</node><entry><content>content_hfzukq0206</content></entry></data> 2021-05-14 22:30:24 | target: http://localhost:8088 2021-05-14 22:30:24 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-14 22:30:24 | entity: <data><node>node_8msbrc0203</node><entry><content>content_hfzukq0206</content></entry></data> 2021-05-14 22:30:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 15 May 2021 05:30:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-14 22:30:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>52b0eef7-a907-457a-94e6-34722a097867</value></item-id></result> 2021-05-14 22:30:24 | contains: true 2021-05-14 22:30:29 | [Mutex] waiting for: [user_regulare9hir90202@test-domain.com:message:received:content_hfzukq0206] 2021-05-14 22:30:29 | [Mutex] received everything. 2021-05-14 22:30:29 | [Mutex] isItemNotified: user_regulare9hir90202@test-domain.com:message:received:content_hfzukq0206 :: true 2021-05-14 22:30:29 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-05-14 22:30:29 | [Mutex] received everything. 2021-05-14 22:30:29 | [Mutex] isItemNotified: node_8msbrc0203:subscribe_node:success :: true 2021-05-14 22:30:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-14 22:30:29 | command: <data><node>node_8msbrc0203</node><expire-at>2021-05-15T05:30:34Z</expire-at><entry><content>content_x6gd20207</content></entry></data> 2021-05-14 22:30:29 | target: http://localhost:8088 2021-05-14 22:30:29 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2021-05-14 22:30:29 | entity: <data><node>node_8msbrc0203</node><expire-at>2021-05-15T05:30:34Z</expire-at><entry><content>content_x6gd20207</content></entry></data> 2021-05-14 22:30:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 15 May 2021 05:30:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-14 22:30:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>62e57423-2d5b-4638-8d79-1810d629c9b7</value></item-id></result> 2021-05-14 22:30:29 | contains: true 2021-05-14 22:30:37 | [Mutex] waiting for: [user_regulare9hir90202@test-domain.com:message:received:content_x6gd20207] 2021-05-14 22:30:37 | [Mutex] waiting for: [user_regulare9hir90202@test-domain.com:message:received:content_x6gd20207] 2021-05-14 22:30:52 | [Mutex] timeout. Not received [user_regulare9hir90202@test-domain.com:message:received:content_x6gd20207] 2021-05-14 22:30:52 | [Mutex] received everything. 2021-05-14 22:30:52 | [Mutex] isItemNotified: user_regulare9hir90202@test-domain.com:message:received:content_x6gd20207 :: false 2021-05-14 22:30:52 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_x6gd20207 :: true |