Test duration : 45.107s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.737s |
2020-09-05 00:06:34 |
2020-09-05 00:06:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-05 00:06:34 | ------------------------------------ 2020-09-05 00:06:34 | [Mutex] isItemNotified: node_in6cdx0203:exists :: false 2020-09-05 00:06:34 | [Mutex] waiting for: [node_in6cdx0203:create_node] 2020-09-05 00:06:34 | [Mutex] received everything. 2020-09-05 00:06:34 | [Mutex] isItemNotified: node_in6cdx0203:create_node:success :: true 2020-09-05 00:06:34 | [Mutex] waiting for: [node_in6cdx0203:subscribe_node] 2020-09-05 00:06:34 | [Mutex] waiting for: [node_in6cdx0203:subscribe_node] 2020-09-05 00:06:34 | [Mutex] received everything. 2020-09-05 00:06:34 | [Mutex] isItemNotified: node_in6cdx0203:subscribe_node:success :: true 2020-09-05 00:06:34 | ===== publishing normal message (to online) 2020-09-05 00:06:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-05 00:06:34 | command: <data><node>node_in6cdx0203</node><entry><content>content_3pzh8k0204</content></entry></data> 2020-09-05 00:06:34 | target: http://localhost:8088 2020-09-05 00:06:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-05 00:06:34 | entity: <data><node>node_in6cdx0203</node><entry><content>content_3pzh8k0204</content></entry></data> 2020-09-05 00:06:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 05 Sep 2020 07:06:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-05 00:06:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a1b167ea-8874-4886-8d92-2bf15a9dbba8</value></item-id></result> 2020-09-05 00:06:34 | contains: true 2020-09-05 00:06:34 | [Mutex] received everything. 2020-09-05 00:06:34 | [Mutex] isItemNotified: user_regularakl1ti0202@test-domain.com:message:received:content_3pzh8k0204 :: true 2020-09-05 00:06:34 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-05 00:06:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-05 00:06:34 | command: <data><node>node_in6cdx0203</node><expire-at>2020-09-05T07:06:29Z</expire-at><entry><content>content_9551ev0205</content></entry></data> 2020-09-05 00:06:34 | target: http://localhost:8088 2020-09-05 00:06:34 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-05 00:06:34 | entity: <data><node>node_in6cdx0203</node><expire-at>2020-09-05T07:06:29Z</expire-at><entry><content>content_9551ev0205</content></entry></data> 2020-09-05 00:06:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 05 Sep 2020 07:06:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-05 00:06:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>606d45f6-a4a5-476f-9921-c4acbae45a53</value></item-id></result> 2020-09-05 00:06:34 | contains: true 2020-09-05 00:06:34 | [Mutex] waiting for: [user_regularakl1ti0202@test-domain.com:message:received:content_9551ev0205] 2020-09-05 00:06:49 | [Mutex] timeout. Not received [user_regularakl1ti0202@test-domain.com:message:received:content_9551ev0205] 2020-09-05 00:06:49 | [Mutex] isItemNotified: user_regularakl1ti0202@test-domain.com:message:received:content_9551ev0205 :: false 2020-09-05 00:06:49 | ===== publishing normal message (to offline) 2020-09-05 00:06:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-05 00:06:49 | command: <data><node>node_in6cdx0203</node><entry><content>content_yl8a6p0206</content></entry></data> 2020-09-05 00:06:49 | target: http://localhost:8088 2020-09-05 00:06:49 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-05 00:06:49 | entity: <data><node>node_in6cdx0203</node><entry><content>content_yl8a6p0206</content></entry></data> 2020-09-05 00:06:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 05 Sep 2020 07:06:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-05 00:06:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>68f07841-98f5-40f0-b3b7-f7cfe778cb36</value></item-id></result> 2020-09-05 00:06:49 | contains: true 2020-09-05 00:06:54 | [Mutex] waiting for: [user_regularakl1ti0202@test-domain.com:message:received:content_yl8a6p0206] 2020-09-05 00:06:54 | [Mutex] waiting for: [user_regularakl1ti0202@test-domain.com:message:received:content_yl8a6p0206] 2020-09-05 00:06:54 | [Mutex] received everything. 2020-09-05 00:06:54 | [Mutex] isItemNotified: user_regularakl1ti0202@test-domain.com:message:received:content_yl8a6p0206 :: true 2020-09-05 00:06:54 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-05 00:06:54 | [Mutex] received everything. 2020-09-05 00:06:54 | [Mutex] isItemNotified: node_in6cdx0203:subscribe_node:success :: true 2020-09-05 00:06:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-05 00:06:54 | command: <data><node>node_in6cdx0203</node><expire-at>2020-09-05T07:06:59Z</expire-at><entry><content>content_11fo4l0207</content></entry></data> 2020-09-05 00:06:54 | target: http://localhost:8088 2020-09-05 00:06:54 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-05 00:06:54 | entity: <data><node>node_in6cdx0203</node><expire-at>2020-09-05T07:06:59Z</expire-at><entry><content>content_11fo4l0207</content></entry></data> 2020-09-05 00:06:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 05 Sep 2020 07:06:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-05 00:06:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fbcc6356-8eab-4886-b44b-b2ead5c85d85</value></item-id></result> 2020-09-05 00:06:54 | contains: true 2020-09-05 00:07:03 | [Mutex] waiting for: [user_regularakl1ti0202@test-domain.com:message:received:content_11fo4l0207] 2020-09-05 00:07:03 | [Mutex] waiting for: [user_regularakl1ti0202@test-domain.com:message:received:content_11fo4l0207] 2020-09-05 00:07:18 | [Mutex] timeout. Not received [user_regularakl1ti0202@test-domain.com:message:received:content_11fo4l0207] 2020-09-05 00:07:18 | [Mutex] received everything. 2020-09-05 00:07:18 | [Mutex] isItemNotified: user_regularakl1ti0202@test-domain.com:message:received:content_11fo4l0207 :: false 2020-09-05 00:07:18 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_11fo4l0207 :: true |