Test duration : 45.135s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.688s |
2020-09-17 23:50:59 |
2020-09-17 23:50:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-17 23:50:59 | ------------------------------------ 2020-09-17 23:50:59 | [Mutex] isItemNotified: node_lzk7qc0203:exists :: false 2020-09-17 23:50:59 | [Mutex] waiting for: [node_lzk7qc0203:create_node] 2020-09-17 23:50:59 | [Mutex] received everything. 2020-09-17 23:50:59 | [Mutex] isItemNotified: node_lzk7qc0203:create_node:success :: true 2020-09-17 23:50:59 | [Mutex] waiting for: [node_lzk7qc0203:subscribe_node] 2020-09-17 23:50:59 | [Mutex] received everything. 2020-09-17 23:50:59 | [Mutex] isItemNotified: node_lzk7qc0203:subscribe_node:success :: true 2020-09-17 23:50:59 | ===== publishing normal message (to online) 2020-09-17 23:50:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-17 23:50:59 | command: <data><node>node_lzk7qc0203</node><entry><content>content_3r5f260204</content></entry></data> 2020-09-17 23:50:59 | target: http://localhost:8088 2020-09-17 23:50:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-17 23:50:59 | entity: <data><node>node_lzk7qc0203</node><entry><content>content_3r5f260204</content></entry></data> 2020-09-17 23:50:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 06:50:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-17 23:50:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f904d2aa-e53d-41d9-ade2-fa7309de2959</value></item-id></result> 2020-09-17 23:50:59 | contains: true 2020-09-17 23:50:59 | [Mutex] received everything. 2020-09-17 23:50:59 | [Mutex] isItemNotified: user_regularfzzf250202@test-domain.com:message:received:content_3r5f260204 :: true 2020-09-17 23:50:59 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-17 23:50:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-17 23:50:59 | command: <data><node>node_lzk7qc0203</node><expire-at>2020-09-18T06:50:54Z</expire-at><entry><content>content_tlurpx0205</content></entry></data> 2020-09-17 23:50:59 | target: http://localhost:8088 2020-09-17 23:50:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-17 23:50:59 | entity: <data><node>node_lzk7qc0203</node><expire-at>2020-09-18T06:50:54Z</expire-at><entry><content>content_tlurpx0205</content></entry></data> 2020-09-17 23:50:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 06:50:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-17 23:50:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7bbf99d3-d7e6-4191-ab73-9eb18e8af270</value></item-id></result> 2020-09-17 23:50:59 | contains: true 2020-09-17 23:50:59 | [Mutex] waiting for: [user_regularfzzf250202@test-domain.com:message:received:content_tlurpx0205] 2020-09-17 23:51:14 | [Mutex] timeout. Not received [user_regularfzzf250202@test-domain.com:message:received:content_tlurpx0205] 2020-09-17 23:51:14 | [Mutex] isItemNotified: user_regularfzzf250202@test-domain.com:message:received:content_tlurpx0205 :: false 2020-09-17 23:51:14 | ===== publishing normal message (to offline) 2020-09-17 23:51:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-17 23:51:15 | command: <data><node>node_lzk7qc0203</node><entry><content>content_6bj40l0206</content></entry></data> 2020-09-17 23:51:15 | target: http://localhost:8088 2020-09-17 23:51:15 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-17 23:51:15 | entity: <data><node>node_lzk7qc0203</node><entry><content>content_6bj40l0206</content></entry></data> 2020-09-17 23:51:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 06:51:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-17 23:51:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0245d74c-2b5b-4d38-8448-b95e418ae867</value></item-id></result> 2020-09-17 23:51:15 | contains: true 2020-09-17 23:51:20 | [Mutex] waiting for: [user_regularfzzf250202@test-domain.com:message:received:content_6bj40l0206] 2020-09-17 23:51:20 | [Mutex] received everything. 2020-09-17 23:51:20 | [Mutex] isItemNotified: user_regularfzzf250202@test-domain.com:message:received:content_6bj40l0206 :: true 2020-09-17 23:51:20 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-17 23:51:20 | [Mutex] received everything. 2020-09-17 23:51:20 | [Mutex] isItemNotified: node_lzk7qc0203:subscribe_node:success :: true 2020-09-17 23:51:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-17 23:51:20 | command: <data><node>node_lzk7qc0203</node><expire-at>2020-09-18T06:51:25Z</expire-at><entry><content>content_i4r4k40207</content></entry></data> 2020-09-17 23:51:20 | target: http://localhost:8088 2020-09-17 23:51:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-17 23:51:20 | entity: <data><node>node_lzk7qc0203</node><expire-at>2020-09-18T06:51:25Z</expire-at><entry><content>content_i4r4k40207</content></entry></data> 2020-09-17 23:51:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 06:51:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-17 23:51:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>85f2018d-ddc0-480f-9c05-67b27fefb4e1</value></item-id></result> 2020-09-17 23:51:20 | contains: true 2020-09-17 23:51:28 | [Mutex] waiting for: [user_regularfzzf250202@test-domain.com:message:received:content_i4r4k40207] 2020-09-17 23:51:28 | [Mutex] waiting for: [user_regularfzzf250202@test-domain.com:message:received:content_i4r4k40207] 2020-09-17 23:51:43 | [Mutex] timeout. Not received [user_regularfzzf250202@test-domain.com:message:received:content_i4r4k40207] 2020-09-17 23:51:43 | [Mutex] received everything. 2020-09-17 23:51:43 | [Mutex] isItemNotified: user_regularfzzf250202@test-domain.com:message:received:content_i4r4k40207 :: false 2020-09-17 23:51:43 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_i4r4k40207 :: true |