Test duration : 45.300s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.724s |
2021-04-21 22:17:28 |
2021-04-21 22:17:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-04-21 22:17:28 | ------------------------------------ 2021-04-21 22:17:28 | [Mutex] isItemNotified: node_v69vrj0203:exists :: false 2021-04-21 22:17:28 | [Mutex] waiting for: [node_v69vrj0203:create_node] 2021-04-21 22:17:28 | [Mutex] received everything. 2021-04-21 22:17:28 | [Mutex] isItemNotified: node_v69vrj0203:create_node:success :: true 2021-04-21 22:17:28 | [Mutex] waiting for: [node_v69vrj0203:subscribe_node] 2021-04-21 22:17:28 | [Mutex] waiting for: [node_v69vrj0203:subscribe_node] 2021-04-21 22:17:28 | [Mutex] received everything. 2021-04-21 22:17:28 | [Mutex] isItemNotified: node_v69vrj0203:subscribe_node:success :: true 2021-04-21 22:17:28 | ===== publishing normal message (to online) 2021-04-21 22:17:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-21 22:17:28 | command: <data><node>node_v69vrj0203</node><entry><content>content_al6m810204</content></entry></data> 2021-04-21 22:17:28 | target: http://localhost:8088 2021-04-21 22:17:28 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-04-21 22:17:28 | entity: <data><node>node_v69vrj0203</node><entry><content>content_al6m810204</content></entry></data> 2021-04-21 22:17:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 22 Apr 2021 05:17:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-21 22:17:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3581330b-971a-44cd-b009-b69b8b134f08</value></item-id></result> 2021-04-21 22:17:28 | contains: true 2021-04-21 22:17:28 | [Mutex] received everything. 2021-04-21 22:17:28 | [Mutex] isItemNotified: user_regular8r9u730202@test-domain.com:message:received:content_al6m810204 :: true 2021-04-21 22:17:28 | ===== publishing already old message - expecting message being filtered out (to online) 2021-04-21 22:17:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-21 22:17:28 | command: <data><node>node_v69vrj0203</node><expire-at>2021-04-22T05:17:23Z</expire-at><entry><content>content_2ma9b0205</content></entry></data> 2021-04-21 22:17:28 | target: http://localhost:8088 2021-04-21 22:17:28 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2021-04-21 22:17:28 | entity: <data><node>node_v69vrj0203</node><expire-at>2021-04-22T05:17:23Z</expire-at><entry><content>content_2ma9b0205</content></entry></data> 2021-04-21 22:17:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 22 Apr 2021 05:17:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-21 22:17:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4fe3653e-129e-442e-98cd-ffe887a80eb4</value></item-id></result> 2021-04-21 22:17:29 | contains: true 2021-04-21 22:17:29 | [Mutex] waiting for: [user_regular8r9u730202@test-domain.com:message:received:content_2ma9b0205] 2021-04-21 22:17:44 | [Mutex] timeout. Not received [user_regular8r9u730202@test-domain.com:message:received:content_2ma9b0205] 2021-04-21 22:17:44 | [Mutex] isItemNotified: user_regular8r9u730202@test-domain.com:message:received:content_2ma9b0205 :: false 2021-04-21 22:17:44 | ===== publishing normal message (to offline) 2021-04-21 22:17:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-21 22:17:44 | command: <data><node>node_v69vrj0203</node><entry><content>content_6vbh5u0206</content></entry></data> 2021-04-21 22:17:44 | target: http://localhost:8088 2021-04-21 22:17:44 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-04-21 22:17:44 | entity: <data><node>node_v69vrj0203</node><entry><content>content_6vbh5u0206</content></entry></data> 2021-04-21 22:17:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 22 Apr 2021 05:17:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-21 22:17:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>084bb5f2-3886-46a1-977a-8e76d13f3158</value></item-id></result> 2021-04-21 22:17:44 | contains: true 2021-04-21 22:17:49 | [Mutex] waiting for: [user_regular8r9u730202@test-domain.com:message:received:content_6vbh5u0206] 2021-04-21 22:17:49 | [Mutex] waiting for: [user_regular8r9u730202@test-domain.com:message:received:content_6vbh5u0206] 2021-04-21 22:17:49 | [Mutex] received everything. 2021-04-21 22:17:49 | [Mutex] isItemNotified: user_regular8r9u730202@test-domain.com:message:received:content_6vbh5u0206 :: true 2021-04-21 22:17:49 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-04-21 22:17:49 | [Mutex] received everything. 2021-04-21 22:17:49 | [Mutex] isItemNotified: node_v69vrj0203:subscribe_node:success :: true 2021-04-21 22:17:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-21 22:17:49 | command: <data><node>node_v69vrj0203</node><expire-at>2021-04-22T05:17:54Z</expire-at><entry><content>content_n7lacj0207</content></entry></data> 2021-04-21 22:17:49 | target: http://localhost:8088 2021-04-21 22:17:49 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-04-21 22:17:49 | entity: <data><node>node_v69vrj0203</node><expire-at>2021-04-22T05:17:54Z</expire-at><entry><content>content_n7lacj0207</content></entry></data> 2021-04-21 22:17:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 22 Apr 2021 05:17:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-21 22:17:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>bcf05e2e-03f7-48de-95ce-7a1ab9c020f2</value></item-id></result> 2021-04-21 22:17:49 | contains: true 2021-04-21 22:17:57 | [Mutex] waiting for: [user_regular8r9u730202@test-domain.com:message:received:content_n7lacj0207] 2021-04-21 22:17:57 | [Mutex] waiting for: [user_regular8r9u730202@test-domain.com:message:received:content_n7lacj0207] 2021-04-21 22:17:57 | [Mutex] waiting for: [user_regular8r9u730202@test-domain.com:message:received:content_n7lacj0207] 2021-04-21 22:18:12 | [Mutex] timeout. Not received [user_regular8r9u730202@test-domain.com:message:received:content_n7lacj0207] 2021-04-21 22:18:12 | [Mutex] received everything. 2021-04-21 22:18:12 | [Mutex] isItemNotified: user_regular8r9u730202@test-domain.com:message:received:content_n7lacj0207 :: false 2021-04-21 22:18:12 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_n7lacj0207 :: true |