Test duration : 45.354s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.711s |
2021-09-20 23:29:48 |
2021-09-20 23:29:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-09-20 23:29:48 | ------------------------------------ 2021-09-20 23:29:48 | [Mutex] isItemNotified: node_lk0eqv0203:exists :: false 2021-09-20 23:29:48 | [Mutex] waiting for: [node_lk0eqv0203:create_node] 2021-09-20 23:29:48 | [Mutex] received everything. 2021-09-20 23:29:48 | [Mutex] isItemNotified: node_lk0eqv0203:create_node:success :: true 2021-09-20 23:29:48 | [Mutex] waiting for: [node_lk0eqv0203:subscribe_node] 2021-09-20 23:29:48 | [Mutex] waiting for: [node_lk0eqv0203:subscribe_node] 2021-09-20 23:29:48 | [Mutex] received everything. 2021-09-20 23:29:48 | [Mutex] isItemNotified: node_lk0eqv0203:subscribe_node:success :: true 2021-09-20 23:29:48 | ===== publishing normal message (to online) 2021-09-20 23:29:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-20 23:29:48 | command: <data><node>node_lk0eqv0203</node><entry><content>content_kaghlt0204</content></entry></data> 2021-09-20 23:29:48 | target: http://localhost:8088 2021-09-20 23:29:48 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-09-20 23:29:48 | entity: <data><node>node_lk0eqv0203</node><entry><content>content_kaghlt0204</content></entry></data> 2021-09-20 23:29:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 21 Sep 2021 06:29:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-20 23:29:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8f10cda5-58da-41d7-8c55-4164cc575548</value></item-id></result> 2021-09-20 23:29:49 | contains: true 2021-09-20 23:29:49 | [Mutex] waiting for: [user_regular90nhcf0202@test-domain.com:message:received:content_kaghlt0204] 2021-09-20 23:29:49 | [Mutex] received everything. 2021-09-20 23:29:49 | [Mutex] isItemNotified: user_regular90nhcf0202@test-domain.com:message:received:content_kaghlt0204 :: true 2021-09-20 23:29:49 | ===== publishing already old message - expecting message being filtered out (to online) 2021-09-20 23:29:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-20 23:29:49 | command: <data><node>node_lk0eqv0203</node><expire-at>2021-09-21T06:29:44Z</expire-at><entry><content>content_x5mi5t0205</content></entry></data> 2021-09-20 23:29:49 | target: http://localhost:8088 2021-09-20 23:29:49 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-09-20 23:29:49 | entity: <data><node>node_lk0eqv0203</node><expire-at>2021-09-21T06:29:44Z</expire-at><entry><content>content_x5mi5t0205</content></entry></data> 2021-09-20 23:29:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 21 Sep 2021 06:29:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-20 23:29:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5107c8ba-f6af-44de-95db-d9d1fbf5125d</value></item-id></result> 2021-09-20 23:29:49 | contains: true 2021-09-20 23:29:49 | [Mutex] waiting for: [user_regular90nhcf0202@test-domain.com:message:received:content_x5mi5t0205] 2021-09-20 23:30:04 | [Mutex] timeout. Not received [user_regular90nhcf0202@test-domain.com:message:received:content_x5mi5t0205] 2021-09-20 23:30:04 | [Mutex] isItemNotified: user_regular90nhcf0202@test-domain.com:message:received:content_x5mi5t0205 :: false 2021-09-20 23:30:04 | ===== publishing normal message (to offline) 2021-09-20 23:30:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-20 23:30:04 | command: <data><node>node_lk0eqv0203</node><entry><content>content_m1bjl80206</content></entry></data> 2021-09-20 23:30:04 | target: http://localhost:8088 2021-09-20 23:30:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-09-20 23:30:04 | entity: <data><node>node_lk0eqv0203</node><entry><content>content_m1bjl80206</content></entry></data> 2021-09-20 23:30:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 21 Sep 2021 06:30:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-20 23:30:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>cfc90fa1-e388-4d12-9219-3994bdbe76e8</value></item-id></result> 2021-09-20 23:30:04 | contains: true 2021-09-20 23:30:09 | [Mutex] waiting for: [user_regular90nhcf0202@test-domain.com:message:received:content_m1bjl80206] 2021-09-20 23:30:09 | [Mutex] received everything. 2021-09-20 23:30:09 | [Mutex] isItemNotified: user_regular90nhcf0202@test-domain.com:message:received:content_m1bjl80206 :: true 2021-09-20 23:30:09 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-09-20 23:30:09 | [Mutex] received everything. 2021-09-20 23:30:09 | [Mutex] isItemNotified: node_lk0eqv0203:subscribe_node:success :: true 2021-09-20 23:30:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-20 23:30:09 | command: <data><node>node_lk0eqv0203</node><expire-at>2021-09-21T06:30:14Z</expire-at><entry><content>content_x7h44n0207</content></entry></data> 2021-09-20 23:30:09 | target: http://localhost:8088 2021-09-20 23:30:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-09-20 23:30:09 | entity: <data><node>node_lk0eqv0203</node><expire-at>2021-09-21T06:30:14Z</expire-at><entry><content>content_x7h44n0207</content></entry></data> 2021-09-20 23:30:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 21 Sep 2021 06:30:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-20 23:30:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1e2ebe95-c410-446d-9b11-cb4b4ebdc207</value></item-id></result> 2021-09-20 23:30:09 | contains: true 2021-09-20 23:30:17 | [Mutex] waiting for: [user_regular90nhcf0202@test-domain.com:message:received:content_x7h44n0207] 2021-09-20 23:30:32 | [Mutex] timeout. Not received [user_regular90nhcf0202@test-domain.com:message:received:content_x7h44n0207] 2021-09-20 23:30:32 | [Mutex] received everything. 2021-09-20 23:30:32 | [Mutex] isItemNotified: user_regular90nhcf0202@test-domain.com:message:received:content_x7h44n0207 :: false 2021-09-20 23:30:32 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_x7h44n0207 :: true |