Test duration : 45.444s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.745s |
2021-03-17 22:57:15 |
2021-03-17 22:57:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-03-17 22:57:15 | ------------------------------------ 2021-03-17 22:57:15 | [Mutex] isItemNotified: node_s57xad0203:exists :: false 2021-03-17 22:57:15 | [Mutex] waiting for: [node_s57xad0203:create_node] 2021-03-17 22:57:15 | [Mutex] received everything. 2021-03-17 22:57:15 | [Mutex] isItemNotified: node_s57xad0203:create_node:success :: true 2021-03-17 22:57:15 | [Mutex] waiting for: [node_s57xad0203:subscribe_node] 2021-03-17 22:57:15 | [Mutex] waiting for: [node_s57xad0203:subscribe_node] 2021-03-17 22:57:15 | [Mutex] received everything. 2021-03-17 22:57:15 | [Mutex] isItemNotified: node_s57xad0203:subscribe_node:success :: true 2021-03-17 22:57:15 | ===== publishing normal message (to online) 2021-03-17 22:57:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-17 22:57:15 | command: <data><node>node_s57xad0203</node><entry><content>content_mlvz9u0204</content></entry></data> 2021-03-17 22:57:15 | target: http://localhost:8088 2021-03-17 22:57:15 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-03-17 22:57:15 | entity: <data><node>node_s57xad0203</node><entry><content>content_mlvz9u0204</content></entry></data> 2021-03-17 22:57:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 18 Mar 2021 05:57:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-17 22:57:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ba368390-7798-47f2-a7fb-daf832d077ea</value></item-id></result> 2021-03-17 22:57:15 | contains: true 2021-03-17 22:57:15 | [Mutex] received everything. 2021-03-17 22:57:16 | [Mutex] isItemNotified: user_regularwbgizs0202@test-domain.com:message:received:content_mlvz9u0204 :: true 2021-03-17 22:57:16 | ===== publishing already old message - expecting message being filtered out (to online) 2021-03-17 22:57:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-17 22:57:16 | command: <data><node>node_s57xad0203</node><expire-at>2021-03-18T05:57:11Z</expire-at><entry><content>content_hkfb3e0205</content></entry></data> 2021-03-17 22:57:16 | target: http://localhost:8088 2021-03-17 22:57:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-03-17 22:57:16 | entity: <data><node>node_s57xad0203</node><expire-at>2021-03-18T05:57:11Z</expire-at><entry><content>content_hkfb3e0205</content></entry></data> 2021-03-17 22:57:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 18 Mar 2021 05:57:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-17 22:57:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6e7a0dcc-f3bc-4974-b6ef-f4ef48c521d1</value></item-id></result> 2021-03-17 22:57:16 | contains: true 2021-03-17 22:57:16 | [Mutex] waiting for: [user_regularwbgizs0202@test-domain.com:message:received:content_hkfb3e0205] 2021-03-17 22:57:31 | [Mutex] timeout. Not received [user_regularwbgizs0202@test-domain.com:message:received:content_hkfb3e0205] 2021-03-17 22:57:31 | [Mutex] isItemNotified: user_regularwbgizs0202@test-domain.com:message:received:content_hkfb3e0205 :: false 2021-03-17 22:57:31 | ===== publishing normal message (to offline) 2021-03-17 22:57:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-17 22:57:31 | command: <data><node>node_s57xad0203</node><entry><content>content_lkvvaq0206</content></entry></data> 2021-03-17 22:57:31 | target: http://localhost:8088 2021-03-17 22:57:31 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-03-17 22:57:31 | entity: <data><node>node_s57xad0203</node><entry><content>content_lkvvaq0206</content></entry></data> 2021-03-17 22:57:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 18 Mar 2021 05:57:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-17 22:57:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a396040e-b1f2-4a0e-ba2a-3e1841c9106e</value></item-id></result> 2021-03-17 22:57:31 | contains: true 2021-03-17 22:57:36 | [Mutex] waiting for: [user_regularwbgizs0202@test-domain.com:message:received:content_lkvvaq0206] 2021-03-17 22:57:36 | [Mutex] received everything. 2021-03-17 22:57:36 | [Mutex] isItemNotified: user_regularwbgizs0202@test-domain.com:message:received:content_lkvvaq0206 :: true 2021-03-17 22:57:36 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-03-17 22:57:36 | [Mutex] received everything. 2021-03-17 22:57:36 | [Mutex] isItemNotified: node_s57xad0203:subscribe_node:success :: true 2021-03-17 22:57:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-17 22:57:36 | command: <data><node>node_s57xad0203</node><expire-at>2021-03-18T05:57:41Z</expire-at><entry><content>content_ydn09d0207</content></entry></data> 2021-03-17 22:57:36 | target: http://localhost:8088 2021-03-17 22:57:36 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-03-17 22:57:36 | entity: <data><node>node_s57xad0203</node><expire-at>2021-03-18T05:57:41Z</expire-at><entry><content>content_ydn09d0207</content></entry></data> 2021-03-17 22:57:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 18 Mar 2021 05:57:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-17 22:57:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>04ac93d7-2235-44c0-b669-807645db08a9</value></item-id></result> 2021-03-17 22:57:36 | contains: true 2021-03-17 22:57:44 | [Mutex] waiting for: [user_regularwbgizs0202@test-domain.com:message:received:content_ydn09d0207] 2021-03-17 22:57:44 | [Mutex] waiting for: [user_regularwbgizs0202@test-domain.com:message:received:content_ydn09d0207] 2021-03-17 22:57:44 | [Mutex] waiting for: [user_regularwbgizs0202@test-domain.com:message:received:content_ydn09d0207] 2021-03-17 22:57:59 | [Mutex] timeout. Not received [user_regularwbgizs0202@test-domain.com:message:received:content_ydn09d0207] 2021-03-17 22:57:59 | [Mutex] received everything. 2021-03-17 22:57:59 | [Mutex] isItemNotified: user_regularwbgizs0202@test-domain.com:message:received:content_ydn09d0207 :: false 2021-03-17 22:57:59 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ydn09d0207 :: true |