Test duration : 45.441s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.703s |
2022-02-14 22:04:49 |
2022-02-14 22:04:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-02-14 22:04:49 | ------------------------------------ 2022-02-14 22:04:49 | [Mutex] isItemNotified: node_vq2ipy0203:exists :: false 2022-02-14 22:04:49 | [Mutex] waiting for: [node_vq2ipy0203:create_node] 2022-02-14 22:04:49 | [Mutex] received everything. 2022-02-14 22:04:49 | [Mutex] isItemNotified: node_vq2ipy0203:create_node:success :: true 2022-02-14 22:04:49 | [Mutex] waiting for: [node_vq2ipy0203:subscribe_node] 2022-02-14 22:04:49 | [Mutex] received everything. 2022-02-14 22:04:49 | [Mutex] isItemNotified: node_vq2ipy0203:subscribe_node:success :: true 2022-02-14 22:04:49 | ===== publishing normal message (to online) 2022-02-14 22:04:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-14 22:04:49 | command: <data><node>node_vq2ipy0203</node><entry><content>content_6fr77k0204</content></entry></data> 2022-02-14 22:04:49 | target: http://localhost:8088 2022-02-14 22:04:49 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-14 22:04:49 | entity: <data><node>node_vq2ipy0203</node><entry><content>content_6fr77k0204</content></entry></data> 2022-02-14 22:04:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Feb 2022 06:04:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-14 22:04:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>93e1a8a5-8a9b-4d69-af37-a639017200a7</value></item-id></result> 2022-02-14 22:04:49 | contains: true 2022-02-14 22:04:49 | [Mutex] received everything. 2022-02-14 22:04:49 | [Mutex] isItemNotified: user_regularrf74nn0202@test-domain.com:message:received:content_6fr77k0204 :: true 2022-02-14 22:04:49 | ===== publishing already old message - expecting message being filtered out (to online) 2022-02-14 22:04:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-14 22:04:49 | command: <data><node>node_vq2ipy0203</node><expire-at>2022-02-15T06:04:44Z</expire-at><entry><content>content_ew64f80205</content></entry></data> 2022-02-14 22:04:49 | target: http://localhost:8088 2022-02-14 22:04:49 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-14 22:04:49 | entity: <data><node>node_vq2ipy0203</node><expire-at>2022-02-15T06:04:44Z</expire-at><entry><content>content_ew64f80205</content></entry></data> 2022-02-14 22:04:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Feb 2022 06:04:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-14 22:04:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3b969b9f-c1d5-4668-a6e6-424980432b65</value></item-id></result> 2022-02-14 22:04:50 | contains: true 2022-02-14 22:04:50 | [Mutex] waiting for: [user_regularrf74nn0202@test-domain.com:message:received:content_ew64f80205] 2022-02-14 22:05:05 | [Mutex] timeout. Not received [user_regularrf74nn0202@test-domain.com:message:received:content_ew64f80205] 2022-02-14 22:05:05 | [Mutex] isItemNotified: user_regularrf74nn0202@test-domain.com:message:received:content_ew64f80205 :: false 2022-02-14 22:05:05 | ===== publishing normal message (to offline) 2022-02-14 22:05:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-14 22:05:05 | command: <data><node>node_vq2ipy0203</node><entry><content>content_w8rvh20206</content></entry></data> 2022-02-14 22:05:05 | target: http://localhost:8088 2022-02-14 22:05:05 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-14 22:05:05 | entity: <data><node>node_vq2ipy0203</node><entry><content>content_w8rvh20206</content></entry></data> 2022-02-14 22:05:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Feb 2022 06:05:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-14 22:05:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>80dc52a7-d076-46a8-9630-84ab453a7bb3</value></item-id></result> 2022-02-14 22:05:05 | contains: true 2022-02-14 22:05:10 | [Mutex] waiting for: [user_regularrf74nn0202@test-domain.com:message:received:content_w8rvh20206] 2022-02-14 22:05:10 | [Mutex] received everything. 2022-02-14 22:05:10 | [Mutex] isItemNotified: user_regularrf74nn0202@test-domain.com:message:received:content_w8rvh20206 :: true 2022-02-14 22:05:10 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-02-14 22:05:10 | [Mutex] received everything. 2022-02-14 22:05:10 | [Mutex] isItemNotified: node_vq2ipy0203:subscribe_node:success :: true 2022-02-14 22:05:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-14 22:05:10 | command: <data><node>node_vq2ipy0203</node><expire-at>2022-02-15T06:05:15Z</expire-at><entry><content>content_e9k3w90207</content></entry></data> 2022-02-14 22:05:10 | target: http://localhost:8088 2022-02-14 22:05:10 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-14 22:05:10 | entity: <data><node>node_vq2ipy0203</node><expire-at>2022-02-15T06:05:15Z</expire-at><entry><content>content_e9k3w90207</content></entry></data> 2022-02-14 22:05:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Feb 2022 06:05:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-14 22:05:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>aa3b4761-a299-4e4b-9b42-9fefc5fa2885</value></item-id></result> 2022-02-14 22:05:10 | contains: true 2022-02-14 22:05:18 | [Mutex] waiting for: [user_regularrf74nn0202@test-domain.com:message:received:content_e9k3w90207] 2022-02-14 22:05:18 | [Mutex] waiting for: [user_regularrf74nn0202@test-domain.com:message:received:content_e9k3w90207] 2022-02-14 22:05:33 | [Mutex] timeout. Not received [user_regularrf74nn0202@test-domain.com:message:received:content_e9k3w90207] 2022-02-14 22:05:33 | [Mutex] received everything. 2022-02-14 22:05:33 | [Mutex] isItemNotified: user_regularrf74nn0202@test-domain.com:message:received:content_e9k3w90207 :: false 2022-02-14 22:05:33 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_e9k3w90207 :: true |