Test duration : 45.536s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.676s |
2021-05-09 22:41:29 |
2021-05-09 22:41:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-05-09 22:41:29 | ------------------------------------ 2021-05-09 22:41:29 | [Mutex] isItemNotified: node_5itodc0203:exists :: false 2021-05-09 22:41:29 | [Mutex] waiting for: [node_5itodc0203:create_node] 2021-05-09 22:41:29 | [Mutex] received everything. 2021-05-09 22:41:29 | [Mutex] isItemNotified: node_5itodc0203:create_node:success :: true 2021-05-09 22:41:29 | [Mutex] waiting for: [node_5itodc0203:subscribe_node] 2021-05-09 22:41:29 | [Mutex] waiting for: [node_5itodc0203:subscribe_node] 2021-05-09 22:41:29 | [Mutex] received everything. 2021-05-09 22:41:29 | [Mutex] isItemNotified: node_5itodc0203:subscribe_node:success :: true 2021-05-09 22:41:29 | ===== publishing normal message (to online) 2021-05-09 22:41:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-09 22:41:29 | command: <data><node>node_5itodc0203</node><entry><content>content_18s5hh0204</content></entry></data> 2021-05-09 22:41:29 | target: http://localhost:8088 2021-05-09 22:41:29 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-09 22:41:29 | entity: <data><node>node_5itodc0203</node><entry><content>content_18s5hh0204</content></entry></data> 2021-05-09 22:41:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 May 2021 05:41:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-09 22:41:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3cfa5013-9f0a-4966-bc05-20b992c2a3f8</value></item-id></result> 2021-05-09 22:41:29 | contains: true 2021-05-09 22:41:29 | [Mutex] received everything. 2021-05-09 22:41:29 | [Mutex] isItemNotified: user_regularkwlr520202@test-domain.com:message:received:content_18s5hh0204 :: true 2021-05-09 22:41:29 | ===== publishing already old message - expecting message being filtered out (to online) 2021-05-09 22:41:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-09 22:41:29 | command: <data><node>node_5itodc0203</node><expire-at>2021-05-10T05:41:24Z</expire-at><entry><content>content_cwvh110205</content></entry></data> 2021-05-09 22:41:29 | target: http://localhost:8088 2021-05-09 22:41:29 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-09 22:41:29 | entity: <data><node>node_5itodc0203</node><expire-at>2021-05-10T05:41:24Z</expire-at><entry><content>content_cwvh110205</content></entry></data> 2021-05-09 22:41:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 May 2021 05:41:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-09 22:41:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>31fef129-0ac8-49c7-ad4b-9acf1c8b8955</value></item-id></result> 2021-05-09 22:41:29 | contains: true 2021-05-09 22:41:29 | [Mutex] waiting for: [user_regularkwlr520202@test-domain.com:message:received:content_cwvh110205] 2021-05-09 22:41:44 | [Mutex] timeout. Not received [user_regularkwlr520202@test-domain.com:message:received:content_cwvh110205] 2021-05-09 22:41:44 | [Mutex] isItemNotified: user_regularkwlr520202@test-domain.com:message:received:content_cwvh110205 :: false 2021-05-09 22:41:44 | ===== publishing normal message (to offline) 2021-05-09 22:41:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-09 22:41:44 | command: <data><node>node_5itodc0203</node><entry><content>content_f5tc2n0206</content></entry></data> 2021-05-09 22:41:44 | target: http://localhost:8088 2021-05-09 22:41:44 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-09 22:41:44 | entity: <data><node>node_5itodc0203</node><entry><content>content_f5tc2n0206</content></entry></data> 2021-05-09 22:41:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 May 2021 05:41:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-09 22:41:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a2da20a2-0706-40d6-899f-c42bc16e5ee1</value></item-id></result> 2021-05-09 22:41:44 | contains: true 2021-05-09 22:41:49 | [Mutex] waiting for: [user_regularkwlr520202@test-domain.com:message:received:content_f5tc2n0206] 2021-05-09 22:41:49 | [Mutex] waiting for: [user_regularkwlr520202@test-domain.com:message:received:content_f5tc2n0206] 2021-05-09 22:41:49 | [Mutex] received everything. 2021-05-09 22:41:49 | [Mutex] isItemNotified: user_regularkwlr520202@test-domain.com:message:received:content_f5tc2n0206 :: true 2021-05-09 22:41:49 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-05-09 22:41:49 | [Mutex] received everything. 2021-05-09 22:41:49 | [Mutex] isItemNotified: node_5itodc0203:subscribe_node:success :: true 2021-05-09 22:41:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-09 22:41:49 | command: <data><node>node_5itodc0203</node><expire-at>2021-05-10T05:41:54Z</expire-at><entry><content>content_kk6ui40207</content></entry></data> 2021-05-09 22:41:49 | target: http://localhost:8088 2021-05-09 22:41:49 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-09 22:41:49 | entity: <data><node>node_5itodc0203</node><expire-at>2021-05-10T05:41:54Z</expire-at><entry><content>content_kk6ui40207</content></entry></data> 2021-05-09 22:41:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 May 2021 05:41:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-09 22:41:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6c206b46-7242-43e9-9002-e00cb601e7a7</value></item-id></result> 2021-05-09 22:41:49 | contains: true 2021-05-09 22:41:57 | [Mutex] waiting for: [user_regularkwlr520202@test-domain.com:message:received:content_kk6ui40207] 2021-05-09 22:41:57 | [Mutex] waiting for: [user_regularkwlr520202@test-domain.com:message:received:content_kk6ui40207] 2021-05-09 22:42:12 | [Mutex] timeout. Not received [user_regularkwlr520202@test-domain.com:message:received:content_kk6ui40207] 2021-05-09 22:42:12 | [Mutex] received everything. 2021-05-09 22:42:12 | [Mutex] isItemNotified: user_regularkwlr520202@test-domain.com:message:received:content_kk6ui40207 :: false 2021-05-09 22:42:12 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_kk6ui40207 :: true |