Test duration : 45.008s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.648s |
2022-08-28 23:03:16 |
2022-08-28 23:03:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-08-28 23:03:16 | ------------------------------------ 2022-08-28 23:03:16 | [Mutex] isItemNotified: node_t1zax80204:exists :: false 2022-08-28 23:03:16 | [Mutex] waiting for: [node_t1zax80204:create_node] 2022-08-28 23:03:16 | [Mutex] received everything. 2022-08-28 23:03:16 | [Mutex] isItemNotified: node_t1zax80204:create_node:success :: true 2022-08-28 23:03:16 | [Mutex] waiting for: [node_t1zax80204:subscribe_node] 2022-08-28 23:03:16 | [Mutex] waiting for: [node_t1zax80204:subscribe_node] 2022-08-28 23:03:16 | [Mutex] received everything. 2022-08-28 23:03:16 | [Mutex] isItemNotified: node_t1zax80204:subscribe_node:success :: true 2022-08-28 23:03:16 | ===== publishing normal message (to online) 2022-08-28 23:03:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-28 23:03:16 | command: <data><node>node_t1zax80204</node><entry><content>content_agfa3y0205</content></entry></data> 2022-08-28 23:03:16 | target: http://localhost:8088 2022-08-28 23:03:16 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-28 23:03:16 | entity: <data><node>node_t1zax80204</node><entry><content>content_agfa3y0205</content></entry></data> 2022-08-28 23:03:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 29 Aug 2022 06:03:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-28 23:03:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>63e5b92b-0c2f-4b5d-bb97-d4ff47847e0e</value></item-id></result> 2022-08-28 23:03:16 | contains: true 2022-08-28 23:03:16 | [Mutex] received everything. 2022-08-28 23:03:16 | [Mutex] isItemNotified: user_regularkhuycu0203@test-domain.com:message:received:content_agfa3y0205 :: true 2022-08-28 23:03:16 | ===== publishing already old message - expecting message being filtered out (to online) 2022-08-28 23:03:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-28 23:03:16 | command: <data><node>node_t1zax80204</node><expire-at>2022-08-29T06:03:11Z</expire-at><entry><content>content_95m2ib0206</content></entry></data> 2022-08-28 23:03:16 | target: http://localhost:8088 2022-08-28 23:03:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-28 23:03:16 | entity: <data><node>node_t1zax80204</node><expire-at>2022-08-29T06:03:11Z</expire-at><entry><content>content_95m2ib0206</content></entry></data> 2022-08-28 23:03:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 29 Aug 2022 06:03:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-28 23:03:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6d8b61b1-2460-4b8c-91e0-f97ca1324feb</value></item-id></result> 2022-08-28 23:03:17 | contains: true 2022-08-28 23:03:17 | [Mutex] waiting for: [user_regularkhuycu0203@test-domain.com:message:received:content_95m2ib0206] 2022-08-28 23:03:32 | [Mutex] timeout. Not received [user_regularkhuycu0203@test-domain.com:message:received:content_95m2ib0206] 2022-08-28 23:03:32 | [Mutex] isItemNotified: user_regularkhuycu0203@test-domain.com:message:received:content_95m2ib0206 :: false 2022-08-28 23:03:32 | ===== publishing normal message (to offline) 2022-08-28 23:03:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-28 23:03:32 | command: <data><node>node_t1zax80204</node><entry><content>content_us46fi0207</content></entry></data> 2022-08-28 23:03:32 | target: http://localhost:8088 2022-08-28 23:03:32 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-28 23:03:32 | entity: <data><node>node_t1zax80204</node><entry><content>content_us46fi0207</content></entry></data> 2022-08-28 23:03:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 29 Aug 2022 06:03:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-28 23:03:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>08142a1f-d63c-4398-a02c-74e3f5d244a0</value></item-id></result> 2022-08-28 23:03:32 | contains: true 2022-08-28 23:03:37 | [Mutex] waiting for: [user_regularkhuycu0203@test-domain.com:message:received:content_us46fi0207] 2022-08-28 23:03:37 | [Mutex] received everything. 2022-08-28 23:03:37 | [Mutex] isItemNotified: user_regularkhuycu0203@test-domain.com:message:received:content_us46fi0207 :: true 2022-08-28 23:03:37 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-08-28 23:03:37 | [Mutex] received everything. 2022-08-28 23:03:37 | [Mutex] isItemNotified: node_t1zax80204:subscribe_node:success :: true 2022-08-28 23:03:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-28 23:03:37 | command: <data><node>node_t1zax80204</node><expire-at>2022-08-29T06:03:42Z</expire-at><entry><content>content_kb4wo80208</content></entry></data> 2022-08-28 23:03:37 | target: http://localhost:8088 2022-08-28 23:03:37 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-28 23:03:37 | entity: <data><node>node_t1zax80204</node><expire-at>2022-08-29T06:03:42Z</expire-at><entry><content>content_kb4wo80208</content></entry></data> 2022-08-28 23:03:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 29 Aug 2022 06:03:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-28 23:03:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6682510e-e63c-409d-8af3-c0b190da34bb</value></item-id></result> 2022-08-28 23:03:37 | contains: true 2022-08-28 23:03:45 | [Mutex] waiting for: [user_regularkhuycu0203@test-domain.com:message:received:content_kb4wo80208] 2022-08-28 23:03:45 | [Mutex] waiting for: [user_regularkhuycu0203@test-domain.com:message:received:content_kb4wo80208] 2022-08-28 23:03:45 | [Mutex] waiting for: [user_regularkhuycu0203@test-domain.com:message:received:content_kb4wo80208] 2022-08-28 23:04:00 | [Mutex] timeout. Not received [user_regularkhuycu0203@test-domain.com:message:received:content_kb4wo80208] 2022-08-28 23:04:00 | [Mutex] received everything. 2022-08-28 23:04:00 | [Mutex] isItemNotified: user_regularkhuycu0203@test-domain.com:message:received:content_kb4wo80208 :: false 2022-08-28 23:04:00 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_kb4wo80208 :: true |