Test duration : 45.093s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.756s |
2021-11-16 21:44:26 |
2021-11-16 21:44:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-11-16 21:44:26 | ------------------------------------ 2021-11-16 21:44:26 | [Mutex] isItemNotified: node_s0vuia0203:exists :: false 2021-11-16 21:44:26 | [Mutex] waiting for: [node_s0vuia0203:create_node] 2021-11-16 21:44:26 | [Mutex] received everything. 2021-11-16 21:44:26 | [Mutex] isItemNotified: node_s0vuia0203:create_node:success :: true 2021-11-16 21:44:26 | [Mutex] waiting for: [node_s0vuia0203:subscribe_node] 2021-11-16 21:44:26 | [Mutex] received everything. 2021-11-16 21:44:26 | [Mutex] isItemNotified: node_s0vuia0203:subscribe_node:success :: true 2021-11-16 21:44:26 | ===== publishing normal message (to online) 2021-11-16 21:44:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-11-16 21:44:26 | command: <data><node>node_s0vuia0203</node><entry><content>content_hyqzu20204</content></entry></data> 2021-11-16 21:44:26 | target: http://localhost:8088 2021-11-16 21:44:26 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-11-16 21:44:26 | entity: <data><node>node_s0vuia0203</node><entry><content>content_hyqzu20204</content></entry></data> 2021-11-16 21:44:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 17 Nov 2021 05:44:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-11-16 21:44:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a78dea79-3d87-43cb-8d29-350db2728c27</value></item-id></result> 2021-11-16 21:44:26 | contains: true 2021-11-16 21:44:26 | [Mutex] waiting for: [user_regulardckpby0202@test-domain.com:message:received:content_hyqzu20204] 2021-11-16 21:44:26 | [Mutex] received everything. 2021-11-16 21:44:26 | [Mutex] isItemNotified: user_regulardckpby0202@test-domain.com:message:received:content_hyqzu20204 :: true 2021-11-16 21:44:26 | ===== publishing already old message - expecting message being filtered out (to online) 2021-11-16 21:44:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-11-16 21:44:26 | command: <data><node>node_s0vuia0203</node><expire-at>2021-11-17T05:44:21Z</expire-at><entry><content>content_5hyt6k0205</content></entry></data> 2021-11-16 21:44:26 | target: http://localhost:8088 2021-11-16 21:44:26 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-11-16 21:44:26 | entity: <data><node>node_s0vuia0203</node><expire-at>2021-11-17T05:44:21Z</expire-at><entry><content>content_5hyt6k0205</content></entry></data> 2021-11-16 21:44:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 17 Nov 2021 05:44:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-11-16 21:44:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>96c34b37-5c85-42d0-b48b-1035929b99f6</value></item-id></result> 2021-11-16 21:44:26 | contains: true 2021-11-16 21:44:26 | [Mutex] waiting for: [user_regulardckpby0202@test-domain.com:message:received:content_5hyt6k0205] 2021-11-16 21:44:41 | [Mutex] timeout. Not received [user_regulardckpby0202@test-domain.com:message:received:content_5hyt6k0205] 2021-11-16 21:44:41 | [Mutex] isItemNotified: user_regulardckpby0202@test-domain.com:message:received:content_5hyt6k0205 :: false 2021-11-16 21:44:41 | ===== publishing normal message (to offline) 2021-11-16 21:44:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-11-16 21:44:41 | command: <data><node>node_s0vuia0203</node><entry><content>content_vohtlh0206</content></entry></data> 2021-11-16 21:44:41 | target: http://localhost:8088 2021-11-16 21:44:41 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-11-16 21:44:41 | entity: <data><node>node_s0vuia0203</node><entry><content>content_vohtlh0206</content></entry></data> 2021-11-16 21:44:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 17 Nov 2021 05:44:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-11-16 21:44:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>381abb5c-30ab-43b1-a04d-3fff9b19663c</value></item-id></result> 2021-11-16 21:44:41 | contains: true 2021-11-16 21:44:47 | [Mutex] waiting for: [user_regulardckpby0202@test-domain.com:message:received:content_vohtlh0206] 2021-11-16 21:44:47 | [Mutex] waiting for: [user_regulardckpby0202@test-domain.com:message:received:content_vohtlh0206] 2021-11-16 21:44:47 | [Mutex] received everything. 2021-11-16 21:44:47 | [Mutex] isItemNotified: user_regulardckpby0202@test-domain.com:message:received:content_vohtlh0206 :: true 2021-11-16 21:44:47 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-11-16 21:44:47 | [Mutex] received everything. 2021-11-16 21:44:47 | [Mutex] isItemNotified: node_s0vuia0203:subscribe_node:success :: true 2021-11-16 21:44:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-11-16 21:44:47 | command: <data><node>node_s0vuia0203</node><expire-at>2021-11-17T05:44:52Z</expire-at><entry><content>content_2tsyn50207</content></entry></data> 2021-11-16 21:44:47 | target: http://localhost:8088 2021-11-16 21:44:47 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-11-16 21:44:47 | entity: <data><node>node_s0vuia0203</node><expire-at>2021-11-17T05:44:52Z</expire-at><entry><content>content_2tsyn50207</content></entry></data> 2021-11-16 21:44:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 17 Nov 2021 05:44:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-11-16 21:44:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>56c4b926-02c9-466d-9037-0bb2be62d745</value></item-id></result> 2021-11-16 21:44:47 | contains: true 2021-11-16 21:44:55 | [Mutex] waiting for: [user_regulardckpby0202@test-domain.com:message:received:content_2tsyn50207] 2021-11-16 21:45:10 | [Mutex] timeout. Not received [user_regulardckpby0202@test-domain.com:message:received:content_2tsyn50207] 2021-11-16 21:45:10 | [Mutex] received everything. 2021-11-16 21:45:10 | [Mutex] isItemNotified: user_regulardckpby0202@test-domain.com:message:received:content_2tsyn50207 :: false 2021-11-16 21:45:10 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_2tsyn50207 :: true |