Test duration : 44.942s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.641s |
2021-06-25 07:48:22 |
2021-06-25 07:48:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-06-25 07:48:22 | ------------------------------------ 2021-06-25 07:48:22 | [Mutex] isItemNotified: node_y6jlz20203:exists :: false 2021-06-25 07:48:22 | [Mutex] waiting for: [node_y6jlz20203:create_node] 2021-06-25 07:48:22 | [Mutex] received everything. 2021-06-25 07:48:22 | [Mutex] isItemNotified: node_y6jlz20203:create_node:success :: true 2021-06-25 07:48:22 | [Mutex] waiting for: [node_y6jlz20203:subscribe_node] 2021-06-25 07:48:22 | [Mutex] waiting for: [node_y6jlz20203:subscribe_node] 2021-06-25 07:48:22 | [Mutex] received everything. 2021-06-25 07:48:22 | [Mutex] isItemNotified: node_y6jlz20203:subscribe_node:success :: true 2021-06-25 07:48:22 | ===== publishing normal message (to online) 2021-06-25 07:48:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-25 07:48:22 | command: <data><node>node_y6jlz20203</node><entry><content>content_simaa00204</content></entry></data> 2021-06-25 07:48:22 | target: http://localhost:8088 2021-06-25 07:48:22 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-06-25 07:48:22 | entity: <data><node>node_y6jlz20203</node><entry><content>content_simaa00204</content></entry></data> 2021-06-25 07:48:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Jun 2021 14:48:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-25 07:48:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>14655857-637a-4d44-b9dd-612923cedb62</value></item-id></result> 2021-06-25 07:48:22 | contains: true 2021-06-25 07:48:22 | [Mutex] received everything. 2021-06-25 07:48:22 | [Mutex] isItemNotified: user_regular8814730202@test-domain.com:message:received:content_simaa00204 :: true 2021-06-25 07:48:22 | ===== publishing already old message - expecting message being filtered out (to online) 2021-06-25 07:48:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-25 07:48:22 | command: <data><node>node_y6jlz20203</node><expire-at>2021-06-25T14:48:17Z</expire-at><entry><content>content_mcltuq0205</content></entry></data> 2021-06-25 07:48:22 | target: http://localhost:8088 2021-06-25 07:48:22 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-06-25 07:48:22 | entity: <data><node>node_y6jlz20203</node><expire-at>2021-06-25T14:48:17Z</expire-at><entry><content>content_mcltuq0205</content></entry></data> 2021-06-25 07:48:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Jun 2021 14:48:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-25 07:48:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>919e9271-eea2-4819-8474-29345ef05d21</value></item-id></result> 2021-06-25 07:48:22 | contains: true 2021-06-25 07:48:22 | [Mutex] waiting for: [user_regular8814730202@test-domain.com:message:received:content_mcltuq0205] 2021-06-25 07:48:37 | [Mutex] timeout. Not received [user_regular8814730202@test-domain.com:message:received:content_mcltuq0205] 2021-06-25 07:48:37 | [Mutex] isItemNotified: user_regular8814730202@test-domain.com:message:received:content_mcltuq0205 :: false 2021-06-25 07:48:37 | ===== publishing normal message (to offline) 2021-06-25 07:48:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-25 07:48:37 | command: <data><node>node_y6jlz20203</node><entry><content>content_xt5q6n0206</content></entry></data> 2021-06-25 07:48:37 | target: http://localhost:8088 2021-06-25 07:48:37 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-06-25 07:48:37 | entity: <data><node>node_y6jlz20203</node><entry><content>content_xt5q6n0206</content></entry></data> 2021-06-25 07:48:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Jun 2021 14:48:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-25 07:48:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6634c585-0955-4e8d-ab87-d49090ad9fd4</value></item-id></result> 2021-06-25 07:48:37 | contains: true 2021-06-25 07:48:42 | [Mutex] waiting for: [user_regular8814730202@test-domain.com:message:received:content_xt5q6n0206] 2021-06-25 07:48:42 | [Mutex] received everything. 2021-06-25 07:48:42 | [Mutex] isItemNotified: user_regular8814730202@test-domain.com:message:received:content_xt5q6n0206 :: true 2021-06-25 07:48:42 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-06-25 07:48:42 | [Mutex] received everything. 2021-06-25 07:48:42 | [Mutex] isItemNotified: node_y6jlz20203:subscribe_node:success :: true 2021-06-25 07:48:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-25 07:48:42 | command: <data><node>node_y6jlz20203</node><expire-at>2021-06-25T14:48:47Z</expire-at><entry><content>content_yxq6v00207</content></entry></data> 2021-06-25 07:48:42 | target: http://localhost:8088 2021-06-25 07:48:42 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-06-25 07:48:42 | entity: <data><node>node_y6jlz20203</node><expire-at>2021-06-25T14:48:47Z</expire-at><entry><content>content_yxq6v00207</content></entry></data> 2021-06-25 07:48:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Jun 2021 14:48:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-25 07:48:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6df9ab02-1309-4ae1-a42b-1385f0fdf511</value></item-id></result> 2021-06-25 07:48:42 | contains: true 2021-06-25 07:48:51 | [Mutex] waiting for: [user_regular8814730202@test-domain.com:message:received:content_yxq6v00207] 2021-06-25 07:49:06 | [Mutex] timeout. Not received [user_regular8814730202@test-domain.com:message:received:content_yxq6v00207] 2021-06-25 07:49:06 | [Mutex] received everything. 2021-06-25 07:49:06 | [Mutex] isItemNotified: user_regular8814730202@test-domain.com:message:received:content_yxq6v00207 :: false 2021-06-25 07:49:06 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_yxq6v00207 :: true |