Test duration : 45.339s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.653s |
2021-01-27 21:27:43 |
2021-01-27 21:27:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-01-27 21:27:43 | ------------------------------------ 2021-01-27 21:27:43 | [Mutex] isItemNotified: node_38e4zy0203:exists :: false 2021-01-27 21:27:43 | [Mutex] waiting for: [node_38e4zy0203:create_node] 2021-01-27 21:27:43 | [Mutex] received everything. 2021-01-27 21:27:43 | [Mutex] isItemNotified: node_38e4zy0203:create_node:success :: true 2021-01-27 21:27:43 | [Mutex] waiting for: [node_38e4zy0203:subscribe_node] 2021-01-27 21:27:43 | [Mutex] waiting for: [node_38e4zy0203:subscribe_node] 2021-01-27 21:27:43 | [Mutex] received everything. 2021-01-27 21:27:43 | [Mutex] isItemNotified: node_38e4zy0203:subscribe_node:success :: true 2021-01-27 21:27:43 | ===== publishing normal message (to online) 2021-01-27 21:27:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-27 21:27:43 | command: <data><node>node_38e4zy0203</node><entry><content>content_v1w4rm0204</content></entry></data> 2021-01-27 21:27:43 | target: http://localhost:8088 2021-01-27 21:27:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-01-27 21:27:43 | entity: <data><node>node_38e4zy0203</node><entry><content>content_v1w4rm0204</content></entry></data> 2021-01-27 21:27:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Jan 2021 05:27:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-27 21:27:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>adab3ed1-3709-4e19-8f37-dff8b69b0a6a</value></item-id></result> 2021-01-27 21:27:43 | contains: true 2021-01-27 21:27:43 | [Mutex] received everything. 2021-01-27 21:27:43 | [Mutex] isItemNotified: user_regularpwd6490202@test-domain.com:message:received:content_v1w4rm0204 :: true 2021-01-27 21:27:43 | ===== publishing already old message - expecting message being filtered out (to online) 2021-01-27 21:27:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-27 21:27:43 | command: <data><node>node_38e4zy0203</node><expire-at>2021-01-28T05:27:38Z</expire-at><entry><content>content_ousxd0205</content></entry></data> 2021-01-27 21:27:43 | target: http://localhost:8088 2021-01-27 21:27:43 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2021-01-27 21:27:43 | entity: <data><node>node_38e4zy0203</node><expire-at>2021-01-28T05:27:38Z</expire-at><entry><content>content_ousxd0205</content></entry></data> 2021-01-27 21:27:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Jan 2021 05:27:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-27 21:27:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>810605a1-f1e1-45a3-957b-a3d29aa2a68f</value></item-id></result> 2021-01-27 21:27:43 | contains: true 2021-01-27 21:27:43 | [Mutex] waiting for: [user_regularpwd6490202@test-domain.com:message:received:content_ousxd0205] 2021-01-27 21:27:58 | [Mutex] timeout. Not received [user_regularpwd6490202@test-domain.com:message:received:content_ousxd0205] 2021-01-27 21:27:58 | [Mutex] isItemNotified: user_regularpwd6490202@test-domain.com:message:received:content_ousxd0205 :: false 2021-01-27 21:27:58 | ===== publishing normal message (to offline) 2021-01-27 21:27:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-27 21:27:58 | command: <data><node>node_38e4zy0203</node><entry><content>content_prorye0206</content></entry></data> 2021-01-27 21:27:58 | target: http://localhost:8088 2021-01-27 21:27:58 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-01-27 21:27:58 | entity: <data><node>node_38e4zy0203</node><entry><content>content_prorye0206</content></entry></data> 2021-01-27 21:27:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Jan 2021 05:27:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-27 21:27:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f501f4f6-7661-40d6-87ba-5aa390910622</value></item-id></result> 2021-01-27 21:27:58 | contains: true 2021-01-27 21:28:03 | [Mutex] waiting for: [user_regularpwd6490202@test-domain.com:message:received:content_prorye0206] 2021-01-27 21:28:03 | [Mutex] received everything. 2021-01-27 21:28:03 | [Mutex] isItemNotified: user_regularpwd6490202@test-domain.com:message:received:content_prorye0206 :: true 2021-01-27 21:28:03 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-01-27 21:28:03 | [Mutex] received everything. 2021-01-27 21:28:03 | [Mutex] isItemNotified: node_38e4zy0203:subscribe_node:success :: true 2021-01-27 21:28:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-27 21:28:03 | command: <data><node>node_38e4zy0203</node><expire-at>2021-01-28T05:28:08Z</expire-at><entry><content>content_scsbbb0207</content></entry></data> 2021-01-27 21:28:03 | target: http://localhost:8088 2021-01-27 21:28:03 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-01-27 21:28:03 | entity: <data><node>node_38e4zy0203</node><expire-at>2021-01-28T05:28:08Z</expire-at><entry><content>content_scsbbb0207</content></entry></data> 2021-01-27 21:28:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Jan 2021 05:28:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-27 21:28:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0844fcd6-6c14-4ca2-a07c-bef935e7ed16</value></item-id></result> 2021-01-27 21:28:03 | contains: true 2021-01-27 21:28:11 | [Mutex] waiting for: [user_regularpwd6490202@test-domain.com:message:received:content_scsbbb0207] 2021-01-27 21:28:26 | [Mutex] timeout. Not received [user_regularpwd6490202@test-domain.com:message:received:content_scsbbb0207] 2021-01-27 21:28:26 | [Mutex] received everything. 2021-01-27 21:28:26 | [Mutex] isItemNotified: user_regularpwd6490202@test-domain.com:message:received:content_scsbbb0207 :: false 2021-01-27 21:28:26 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_scsbbb0207 :: true |