Test duration : 45.722s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.689s |
2020-09-28 23:10:38 |
2020-09-28 23:10:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-28 23:10:38 | ------------------------------------ 2020-09-28 23:10:38 | [Mutex] isItemNotified: node_6lufh30203:exists :: false 2020-09-28 23:10:38 | [Mutex] waiting for: [node_6lufh30203:create_node] 2020-09-28 23:10:38 | [Mutex] received everything. 2020-09-28 23:10:38 | [Mutex] isItemNotified: node_6lufh30203:create_node:success :: true 2020-09-28 23:10:38 | [Mutex] waiting for: [node_6lufh30203:subscribe_node] 2020-09-28 23:10:38 | [Mutex] waiting for: [node_6lufh30203:subscribe_node] 2020-09-28 23:10:38 | [Mutex] received everything. 2020-09-28 23:10:38 | [Mutex] isItemNotified: node_6lufh30203:subscribe_node:success :: true 2020-09-28 23:10:38 | ===== publishing normal message (to online) 2020-09-28 23:10:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-28 23:10:38 | command: <data><node>node_6lufh30203</node><entry><content>content_viuvr20204</content></entry></data> 2020-09-28 23:10:38 | target: http://localhost:8088 2020-09-28 23:10:38 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-28 23:10:38 | entity: <data><node>node_6lufh30203</node><entry><content>content_viuvr20204</content></entry></data> 2020-09-28 23:10:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 29 Sep 2020 06:10:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-28 23:10:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>17f7ab59-c839-4709-88ee-0186c849a23c</value></item-id></result> 2020-09-28 23:10:38 | contains: true 2020-09-28 23:10:38 | [Mutex] received everything. 2020-09-28 23:10:38 | [Mutex] isItemNotified: user_regular39wu5l0202@test-domain.com:message:received:content_viuvr20204 :: true 2020-09-28 23:10:38 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-28 23:10:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-28 23:10:38 | command: <data><node>node_6lufh30203</node><expire-at>2020-09-29T06:10:33Z</expire-at><entry><content>content_ny208s0205</content></entry></data> 2020-09-28 23:10:38 | target: http://localhost:8088 2020-09-28 23:10:38 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-28 23:10:38 | entity: <data><node>node_6lufh30203</node><expire-at>2020-09-29T06:10:33Z</expire-at><entry><content>content_ny208s0205</content></entry></data> 2020-09-28 23:10:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 29 Sep 2020 06:10:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-28 23:10:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4e4d36de-aaaa-4f19-9dcb-04b3913e8d83</value></item-id></result> 2020-09-28 23:10:38 | contains: true 2020-09-28 23:10:38 | [Mutex] waiting for: [user_regular39wu5l0202@test-domain.com:message:received:content_ny208s0205] 2020-09-28 23:10:53 | [Mutex] timeout. Not received [user_regular39wu5l0202@test-domain.com:message:received:content_ny208s0205] 2020-09-28 23:10:53 | [Mutex] isItemNotified: user_regular39wu5l0202@test-domain.com:message:received:content_ny208s0205 :: false 2020-09-28 23:10:53 | ===== publishing normal message (to offline) 2020-09-28 23:10:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-28 23:10:53 | command: <data><node>node_6lufh30203</node><entry><content>content_xqrhiy0206</content></entry></data> 2020-09-28 23:10:53 | target: http://localhost:8088 2020-09-28 23:10:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-28 23:10:53 | entity: <data><node>node_6lufh30203</node><entry><content>content_xqrhiy0206</content></entry></data> 2020-09-28 23:10:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 29 Sep 2020 06:10:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-28 23:10:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>434a2130-453e-4095-8df6-057c8f81719e</value></item-id></result> 2020-09-28 23:10:53 | contains: true 2020-09-28 23:10:58 | [Mutex] waiting for: [user_regular39wu5l0202@test-domain.com:message:received:content_xqrhiy0206] 2020-09-28 23:10:58 | [Mutex] waiting for: [user_regular39wu5l0202@test-domain.com:message:received:content_xqrhiy0206] 2020-09-28 23:10:58 | [Mutex] received everything. 2020-09-28 23:10:58 | [Mutex] isItemNotified: user_regular39wu5l0202@test-domain.com:message:received:content_xqrhiy0206 :: true 2020-09-28 23:10:58 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-28 23:10:58 | [Mutex] received everything. 2020-09-28 23:10:58 | [Mutex] isItemNotified: node_6lufh30203:subscribe_node:success :: true 2020-09-28 23:10:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-28 23:10:58 | command: <data><node>node_6lufh30203</node><expire-at>2020-09-29T06:11:03Z</expire-at><entry><content>content_5jpeso0207</content></entry></data> 2020-09-28 23:10:58 | target: http://localhost:8088 2020-09-28 23:10:58 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-28 23:10:58 | entity: <data><node>node_6lufh30203</node><expire-at>2020-09-29T06:11:03Z</expire-at><entry><content>content_5jpeso0207</content></entry></data> 2020-09-28 23:10:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 29 Sep 2020 06:10:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-28 23:10:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8dcec304-b9b2-4d5d-b9d9-0f50a1fed0de</value></item-id></result> 2020-09-28 23:10:58 | contains: true 2020-09-28 23:11:07 | [Mutex] waiting for: [user_regular39wu5l0202@test-domain.com:message:received:content_5jpeso0207] 2020-09-28 23:11:07 | [Mutex] waiting for: [user_regular39wu5l0202@test-domain.com:message:received:content_5jpeso0207] 2020-09-28 23:11:22 | [Mutex] timeout. Not received [user_regular39wu5l0202@test-domain.com:message:received:content_5jpeso0207] 2020-09-28 23:11:22 | [Mutex] received everything. 2020-09-28 23:11:22 | [Mutex] isItemNotified: user_regular39wu5l0202@test-domain.com:message:received:content_5jpeso0207 :: false 2020-09-28 23:11:22 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_5jpeso0207 :: true |