Test duration : 44.874s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.622s |
2022-08-26 07:19:59 |
2022-08-26 07:19:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-08-26 07:19:59 | ------------------------------------ 2022-08-26 07:19:59 | [Mutex] isItemNotified: node_4cubcs0204:exists :: false 2022-08-26 07:19:59 | [Mutex] waiting for: [node_4cubcs0204:create_node] 2022-08-26 07:19:59 | [Mutex] received everything. 2022-08-26 07:19:59 | [Mutex] isItemNotified: node_4cubcs0204:create_node:success :: true 2022-08-26 07:19:59 | [Mutex] waiting for: [node_4cubcs0204:subscribe_node] 2022-08-26 07:19:59 | [Mutex] received everything. 2022-08-26 07:19:59 | [Mutex] isItemNotified: node_4cubcs0204:subscribe_node:success :: true 2022-08-26 07:19:59 | ===== publishing normal message (to online) 2022-08-26 07:19:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-26 07:19:59 | command: <data><node>node_4cubcs0204</node><entry><content>content_kfustg0205</content></entry></data> 2022-08-26 07:19:59 | target: http://localhost:8088 2022-08-26 07:19:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-26 07:19:59 | entity: <data><node>node_4cubcs0204</node><entry><content>content_kfustg0205</content></entry></data> 2022-08-26 07:19:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Aug 2022 14:19:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-26 07:19:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>27ff0d34-4655-4d40-b327-0597b59dc4f9</value></item-id></result> 2022-08-26 07:19:59 | contains: true 2022-08-26 07:19:59 | [Mutex] received everything. 2022-08-26 07:19:59 | [Mutex] isItemNotified: user_regular2ccehb0203@test-domain.com:message:received:content_kfustg0205 :: true 2022-08-26 07:19:59 | ===== publishing already old message - expecting message being filtered out (to online) 2022-08-26 07:19:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-26 07:19:59 | command: <data><node>node_4cubcs0204</node><expire-at>2022-08-26T14:19:54Z</expire-at><entry><content>content_3a5gvu0206</content></entry></data> 2022-08-26 07:19:59 | target: http://localhost:8088 2022-08-26 07:19:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-26 07:19:59 | entity: <data><node>node_4cubcs0204</node><expire-at>2022-08-26T14:19:54Z</expire-at><entry><content>content_3a5gvu0206</content></entry></data> 2022-08-26 07:19:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Aug 2022 14:19:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-26 07:19:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>43dc9d86-1d22-49f9-8ba3-934c4075ef41</value></item-id></result> 2022-08-26 07:19:59 | contains: true 2022-08-26 07:19:59 | [Mutex] waiting for: [user_regular2ccehb0203@test-domain.com:message:received:content_3a5gvu0206] 2022-08-26 07:20:14 | [Mutex] timeout. Not received [user_regular2ccehb0203@test-domain.com:message:received:content_3a5gvu0206] 2022-08-26 07:20:14 | [Mutex] isItemNotified: user_regular2ccehb0203@test-domain.com:message:received:content_3a5gvu0206 :: false 2022-08-26 07:20:14 | ===== publishing normal message (to offline) 2022-08-26 07:20:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-26 07:20:14 | command: <data><node>node_4cubcs0204</node><entry><content>content_iwq8350207</content></entry></data> 2022-08-26 07:20:14 | target: http://localhost:8088 2022-08-26 07:20:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-26 07:20:14 | entity: <data><node>node_4cubcs0204</node><entry><content>content_iwq8350207</content></entry></data> 2022-08-26 07:20:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Aug 2022 14:20:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-26 07:20:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>bead1376-d1ba-4358-b235-537d5e6c2ed6</value></item-id></result> 2022-08-26 07:20:14 | contains: true 2022-08-26 07:20:20 | [Mutex] waiting for: [user_regular2ccehb0203@test-domain.com:message:received:content_iwq8350207] 2022-08-26 07:20:20 | [Mutex] received everything. 2022-08-26 07:20:20 | [Mutex] isItemNotified: user_regular2ccehb0203@test-domain.com:message:received:content_iwq8350207 :: true 2022-08-26 07:20:20 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-08-26 07:20:20 | [Mutex] received everything. 2022-08-26 07:20:20 | [Mutex] isItemNotified: node_4cubcs0204:subscribe_node:success :: true 2022-08-26 07:20:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-26 07:20:20 | command: <data><node>node_4cubcs0204</node><expire-at>2022-08-26T14:20:25Z</expire-at><entry><content>content_af0lig0208</content></entry></data> 2022-08-26 07:20:20 | target: http://localhost:8088 2022-08-26 07:20:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-26 07:20:20 | entity: <data><node>node_4cubcs0204</node><expire-at>2022-08-26T14:20:25Z</expire-at><entry><content>content_af0lig0208</content></entry></data> 2022-08-26 07:20:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Aug 2022 14:20:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-26 07:20:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3ea9b249-7f03-4f9c-af37-0e9d1e54ca4f</value></item-id></result> 2022-08-26 07:20:20 | contains: true 2022-08-26 07:20:28 | [Mutex] waiting for: [user_regular2ccehb0203@test-domain.com:message:received:content_af0lig0208] 2022-08-26 07:20:43 | [Mutex] timeout. Not received [user_regular2ccehb0203@test-domain.com:message:received:content_af0lig0208] 2022-08-26 07:20:43 | [Mutex] received everything. 2022-08-26 07:20:43 | [Mutex] isItemNotified: user_regular2ccehb0203@test-domain.com:message:received:content_af0lig0208 :: false 2022-08-26 07:20:43 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_af0lig0208 :: true |