Test duration : 44.566s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.587s |
2022-08-01 23:02:32 |
2022-08-01 23:02:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-08-01 23:02:32 | ------------------------------------ 2022-08-01 23:02:32 | [Mutex] isItemNotified: node_rexcsq0204:exists :: false 2022-08-01 23:02:32 | [Mutex] waiting for: [node_rexcsq0204:create_node] 2022-08-01 23:02:32 | [Mutex] received everything. 2022-08-01 23:02:32 | [Mutex] isItemNotified: node_rexcsq0204:create_node:success :: true 2022-08-01 23:02:32 | [Mutex] waiting for: [node_rexcsq0204:subscribe_node] 2022-08-01 23:02:32 | [Mutex] received everything. 2022-08-01 23:02:32 | [Mutex] isItemNotified: node_rexcsq0204:subscribe_node:success :: true 2022-08-01 23:02:32 | ===== publishing normal message (to online) 2022-08-01 23:02:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-01 23:02:32 | command: <data><node>node_rexcsq0204</node><entry><content>content_tdkxq00205</content></entry></data> 2022-08-01 23:02:32 | target: http://localhost:8088 2022-08-01 23:02:32 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-01 23:02:32 | entity: <data><node>node_rexcsq0204</node><entry><content>content_tdkxq00205</content></entry></data> 2022-08-01 23:02:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 02 Aug 2022 06:02:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-01 23:02:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c90508e1-bc24-4852-8cb8-94bcadeaca3e</value></item-id></result> 2022-08-01 23:02:32 | contains: true 2022-08-01 23:02:32 | [Mutex] waiting for: [user_regularj6b6yf0203@test-domain.com:message:received:content_tdkxq00205] 2022-08-01 23:02:32 | [Mutex] received everything. 2022-08-01 23:02:32 | [Mutex] isItemNotified: user_regularj6b6yf0203@test-domain.com:message:received:content_tdkxq00205 :: true 2022-08-01 23:02:32 | ===== publishing already old message - expecting message being filtered out (to online) 2022-08-01 23:02:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-01 23:02:32 | command: <data><node>node_rexcsq0204</node><expire-at>2022-08-02T06:02:27Z</expire-at><entry><content>content_t8b4s90206</content></entry></data> 2022-08-01 23:02:32 | target: http://localhost:8088 2022-08-01 23:02:32 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-01 23:02:32 | entity: <data><node>node_rexcsq0204</node><expire-at>2022-08-02T06:02:27Z</expire-at><entry><content>content_t8b4s90206</content></entry></data> 2022-08-01 23:02:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 02 Aug 2022 06:02:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-01 23:02:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d597e2ab-2e9b-4f45-8836-2b4c16f87566</value></item-id></result> 2022-08-01 23:02:32 | contains: true 2022-08-01 23:02:32 | [Mutex] waiting for: [user_regularj6b6yf0203@test-domain.com:message:received:content_t8b4s90206] 2022-08-01 23:02:47 | [Mutex] timeout. Not received [user_regularj6b6yf0203@test-domain.com:message:received:content_t8b4s90206] 2022-08-01 23:02:47 | [Mutex] isItemNotified: user_regularj6b6yf0203@test-domain.com:message:received:content_t8b4s90206 :: false 2022-08-01 23:02:47 | ===== publishing normal message (to offline) 2022-08-01 23:02:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-01 23:02:47 | command: <data><node>node_rexcsq0204</node><entry><content>content_smn85s0207</content></entry></data> 2022-08-01 23:02:47 | target: http://localhost:8088 2022-08-01 23:02:47 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-01 23:02:47 | entity: <data><node>node_rexcsq0204</node><entry><content>content_smn85s0207</content></entry></data> 2022-08-01 23:02:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 02 Aug 2022 06:02:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-01 23:02:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f44fb71c-1b3d-4321-8c49-4445a6d1ae20</value></item-id></result> 2022-08-01 23:02:47 | contains: true 2022-08-01 23:02:52 | [Mutex] waiting for: [user_regularj6b6yf0203@test-domain.com:message:received:content_smn85s0207] 2022-08-01 23:02:52 | [Mutex] received everything. 2022-08-01 23:02:52 | [Mutex] isItemNotified: user_regularj6b6yf0203@test-domain.com:message:received:content_smn85s0207 :: true 2022-08-01 23:02:52 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-08-01 23:02:52 | [Mutex] received everything. 2022-08-01 23:02:52 | [Mutex] isItemNotified: node_rexcsq0204:subscribe_node:success :: true 2022-08-01 23:02:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-01 23:02:52 | command: <data><node>node_rexcsq0204</node><expire-at>2022-08-02T06:02:57Z</expire-at><entry><content>content_w1j7zs0208</content></entry></data> 2022-08-01 23:02:52 | target: http://localhost:8088 2022-08-01 23:02:52 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-01 23:02:52 | entity: <data><node>node_rexcsq0204</node><expire-at>2022-08-02T06:02:57Z</expire-at><entry><content>content_w1j7zs0208</content></entry></data> 2022-08-01 23:02:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 02 Aug 2022 06:02:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-01 23:02:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7f7cf22f-74d9-49aa-937c-4505d8c8eab7</value></item-id></result> 2022-08-01 23:02:52 | contains: true 2022-08-01 23:03:00 | [Mutex] waiting for: [user_regularj6b6yf0203@test-domain.com:message:received:content_w1j7zs0208] 2022-08-01 23:03:00 | [Mutex] waiting for: [user_regularj6b6yf0203@test-domain.com:message:received:content_w1j7zs0208] 2022-08-01 23:03:15 | [Mutex] timeout. Not received [user_regularj6b6yf0203@test-domain.com:message:received:content_w1j7zs0208] 2022-08-01 23:03:15 | [Mutex] received everything. 2022-08-01 23:03:15 | [Mutex] isItemNotified: user_regularj6b6yf0203@test-domain.com:message:received:content_w1j7zs0208 :: false 2022-08-01 23:03:15 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_w1j7zs0208 :: true |